Running on Z-Stack 3.0
I tried running zigbee-shepherd on the Z-stack 3.0. I built the firmware with Z-stack 3.0, then flash it to cc2531 stick.
By default, it does not start.
It was necessary to substitute on fork of cc-znp from HalleyAssist (thank you @splitice) and to little correct a zigbee-shepherd. After that, it was successfully launched and even worked a little.
I tried to connect a xiaomi temperature sensor - successfully connected and sent data. But with the round button it did not work out that way - it could not connect correctly and as a result did not work.
Do you think it makes sense to move towards Z-stack 3.0? What will it give to us? Stable? Touchlink? More devices?
FYI we only run Z-Stack 3.0 these days and can confirm that our fork of ZS works fine.
If you are using our cc-znp you also need to use our zigbee-shepherd or copy over the changes to binding cc-znp since we changed the interface to make it possible to close and restart ZS (e.g for firmware updates)
@splitice Thank you for the clarification. What improvements have you got with the Z-stack 3.0?
@kirovilya See here: fully compliant ZigBee 3.0 solution: Z-Stack 3.0
Especially:
Supports the CC2592 and CC2590 RF front ends which extend up to +22dBm and +14dBm transmit power, respectively, and provide improved receiver sensitivity
Supports Green Power Proxy, allowing energy-harvesting and ultra-low power devices to connect seamlessly to a Zigbee network
We did it for:
- compatibility with Zigbee 3.0 devices
- Future: Green Power support (PR's for our fork welcome, we currently don't have the manpower to tackle this on our own)
- Reliability (we had some issues with 1.x)
- no patches needed for PA/LNA support
Are we planning to switch to this version?
Yes! When I have some more time I will look into this.
Z-stack 3 ZNP has more advance, you can increase NWK_MAX_DEVICE_LIST to 120 without any problem. Now with ZNP Z-stack home 1.2.2, NWK_MAX_DEVICE_LIST 15 is the max i could build
@dzungpv that sounds great!
@Koenkk This man can do 660 devices: https://sunmaysky.blogspot.com/2018/07/400-zigbee-devices-in-same-zigbee_29.html
This man can do 660 devices:
Wow!!! One question: HOW?! :)
@kirovilya I am sure he not use ZStack HA 1.2.2, he is an expert on TI forum: YiKai Chen. You can always ask and he will answer you. I have ask him some hundreds question.
@dzungpv Understandably. Since this is not a ZNP-firmware (ZStack HA), there are no questions yet :)
I think Touchlink will be extremely valuable as it could allow a way for resetting Hue Lightstrips without a Hue Bridge or the dimmer?
I'm looking forward to use Z-stack 3, can zigbee-sheperd/cc-znp forks from @Koenkk be simply replaced by @splitice ones ? IOW, has more progress been done in that way ? I'm struggling with all these zigbeer forks ;-)
@lolorc I will start working on this once I finished moving to a new place (will have more time then :smile:)
Our fork works with Z-Stack 3.0, you should be able to just use our ZS fork. We believe it to be API compatible.
so many zigbee-sheperd divergent forks... I guess the changes that have been made for zigbee2mqtt to zigbee-sherperd and cc-znp shoud be merged/rebased against HalleyAssists
@splitice what are you using your zigbee-sheperd fork for ? It might be easier for me to try z-stack 3.0 with it.
@splitice Can you tell us where to find your fork with Z-Stack 3.0 support? Thanks.
EDIT: My bad for not paying attention. I found your fork at HalleyAssist ;-)
Fork is here: https://github.com/HalleyAssist/zigbee-shepherd
FYI we run CC2538+92 hardware which is required for some of the added APIs (increased processing power). Not that it should impact you too much as our firmware with these added MT commands is not currently released. Also be aware Z-Stack 3.0 is heavier than 1.2.
@splitice
Hey thanks. Just noticed that :-)
Do you also offer precompiled firmware for the CC2530 or do i need to compile it from source (TI Z-Stack 3.0 Source).
I don't have the CC2538+98 hardware so hope that it will also run with my CC2530.
Fork is here: https://github.com/HalleyAssist/zigbee-shepherd
FYI we run CC2538+92 hardware which is required for some of the added APIs (increased processing power). Not that it should impact you too much as our firmware with these added MT commands is not currently released. Also be aware Z-Stack 3.0 is heavier than 1.2.