Zigate , devices in status left after restart domoticz

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
mcmikev
Posts: 146
Joined: Tuesday 26 May 2015 8:11
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: right here
Contact:

Zigate , devices in status left after restart domoticz

Post by mcmikev »

Hi,

I run the beta plugin zigate and have some weird behavior. (just did git pull yesterday)
When I start my Pi (rpi3) then zigate starts and does not show all my devices. (read list at startup). Devices are in Left status.
When I press the button on my missings temp/hum/baro sensors (xiaomi) then they come back online again.

Then when I reboot the pi or restart domoticz again, the same issue happens again, but then it could be a other device that is gone.
Red lines in the log show up then informing about unrecognized device etc.

Here a part of the log (ps: domoticz is build from source and is version V4.10411)

Code: Select all

2019-02-07 11:51:19.380 (Zigate) processListOfDevices - Device: 28d4 is in Status = 'Left' for 83952HB
2019-02-07 11:51:39.383 (Zigate) Update v2 Values 0:'20.7;43.7;1;1002.3;3:' (Zigate - THB Woonkamer)
2019-02-07 11:51:39.404 (Zigate) Update v2 Values 0:'20.7;43.7;1:' (Zigate - TH Woonkamer)
2019-02-07 11:51:39.477 (Zigate) Update v2 Values 20.7:'20.7:' (Zigate - T Woonkamer)
2019-02-07 11:51:39.481 (Zigate) Update v2 Values 0:'20.7;43.8;1;1002.3;3:' (Zigate - THB Woonkamer)
2019-02-07 11:51:39.510 (Zigate) Update v2 Values 0:'20.7;43.8;1:' (Zigate - TH Woonkamer)
2019-02-07 11:51:39.538 (Zigate) Out of sequence for Device: e948 SQN move from 20 to b7 gap of : 151
2019-02-07 11:51:39.539 (Zigate) Update v2 Values 0:'20.6;40.4;1;1002.3;3:' (Zigate - THB Gang)
2019-02-07 11:51:39.558 (Zigate) Update v2 Values 0:'20.6;40.4;1:' (Zigate - TH Gang)
2019-02-07 11:51:39.572 (Zigate) Update v2 Values 20.6:'20.6:' (Zigate - T Gang)
2019-02-07 11:51:39.575 (Zigate) Update v2 Values 0:'20.6;40.3;1;1002.3;3:' (Zigate - THB Gang)
2019-02-07 11:51:39.590 (Zigate) Update v2 Values 0:'20.6;40.3;1:' (Zigate - TH Gang)
2019-02-07 11:51:39.607 (Zigate) Update v2 Values 0:'20.6;40.3;1;1002;3:' (Zigate - THB Gang)
2019-02-07 11:51:39.619 (Zigate) Update v2 Values 0:'1002;3:' (Zigate - B Gang)
2019-02-07 11:51:39.622 (Zigate) Update v2 Values 0:'20.6;40.3;1;1002.2;3:' (Zigate - THB Gang)
2019-02-07 11:51:39.650 (Zigate) Update v2 Values 0:'1002.2;3:' (Zigate - B Gang)
2019-02-07 11:52:39.084 (Zigate) processListOfDevices - Device: f875 is in Status = 'Left' for 83952HB
2019-02-07 11:53:11.326 (Zigate) Update v2 Values 0:'19.7;45.3;1;1001.9;3:' (Zigate - THB Jennifer)
2019-02-07 11:53:11.346 (Zigate) Update v2 Values 0:'19.7;45.3;1:' (Zigate - TH Jennifer)
2019-02-07 11:53:11.406 (Zigate) Update v2 Values 19.7:'19.7:' (Zigate - T Jennifer)
2019-02-07 11:53:11.414 (Zigate) Update v2 Values 0:'19.7;45.2;1;1001.9;3:' (Zigate - THB Jennifer)
2019-02-07 11:53:11.457 (Zigate) Update v2 Values 0:'19.7;45.2;1:' (Zigate - TH Jennifer)
2019-02-07 11:53:11.481 (Zigate) Update v2 Values 0:'19.7;45.2;1;1001;3:' (Zigate - THB Jennifer)
2019-02-07 11:53:11.499 (Zigate) Update v2 Values 0:'1001;3:' (Zigate - B Jennifer)
2019-02-07 11:53:11.505 (Zigate) Update v2 Values 0:'19.7;45.2;1;1001.6;3:' (Zigate - THB Jennifer)
2019-02-07 11:53:11.516 (Zigate) Update v2 Values 0:'1001.6;3:' (Zigate - B Jennifer)
2019-02-07 11:53:33.770 (Zigate) processListOfDevices - Device: 08fc is in Status = 'Left' for 83988HB
Is this a setting that I can tweak? How to prevent this behavior after a reboot/restart? I need to press the buttons again, but when I do not restart/reboot the device keeps working perfectly.

I also have 3 wall sockets that act as router and everything works fine, until reboot/restart

Any help is welcome ;-)
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate , devices in status left after restart domoticz

Post by pipiche »

Which Firmware version of Zigate are you running ?
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
mcmikev
Posts: 146
Joined: Tuesday 26 May 2015 8:11
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: right here
Contact:

Re: Zigate , devices in status left after restart domoticz

Post by mcmikev »

3.0e
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate , devices in status left after restart domoticz

Post by pipiche »

That is the issue. It looks like Zigate is loosing Xiaomi devices at reboot or power off/on time.
This is fixed by a pre-3.0f available here : https://github.com/fairecasoimeme/ZiGat ... elease.bin

This will require you an erase of the PDM/EPROM and so to re-do the pairing.

We are waiting for a full release 3.0f during the weekend or next week. So either you wait a bit and you will have to do the flash + repair once.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
mcmikev
Posts: 146
Joined: Tuesday 26 May 2015 8:11
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: right here
Contact:

Re: Zigate , devices in status left after restart domoticz

Post by mcmikev »

I wait then a bit.
mcmikev
Posts: 146
Joined: Tuesday 26 May 2015 8:11
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: right here
Contact:

Re: Zigate , devices in status left after restart domoticz

Post by mcmikev »

When using the pre-release you have to do these steps but also again then when the final version is out?
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate , devices in status left after restart domoticz

Post by pipiche »

mcmikev wrote: Thursday 07 February 2019 14:53 When using the pre-release you have to do these steps but also again then when the final version is out?
this is correct
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
mcmikev
Posts: 146
Joined: Tuesday 26 May 2015 8:11
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: right here
Contact:

Re: Zigate , devices in status left after restart domoticz

Post by mcmikev »

Thx for the reply’s

Hopefully it will be this weekend

mcmikev
Posts: 146
Joined: Tuesday 26 May 2015 8:11
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: right here
Contact:

Re: Zigate , devices in status left after restart domoticz

Post by mcmikev »

I see the new 3.0f firmware is available. Will do some testing later on!!

https://github.com/fairecasoimeme/ZiGate/releases/
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate , devices in status left after restart domoticz

Post by pipiche »

Yep. That the place to go. You'll have to Erase PDM and so to re-do all pairing, but without doing anything on Domoticz/Plugin database side, so all widget will be reconnected.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
mcmikev
Posts: 146
Joined: Tuesday 26 May 2015 8:11
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: right here
Contact:

Re: Zigate , devices in status left after restart domoticz

Post by mcmikev »

Upgraded the firmware to 3.0f and plugin to pre-4.1 and re-added all the devices. Now I have to find a moment to reboot/restart domoticz and see If it keeps working :-)
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate , devices in status left after restart domoticz

Post by pipiche »

And then if you have Bulb, you will be able to play with Group Management ;-)
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest