Core: Xiaomi Gateway (Aqara) integration fails to discover Gateway

Created on 6 Aug 2020  路  74Comments  路  Source: home-assistant/core

The problem


Hi there, trying to use the Xiaomi Gateway (Aqara) integration that supports all my sensors and my Gateway.
The integration " Xiaomi Gateway (Aqara)" cannot be setup due to the fact that it doesn't discover the Gateway.
When I select the integration, the prompt asks:

"Xiaomi Aqara Gateway
Connect to your Xiaomi Aqara Gateway
The network interface to use
"any"

Tried to use "any" and get the error: "Failed to discover a Xiaomi Aqara Gateway, try using the IP of the device running HomeAssistant as interface"
or my HA IP address and get the error: "Unknown error occurred" and "Failed to discover a Xiaomi Aqara Gateway, try using the IP of the device running HomeAssistant as interface"
or the Gateway's IP address and get the error: "Unknown error occurred" and "Failed to discover a Xiaomi Aqara Gateway, try using the IP of the device running HomeAssistant as interface"

Can you please provide help with the issue?
If I can help, I would be happy to contribute to the solution of the issue.
Many people have the same issue and trying to find out a way to solve it.
Some have mentioned that the HA 0.111 was the last version that the integration worked as it should.
I cannot verify that as I'm fairly new to HA.

@danielhiversen @syssi

Sensors:
Mi motion sensor (Model: lumi.sensor_motion.v2)
Mi Door/Window Sensor (Model: lumi.sensor_magnet.v2)
Mi Wireless button (Model: lumi.sensor_switch.v2)
Gateway:
lumi.gateway.v3-MW300
by Xiaomi
Firmware: 1.4.1_176 (Latest)

Environment

  • Home Assistant Core release with the issue: Home Assistant 0.113.3
  • Last working Home Assistant Core release (if known): -
  • Operating environment (OS/Container/Supervised/Core): VM (fresh install) with official QCOW2 image
  • Integration causing this issue: Xiaomi Gateway (Aqara)
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/xiaomi_aqara/

Problem-relevant configuration.yaml

No custom .yaml, all in UI


Traceback/Error logs


Additional information

xiaomi_aqara

Most helpful comment

All 74 comments

Hey there @danielhiversen, @syssi, mind taking a look at this issue as its been labeled with an integration (xiaomi_aqara) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)

Hi all,

Are there any suggestions I could try to get the gateway working?

@syssi @Danielhiversen

Your help would be much appreciated

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arangates picture arangates  路  3Comments

moskovskiy82 picture moskovskiy82  路  3Comments

bdraco picture bdraco  路  3Comments

sh0rez picture sh0rez  路  3Comments

sogeniusio picture sogeniusio  路  3Comments