Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running on Z-Stack 3.0 #211

Closed
kirovilya opened this issue Jul 23, 2018 · 68 comments
Closed

Running on Z-Stack 3.0 #211

kirovilya opened this issue Jul 23, 2018 · 68 comments
Labels
feature request Feature request

Comments

@kirovilya
Copy link
Contributor

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?

@splitice
Copy link

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)

@ciotlosm ciotlosm added the feature request Feature request label Jul 23, 2018
@kirovilya
Copy link
Contributor Author

@splitice Thank you for the clarification. What improvements have you got with the Z-stack 3.0?

@tb-killa
Copy link
Contributor

@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

@splitice
Copy link

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

@tb-killa
Copy link
Contributor

Are we planning to switch to this version?

@Koenkk
Copy link
Owner

Koenkk commented Aug 13, 2018

Yes! When I have some more time I will look into this.

@dzungpv
Copy link
Contributor

dzungpv commented Aug 26, 2018

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

@Koenkk
Copy link
Owner

Koenkk commented Aug 26, 2018

@dzungpv that sounds great!

@dzungpv
Copy link
Contributor

dzungpv commented Aug 28, 2018

@Koenkk This man can do 660 devices: https://sunmaysky.blogspot.com/2018/07/400-zigbee-devices-in-same-zigbee_29.html

@kirovilya
Copy link
Contributor Author

This man can do 660 devices:

Wow!!! One question: HOW?! :)

@dzungpv
Copy link
Contributor

dzungpv commented Aug 28, 2018

@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.

@kirovilya
Copy link
Contributor Author

@dzungpv Understandably. Since this is not a ZNP-firmware (ZStack HA), there are no questions yet :)

@ben423423n32j14e
Copy link

I think Touchlink will be extremely valuable as it could allow a way for resetting Hue Lightstrips without a Hue Bridge or the dimmer?

@lolorc
Copy link
Contributor

lolorc commented Sep 5, 2018

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 ;-)

@Koenkk
Copy link
Owner

Koenkk commented Sep 5, 2018

@lolorc I will start working on this once I finished moving to a new place (will have more time then 😄)

@splitice
Copy link

splitice commented Sep 5, 2018

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.

@lolorc
Copy link
Contributor

lolorc commented Sep 6, 2018

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.

@hdo
Copy link

hdo commented Oct 13, 2018

@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 ;-)

@splitice
Copy link

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.

@hdo
Copy link

hdo commented Oct 14, 2018

@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.

@splitice
Copy link

You will need to take care of that yourself. We neither use that hardware nor have the IAR licence to do that for you.

@dzungpv
Copy link
Contributor

dzungpv commented Feb 12, 2019

TI release Zigbee 3.0 solution to the world. It include cc2530, cc2531 too https://e2e.ti.com/support/wireless-connectivity/zigbee-and-thread/f/158/t/742413.
Anyone interest must try it. I like Zigbee 3.0 too. I have less than 20 devices but it not stable with many hardware: cc2530, 2531, 2530+cc2591

@King-anderson
Copy link

I had an experience with Halleyassist ZS
https://github.com/Koenkk/zigbee2mqtt/issues/1137#issuecomment-466781487

Koenkk added a commit to Koenkk/cc-znp that referenced this issue Apr 7, 2019
Koenkk added a commit to Koenkk/zigbee-shepherd that referenced this issue Apr 7, 2019
Koenkk added a commit to Koenkk/zigbee-shepherd that referenced this issue Apr 7, 2019
Koenkk added a commit to Koenkk/cc-znp that referenced this issue Apr 7, 2019
Koenkk added a commit to Koenkk/zigbee-shepherd that referenced this issue Apr 7, 2019
Koenkk added a commit to Koenkk/zigbee-shepherd that referenced this issue Apr 7, 2019
@Koenkk
Copy link
Owner

Koenkk commented Apr 7, 2019

I've made zigbee-shepherd compatible with Z-Stack 3.0 while keeping backwards compatibility with Z-Stack 1.2.

Meaning I can now run zigbee2mqtt with:

  • CC253x on Z-Stack 1.2
  • CC2652R on Z-Stack 3.0

Next up is publishing the firmwares, guides, etc.

@kirovilya
Copy link
Contributor Author

Great news!

@kirovilya
Copy link
Contributor Author

@Koenkk Have you checked if z-stack 3 works on cc253*?

@basmeerman
Copy link

basmeerman commented Apr 7, 2019 via email

@dzungpv
Copy link
Contributor

dzungpv commented Apr 7, 2019

@basmeerman you can buy it here http://www.ti.com/tool/LAUNCHXL-CC26X2R1

@Koenkk
Copy link
Owner

Koenkk commented Apr 7, 2019

@basmeerman you can indeed buy it here: #211 (comment)

Fun fact applicable for you: mine shipped from the Netherlands :)

@basmeerman
Copy link

basmeerman commented Apr 7, 2019 via email

@Koenkk
Copy link
Owner

Koenkk commented Apr 8, 2019

@basmeerman yes

@lolorc
Copy link
Contributor

lolorc commented Apr 8, 2019

Thanks, ordered one as well.

@ben423423n32j14e
Copy link

Ordered

@lolorc
Copy link
Contributor

lolorc commented Apr 12, 2019

ever tried to flash the firmware with uniflash (linux) ?
edit: nevermind, just flash it without verifying it.
it's working with one aqara sensor, will try to replace cc2530+cc2591 by cc2652 later on this week end.
Would it be possible to swap the coordinator without doing the shield trick ?

@ben423423n32j14e
Copy link

CC2652 just arrived, does anyone have links for the firmware?

@Koenkk
Copy link
Owner

Koenkk commented Apr 14, 2019

Instructions for CC2652R with Z-Stack 3.0 are up: #1429

I will try to publish something similar for the CC2531 soon.

@Koenkk
Copy link
Owner

Koenkk commented Apr 18, 2019

Instructions for CC2531 with Z-Stack 3.0 are up: #1445

I will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request
Projects
None yet
Development

No branches or pull requests