Hi
The devices that lists work great, but I have more devices (4 pcs of “square” type buttons) that are paried and working in the android app. They work in automations in the android app (tried ringbell, light control etc), but they just won’t list in HA.
So, I can’t see or use them in HA even though they seem to work well in the app.
i have already bought 4 switch wireless buttons and was planning to buy more xiaomi kit e.g. PIR, Gas and Door sensors but this has put me off. Will be brilliant if it can work. I have only registered two wireless switches in the gateway and they are working fine otherwise but not appearing in Hass as binary sensors. What is strange is that yesterday i did see them being detected as binary sensors and i thought the new update fixed the issue. But i had to switch my sd card (in raspberry pi). and after a fresh hassio install the problem reappeared. in fact, even putting back the old sd card dint help.
i do get heartbeats from these buttons everyonce in a while seeing the log but no corresponding entity ids are available. i have tried everything.
Could you describe/name your network components (switches, accesspoints,…) between Xiaomi Gateway and your Home Assistant instance? Please try to setup a very basic network for testing (xiaomi gateway ↔ accesspoint ↔ hassio). Try to use another accesspoint as the current one.
i have a router from Vodafone. Hassio on Raspberry pi is connected to a repeater in my kitchen and the gateway is connected to a different repeater upstairs. could this complicated setup be the reason?
raspberry pi (Hassio) <–> xiaomi mini repeater <–> Vodafone router <–> xiaomi router (as repeater) 3 <–> xiaomi gateway.
you were right connected them (RPI_Hassio and xiaomi gateway) on the main router and though first time it was same but a second reboot fixed it. cant thank you enough. now doing the automation to link stuff with these buttons.
Update: i still sometimes get the same error when Hassio is reastarted but restarting my router (vodafone broadband) and then the rpi (hosting hassio) fixes it.
Hi there!
Starting from yesterday i have a strange problem with my gateway. Every time i try to turn on/off the gateway light or change the color via Home Assistant, the homeassistant service gets killed and it gives me the error "Failed to call service homeasistant/turn_on ". The same thing happens when I try to turn on/off (via HASS) the Xiaomi smart plug attached to the gateway.
The gateway seems to be configured ok, because the xiaomi smart button is working fine with my hass automation and the status/color of the gateway and smart plug is reported correctly.
Here is my config:
I also reset the gateway several times with no success…
I noticed that if i start manually the hass app (not as a service) before it crashes it is reporting Illegal instruction.
Do you have any idea what else should i try in order to identify the problem?
[Update] Problem solved after a fresh install of HomeAssistant.
was forced to reset the gateway … a pain
now need a new Key , but i keep getting a timeout from the chinese mainland server when i try and confirm the key via the app
anyone else had this problem ?
i had 5 motion sensors , 3 switches and 3 door sensor all working fine,
now i can not get the app to issue a new key !!!
I do get a key, not working though…
Got error element in data {“error”:“Invalid key”}
11:52 AM components/light/xiaomi_aqara.py (ERROR)
Latest firmware and Hass. Sensors show up, stops updating after one hour. Hass restart works. The gateway light does switch, it does not send any status to Hass.
Hi, everybody. I have a xiaomi gateway (sw 1.4.1_156.0143), I have a token from it (32 characters). How to make it a key (no more than 16 characters) to add to HA.
Itself asked, itself answered. In any version of the MiHome application, the old procedure for activating the wireless connection Protocol and obtaining an access key works.