Are Zigbee green power devices supported? Specifically is there support for the Hue Tap?
No - not at the moment.
Do you know if adding support for it is a matter of adding code to the
binding or whether itās lower down in stack (ex. Zigbee firmware layer)?
Iām not (yet) familiar with openHAB development but Iām pretty comfortable
with Java, so if itās at the binding later Iād be interested in attempting
to add support.
It definitely requires specific versions of firmware, but at least some versions do support this. The latest Silabs firmware supports GP proxy (5.8 or 5.9 has it) and I think the very latest TI firmware also supports it.
I bought a Hue Tap a while back with a view to adding this, but Iām suspicious that itās not working (since my professional protocol sniffer doesnāt see it, and it should).
If you want to look at adding support for GP, then you should in the first instance look at adding support to the framework.
Thanks! I have the TI CC2531 and the debugger so I can flash different firmware on. My Hue Taps are definitely functional (currently talking to a Hue bridge). If you know specifically which firmware I need to flash thatād be really appreciated - in the past Iāve found hunting down TI firmware to be a real pain.
I donāt know the specifics of TI - I normally develop with Silabs, but I did see an announcement that their latest stack for ZB3 included GP, but I donāt have a pointer. I guess if you just go to their ZStack homepage you should be able to download the link.
One issue though is normally TI provide their stuff in a Windows installer package - not so nice if you donāt use Windoze.
Hi Chris,
As told before i have some Xiaomi temperature devices, but they donāt work with the zigbee binding and the TI CC2531 USB.
Today after ordering it , my Xiaomi Gateway 2 arrives and with the Xiaomi binding de temperature sensor works great as expected.
I have also a cc2531 debug USB stick.
If i start a debug with the USB device and log all action when i learn the temperature sensor on the xiaomi gateway and aslo the normal operation can you take a look at it?
Maybe you can see what the problem with the zigbee binding?
It would be great if also the Xiaomi Devices will work with te binding,
Let me know, thanks in advance.
Mickel
I do have some Xiaomi devices here and will take a look at these when I get a chance. Itās worth noting though that the Xiaomi devices are not Zigbee compliant - they use Zigbee like communications, and 802.15.4, but that doesnāt make them compliant. Iāve seen other notes on the net that they donāt work with other Zigbee gateways such as SmartThings.
Thatās not to say itās not possible, and I do intend to see if itās possible to make it work, but please be aware it may not be possible if the Xiaomi sensors donāt fully implement Zigbee protocols.
Iām not sure that logging USB traffic will help too much though - Iād probably need to see a sniffer log.
When changing the coordinatorās (Ember) channel in both Habmin and PaperUI, I get the following errors. Also, what is the purpose of the Reset Controller field?
2017-07-31 05:40:54.170 [ZigBeeCoordinatorHandler ] - 000D6F000B29A0CB: Configuration received (Coordinator).
2017-07-31 05:40:54.171 [ZigBeeCoordinatorHandler ] - 000D6F000B29A0CB: Unhandled configuration parameter zigbee_port.
2017-07-31 05:40:54.172 [ZigBeeCoordinatorHandler ] - 000D6F000B29A0CB: Unhandled configuration parameter zigbee_channel.
2017-07-31 05:40:54.173 [ZigBeeCoordinatorHandler ] - 000D6F000B29A0CB: Unhandled configuration parameter zigbee_initialise.
2017-07-31 05:40:54.174 [ZigBeeCoordinatorHandler ] - 000D6F000B29A0CB: Unhandled configuration parameter zigbee_panid.
2017-07-31 05:40:54.174 [ZigBeeCoordinatorHandler ] - 000D6F000B29A0CB: Unhandled configuration parameter zigbee_macaddress.
2017-07-31 05:40:54.175 [ZigBeeCoordinatorHandler ] - 000D6F000B29A0CB: Unhandled configuration parameter zigbee_extendedpanid.
2017-07-31 05:40:54.176 [ZigBeeCoordinatorHandler ] - 000D6F000B29A0CB: Unhandled configuration parameter zigbee_networkkey.
Configuration isnāt handled at that point - it only gets handled when the handler restarts. Iāll remove the log entry - but it wonāt change anything.
It will reinitialise the coordinator - this makes changes to the coordinator configuration such as the PAN Id, EPAN Id, channel, etc. Otherwise the startup will just use the existing parameters.
Correction⦠when I make changes in PaperUI, I get the errors above. When I do it in Habmin, I get the following whether I set Reset Controller to true or not
2017-08-01 04:03:14.596 [ZigBeeCoordinatorHandler ] - 000D6F000B29A0CB: Configuration received (Coordinator).
2017-08-01 04:03:14.596 [ZigBeeCoordinatorHandler ] - 000D6F000B29A0CB: Unhandled configuration parameter zigbee_channel.
Iām not sure I have this yet. If Reset Controller is false, will changes to the coordinator be saved and applied after the next startup⦠and if it is true, then the coordinator will restart immediately and apply the changes?
Thatās just because PaperUI always updates every parameter, and HABmin only sends updates to parameters that have changed. This is one reason I donāt suggest to use PaperUI for this on ZWave - you can easily end up with 50 to 100 configuration updates being sent to the device when you change the device name (ie nothing actually changed, but now you have a LOT of configuration to send).
The configuration is only applied at the startup of the thing handler. What I canāt remember is if I restart the thing handler at this point in which case it would be immediate. It should restart immediately - I just have a feeling it might notā¦
If you can see the ports in the system but OH canāt, then my guess would be permissions. This may help:
That is a very handy thing to know, thank you!
When Reset Controller was false, none of the configuration changes were being saved in Habmin or PaperUI. When Reset Controller was true, PaperUI did not save the changes and did not restart the controller (or thing handler). Habmin did try to restart it, but then the binding was stuck in a loop of errors. Iām packing up the logs for you. Looks like the same errors I was seeing when restarting the binding. After I restarted OH, the changes to the settings Iād made were not applied. So, configuration changes did not save when Reset Controller was true or false.
I donāt think Reset is the best word to use here. And itās a little scary too. Maybe changing Reset to Restart would work better?
Strange - I donāt know why there would be any difference, and I canāt see any way that the configuration wonāt be saved. The method in the binding is very short and unless thereās an exception thrown, thereās no exit point that doesnāt save the configuration.
Well, it resets the controller if you change the parameters. Itās likely that it will scrub the network and all associations (it might depend slightly on the stick used - TI Iām sure will completely reset - Ember might save some configuration).
It is scary stuff - avoid doing it . If thereās some configuration that needs to change outside of this then we could look at it - channel might be a valid need, but anything else WILL need to reset the stick as you canāt change the PAN ids, mac address etc on a running network.
Neither PaperUI nor Habmin is saving the changes for me, so thereās no difference. Iāve tried now many times, but with no success. The binding only seemed to try to restart (but crashed) the one time (I opened a ticket and sent you the log).
The only setting Iām trying to change is the channel . The EZSP_ENERGY_SCAN in the log shows a better channel than what Iāve selected, so I thought Iād try it to see if my bulbs would stop dropping.
I expect the configuration is being saved - I canāt really see how it canāt be saved assuming itās getting into the binding. However, when the binding starts it reads the configuration from the stick, and updates it so that the configuration you see in the UI is consistent with the stick configuration.
Excellent. That worked, but now I canāt get anything to join.
Iām using the Paper UI, and when I set the āEnable Joiningā toggle and save, it just comes back as zigbee_permitjoining=false. And itās not just the UI, the lightbulbs wonāt join.
18:47:58.807 [WARN ] [bee.handler.ZigBeeCoordinatorHandler] - 000D6F000B1311ED: Unhandled configuration parameter zigbee_port.
18:47:58.813 [WARN ] [bee.handler.ZigBeeCoordinatorHandler] - 000D6F000B1311ED: Unhandled configuration parameter zigbee_channel.
18:47:58.829 [WARN ] [bee.handler.ZigBeeCoordinatorHandler] - 000D6F000B1311ED: Unhandled configuration parameter zigbee_initialise.
18:47:58.834 [WARN ] [bee.handler.ZigBeeCoordinatorHandler] - 000D6F000B1311ED: Unhandled configuration parameter zigbee_panid.
18:47:58.849 [WARN ] [bee.handler.ZigBeeCoordinatorHandler] - 000D6F000B1311ED: Unhandled configuration parameter zigbee_macaddress.
18:47:58.870 [WARN ] [bee.handler.ZigBeeCoordinatorHandler] - 000D6F000B1311ED: Unhandled configuration parameter zigbee_extendedpanid.
18:47:58.880 [WARN ] [bee.handler.ZigBeeCoordinatorHandler] - 000D6F000B1311ED: Unhandled configuration parameter zigbee_networkkey.
18:47:59.026 [INFO ] [smarthome.event.ThingUpdatedEvent ] - Thing 'zigbee:coordinator_ember:40ee21c9' has been updated.
I donāt suppose this is related to the latest posts?
PaperUI should work for discovery, but I think Habmin is better organized for it. Try starting discovery for the Zigbee binding from Habminā¦
Or the big blue button in Paper UIā¦
Ah, there is apparently a blink pattern not mentioned in the bulb manual that does not mean ready to join.
Thank you for all your help.