I have the exact same problem with my xbee coordinator. It had been running perfectly fine on the M7 test release and I thought it would be fine to update to the 2.4 official release.
Since then I have the exact same problem as you have @stephanSH, the XBee Coordinator stays as Unknown. That’s very strange that this has changed between these 2 (quite similar - I haven’t checked the code though) versions !
Thanks for the fast answer @chris. Quick question though: the script somehow tries to install the ZSS libraries for a 2.5.0 snapshot. I am however still running 2.4.0 but I guess it shouldn’t be a problem.
openhab> list -s | grep zig
273 │ Active │ 80 │ 1.1.7 │ com.zsmartsystems.zigbee.dongle.telegesis
274 │ Active │ 80 │ 2.5.0.201812170851 │ org.openhab.binding.zigbee
275 │ Active │ 80 │ 1.1.7 │ com.zsmartsystems.zigbee.dongle.cc2531
276 │ Active │ 80 │ 2.5.0.201812170851 │ org.openhab.binding.zigbee.xbee
277 │ Active │ 80 │ 1.1.7 │ com.zsmartsystems.zigbee.dongle.xbee
278 │ Active │ 80 │ 2.5.0.201812170851 │ org.openhab.binding.zigbee.cc2531
279 │ Active │ 80 │ 1.1.7 │ com.zsmartsystems.zigbee
280 │ Active │ 80 │ 1.1.7 │ com.zsmartsystems.zigbee.dongle.ember
281 │ Active │ 80 │ 2.5.0.201812170851 │ org.openhab.binding.zigbee.ember
282 │ Active │ 80 │ 2.5.0.201812170851 │ org.openhab.binding.zigbee.telegesis
I’m not familiar with Scotts script - I thought it should allow you to use 2.4 with 1.1.7. I can confirm that the versions are compatible, so if the script allows it, then it should work (@5iver might comment here).
The manual install script will install the current snapshot build with the libraries used in the snapshot or the current development versions. There is no option to use stable release binding with development libraries.
That wasn’t a negative (sorry). I just tend to manually compile and install things here, but the script is super useful which is why I keep recommending it .
I just updated oh 2.4 to the 1.1.7 libraries and 30 minutes after reboot my zigbee traffic is still out of control … it constantly has double digit queue numbers. Towards the end it finally started catching up but then started going crazy again with no actions on my part. I’ve noticed that the last few library versions have seemed to do this… Everything will be responsive for me until all of a sudden it all goes haywire again and commands take forever to go out due to the queue being so hi. Any ideas? I recently deleted all of my things and re-added them… should i have completely removed the zigbee database files as well?
Hi Valentin,
sorry but as always chris was faster to answer…
He also helped me a lot by recommending the script from 5iver.
some comments about the changes (I didn’t know that before):
using ubuntu server 18.04 requires the installation of curl before using the script
the actual version of ${ZSMARTSYSTEMS_VERSION} is 1.1.7
after updating with the script I had to remove the old zigbee binding (installed through PaperUI) manually with karaf (list |grep -i zig; bundle:uninstall xxx;). before I had similar problems like jfrank1845 described…
I had to add transport serial manually (feature:install openhab-transport-serial;)
to start transport serial again after a restart I had to add it to addons.cfg (see manual install addons OH) which was never necessary before
Now everything works fine again. Hope that might help others
There is a known issue with reasonably large networks that I’m hopeful will be resolved with a new (so called) transaction manager which will try and better manage the queues. At the moment, there is no management - different tasks can just send stuff when they like, and it will get queued at the lowest level. It doesn’t respect requirements on communicating with battery devices, and it can cause big issues. Your network is reasonably large from memory. This is something I’m currently working on and I hope in the coming days to have the first part of this ready (this doesn’t really manage the queue, but it will use the responses from the dongle to allow messages to be timed out quicker which will still help quite a bit I think).
I noticed the other day (I think when reviewing one of your logs) that some messages were being queued twice. This may well be something that was added recently as the libraries were restructured slightly to make it more configurable for different applications, and the discovery mechanism (which is where I saw the duplication) was moved around. I plan to look at this over the next few days as well.
(I’ve not downloaded your log yet, but if possible, can you keep the size to 10MB please - above that my ageing Mac has trouble processing the logs through my web based log viewer and your previous log was 16MB and it took a small age to load! I’m hoping Santa may bring me a new Mac Thanks).
Ah yes. I probably have about 25 Zigbee devices at current . Regarding the logs (and I apologize because I’m sure it’s probably somewhere up here already but I tried and failed …) does anyone on this thread have any idea of how I can set openHAB up to log Zigbee to its own file / set the rollover file size to be the smaller size you requested? I never really got the separated file logging to work yet and I’d love to just leave this in debug all the time.
By the way - were you able to see anything about that active power channel from the logs of my fresh 2.3 install where it somehow works? I’ve got a separate install that I can do whatever with to help assist in that resolution.
I can’t really explain it - by which I mean I can’t see where the change was made. However, the attribute was changed at some point from “Total Active Power” to “Active Power”.
I can’t find anywhere that this was changed, but clearly something did somewhere. With the previous version - was that the 2.3 release or something else?
Still need some help:
I uninstalled the ZigBee Binding.
I deleted all ZigBee items in the jsondb files.
I installed new bindings by zzManualInstall.sh.
I added the dongle and the power outlets as new items.
In Paper UI everything is shown as up and running but the switches still don’t work!!
=> Error 0xffff setting server binding (see OpenHAB-Log)
These jar files are part of the addons folder:
com.zsmartsystems.zigbee-1.1.6.jar
com.zsmartsystems.zigbee.dongle.telegesis-1.1.7.jar
org.openhab.binding.zigbee-2.5.0-SNAPSHOT.jar
org.openhab.binding.zigbee.telegesis-2.5.0-SNAPSHOT.jar
2018-12-21 23:49:25.366 [me.event.ThingUpdatedEvent] - Thing ‘zigbee:device:000001A5:84182600000ee4c8’ has been updated.
2018-12-21 23:49:25.577 [me.event.ThingUpdatedEvent] - Thing ‘zigbee:device:000001A5:7cb03eaa00ad0ac2’ has been updated.
2018-12-21 23:49:26.899 [me.event.ThingUpdatedEvent] - Thing ‘zigbee:device:000001A5:7cb03eaa00aced53’ has been updated.
2018-12-21 23:49:34.888 [me.event.ThingUpdatedEvent] - Thing ‘zigbee:device:000001A5:7cb03eaa00ad4f4a’ has been updated.
2018-12-21 23:49:47.581 [hingStatusInfoChangedEvent] - ‘zigbee:device:000001A5:84182600000ee4c8’ changed from UNKNOWN to ONLINE
2018-12-21 23:49:47.700 [me.event.ThingUpdatedEvent] - Thing ‘zigbee:device:000001A5:84182600000ee4c8’ has been updated.
2018-12-21 23:49:48.070 [hingStatusInfoChangedEvent] - ‘zigbee:device:000001A5:7cb03eaa00aced53’ changed from UNKNOWN to ONLINE
2018-12-21 23:49:48.308 [me.event.ThingUpdatedEvent] - Thing ‘zigbee:device:000001A5:7cb03eaa00aced53’ has been updated.
2018-12-21 23:49:48.330 [hingStatusInfoChangedEvent] - ‘zigbee:device:000001A5:7cb03eaa00ad0ac2’ changed from UNKNOWN to ONLINE
2018-12-21 23:49:48.483 [me.event.ThingUpdatedEvent] - Thing ‘zigbee:device:000001A5:7cb03eaa00ad0ac2’ has been updated.
2018-12-21 23:49:51.995 [hingStatusInfoChangedEvent] - ‘zigbee:device:000001A5:7cb03eaa00ad4f4a’ changed from UNKNOWN to ONLINE
Hey guys. I have read most of this thread, and that made me buy a compatible usb stick. (EZBUSBA, Elelabs based on EM358 SiLabs chip) I’m having some issues with my Xiaomi sensors. Seems like my Aqara sensors (lumi.weather) are dropping of the network after an hour or so. I saw this was mentioned briefly here but I didnt find/understand a solution for this? I didnt get a battery value either, is this a work in progress?
Just tell me if I can do something to help, im not having any sniffers or something but im running openhab 2.4 (stable) in docker on a rpi3.
EDIT: Uploaded a log from openhab.log with debug info. Paring , some button presses with aqara button. Then after a few minutes something happens. The log reads “device left” i saw. It’s the only device paried with my stick.
If I remember correctly, there were reports that the Aquaria devices may become disconnected, and they don’t like routers (I recall reading this on the ST forum). It’s probably pretty hard to tell without a sniffer log, but if you provide the debug log I will take a look to see if there is anything notable logged.
I had the same issue with the Plugwise Binding and it turned out to be due to the deprecation of the ExtendedDiscoveryService. As a result during background discovery it starts querying all (offline) devices. Disabling background discovery could be a workaround for now.
The following bindings may now have these issues: Air Visual Node, Amazon Echo Control, EnOcean, MiHome, LIRC, Plugwise, RFXCom, SomfyTahoma, Zoneminder, ZigBee, Z-Wave
Here’s a log file shared with onedrive. I have made comments in a few places. Just search for ```
and you will find it. But basically I pair the device, it works, then the binding starts to poll it and does some kind of neighbor check. It dosent respond (cause it’s a battery device). It still works though. But when i press the small button on the Aqara switch 2, the device leave the network immediately. And the binding still try to poll it.