August 7, 2020, 10:57pm
I just got a cheap Zigbee CC2531 from Ali (
https://fr.aliexpress.com/item/32852226435.html?spm=a2g0s.9042311.0.0.cb846c37OB59WQ) and flashed it with a raspberry following this tuto : https://notenoughtech.com/home-automation/flashing-cc2531-without-cc-debugger/
Everything was fine, I just was not able to find “CC2531ZNP-Prod.hex” but got “CC2531ZNP-with-SBL.hex” and “CC2531ZNP-without-SBL.bin” and use the first one. I dont know if this matter
Anyway, then I moved my USB stick to my Openhab computer that run Windows 10.
I also downloaded the ZigBee binding https://www.openhab.org/addons/bindings/zigbee/ and… get lost.
I have no idea about what to set on the zigbee_port conf
Is this even possible?
Thanks a lot
zigbee2mqtt firmware is not compatible with the standard Zigbee binding.
August 7, 2020, 11:13pm
oh. The link to the firmware was the only thing I did not found so I took the first one that seem to fit my stick.
I got the zigbee key from the https://www.openhab.org/addons/bindings/zigbee/ page itself, but then was a bit lost.
Could you tel me where I can find a valide firmware then? (it is indeed hard to find)
Thanks for this info!
That chip is supported with the proper firmware on it, usually supplied by the manufacturer. You bought a stick that was not initially manufactured as a Zigbee coordinator.
There are people using zigbee2mqtt here with a different binding. I personally mainly ise Z-Wave devices but I work with the person who develops both the zwave & zigbee bindings.
August 7, 2020, 11:22pm
Yeah, I know this is a hack, but I literally use the link into the binding doc to get one.
So if I’m not able to use this hardware with this binding, I hope the doc will be updated at least.
I could deal with a 4$ waste (Already have the rasp and compatible cables)
edit: oh, I just saw the “CC2531 - Firmware” part of the doc… I feel a bit blind right now. I’ll test this
edit2: I have flashed my stick with the exact same firmware that written in the doc, from the exact same package with the exact same version.
But my first question is still here… I dont have any /dev/tty* information to fill as I’m on Windows, and the doc did not give any example for this OS
August 8, 2020, 12:43am
Oh ok, I think I finally find it. The anwser was “COMx”, “COM4” in my case.
I was able to find it in Windows device manager (sry for the french, but at least you have the ico)
I find the right one by looking into each properties then event. My zigbee dongle was the last one added.
My thing conf now look like:
Thing zigbee:coordinator_cc2531:stick "Zigbee USB Stick" [zigbee_port="COM4", zigbee_baud=38400]
And the log does not complain about it.
Sadly I was still not able to pair any device, but that’s another story. Thanks for the help!
Edit: FYI, after reflashing the stick with the right firmware, it’s not working super fine with the openhab zigbee binding. I have used the one from this video