Motion sensor xiaomi

If I remove the host and mac the gateway disappear in the hasio and in the log appear this missage:

2019-01-04 17:25:02 WARNING (MainThread) [homeassistant.setup] Setup of xiaomi_aq
ara is taking over 10 seconds.
2019-01-04 17:25:44 ERROR (SyncWorker_3) [homeassistant.components.xiaomi_aqara]
No gateway discovered
2019-01-04 17:25:44 ERROR (MainThread) [homeassistant.setup] Setup failed for xia
omi_aqara: Component failed to initialize.

Also I tried some times refreshing the key in the Mi Home and doesnt work neither.

I found this thread: https://community.home-assistant.io/t/xiaomi-motion-sensor-problems/

And I think is the same problem that mine. For two reason:

  • I can not power on the light of gateway because power off itself.
  • The Home assistant doesnt pick up the motion information of sensor and for this reason not change the state.

I will try to fresh install of all devices (HA, gateway, sensors…). But I think is not the solution.

Thank you everybody.