homeassistant-zigate icon indicating copy to clipboard operation
homeassistant-zigate copied to clipboard

Reset everything on Home Assistant

Open TarikTS opened this issue 5 years ago • 2 comments

Hi, after adding Ikea tradfi bulbs using zigate method (Zigate permit join / On-off 6 times the bulb). My lamp worked perfectly by using home assistant. I wanted to try by adding the Ikea dimmer to the zigate as well. No problems with that.

After that, i did the joining between the dimmer and the light by pressing the join button on the dimmer close to the light. After several tries, it worked

I wanted to try if the light was still available with the dimmer even when the raspberry is switched off and now i have a problem as the Ikea light doesn’t update its status on Hass.

I’ve tried by doing discovery and refresh devices but it doesn’t seems to work. The Bulb can be controlled by the dimmer in Hass but doesn’t update the status on the toogle switch as well as when i try to switch on by the toggle switch, it passes on and 2 seconds later, it passes off and the light is switched on but always at low luminosity.

I want to reset everything on the zigate in order to do a fresh inclusion of all my devices (Aqara devices + lights).

I tried to do a zigate.reset on Hass but it doesn’t seem to work as all my xiaomi devices are still updated.

Is there a way in Hass or in Zigate config files to remove all the stored devices to add them again properly (BTW, where the devices are stored ? On the zigate or on the Zigate config files ?)

Last question but only for my knowledge, If i add the devices on hass and i want to switch the zigate to domoticz. Do i have to perform the permit_join again on domoticz or the devices will be added automatically

Thanks

TarikTS avatar Jun 26 '19 10:06 TarikTS

I suppose when you pair the dimmer to the bulb you just break the link with the zigate but not sure. Another point is, maybe I'm wrong, if you poweroff the zigate, the zigbee network is down so nothing can work.

If you want to erase everything to have a fresh zigate, you have to call erase persistent command 0x0012 using zigate.raw_command. You have to delete the zigate.json file too

zigate.reset is a reboot of the key, nothing is lost.

If you switch to domoticz, your devices are still paired to the zigate so no need to perform a permit_join. But some informations are retrieved at pairing time so Domoticz could be a bit lost

doudz avatar Jun 26 '19 11:06 doudz

Thanks a lot I will try that. There is an article here https://faire-ca-soi-meme.fr/zigate/2017/11/27/maitrisez-vos-ampoules-zigbee/ regarding the fact that if both the dimmer and the light are in the same zigbee network. Then they can be controlled by software and Hardware. I will give it a try as well..

TarikTS avatar Jun 26 '19 15:06 TarikTS