Since I updated the Zigbee binding and lib two days ago, I have had a hell with some of my devices like the Philips Hue Dimmer Switch, Osram powerplug and the Trust motion sensor… The Philips Hue motion sensor have also had a hickup, which I believe is due to running out of battery. I changed the batteries yesterday, and it has been running since.
Yesterday I removed the dimmer switch, Osram plug and the Trust sensor. Today they all are gone again (they still show online, but no reaction anymore).
This problem seem very much like the ones I had several months ago.
When I updated the binding two days ago, something went totally wrong. My Ember dongle wouldnt go online. It said problems with the serial port. Removing the dongle and add it again did not do any good either. I had to restart openhab to get it to run again. Then I had to remove the devices and add them again as well, ofcouse.
After this, I did some testing with a Xiaomi door/window sensor, which didnt work (ofcouse)… I dont know if it´s related, but since then I simly can not add the Trust motion sensor again… It discoveres fine, but never finished the discovery fully… I have tried quite a few times now. No luck…
This is what I´m running right now:
openhab> bundle:list -s |grep -i zig
311 x Active x 80 x 22.214.171.124903170725 x org.openhab.binding.zigbee
312 x Active x 80 x 1.1.6 x com.zsmartsystems.zigbee.dongl
313 x Active x 80 x 126.96.36.199903170725 x org.openhab.binding.zigbee.xbee
314 x Active x 80 x 1.1.6 x com.zsmartsystems.zigbee.dongl
315 x Active x 80 x 188.8.131.52903170725 x org.openhab.binding.zigbee.cc2
316 x Active x 80 x 1.1.6 x com.zsmartsystems.zigbee
317 x Active x 80 x 184.108.40.206903170725 x org.openhab.binding.zigbee.emb
318 x Active x 80 x 1.1.6 x com.zsmartsystems.zigbee.dongl
319 x Active x 80 x 1.1.6 x com.zsmartsystems.zigbee.dongl
320 x Active x 80 x 220.127.116.11903170725 x org.openhab.binding.zigbee.tel
Here is a debug log… Hope it shows something.
The latest triggering from the Trust sensor is at time
01:10:44 21.03.2019 (24 hour format). So somewhere between 01.10.44 and about 08.00 o´clock this sensor stopped responding. I log a postUpdate with time and date, each time a motion sensor is triggering, which is why I know, when the sensor last triggered. I have no idea when the dimmer switch stopped responding nor the Osram plug.
You should be able to find my tries adding the Trust sensor somewhere between 18.00 and 21.00 this evening.
zigbee.rar.txt (229.0 KB)