-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Z-Stack 3 on CC2531/CC2530 adventures #1445
Comments
What are the benefits of Zigbee 3.0 for zigbee2mqtt? Will it allow more than the default 15 devices on a CC2531 coordinator (and if so how many)? Do we need new firmware on the CC2531 routers as well? btw, thanks @Koenkk for a fantastic product and all the effort you put into this project, it is very much appreciated! |
@jarrah31 it also has a direct children limit of 15. No new router firmware is needed (zigbee 1.2 devices can join a zigbee 3.0 network). More about zigbee 3.0 changes can be found here: http://www.ti.com/lit/an/swra615/swra615.pdf I've just released a new firmware
|
Hey, I'm new to this whole Zigbee thing but I got this one up and running with the future intent of integrating with Openhab to finally make my Hue Tap do things Philips never dreamed of :) Is there documentation available how GPP devices can be paired? Perhaps something specific for Hue Tap? I'm running 20190423 with the latest dev Docker container. |
@Z0l you can try to pair it, setup procedure seems to be here: https://huetips.com/tutorials/how-to-add-a-hue-tap/ (10 seconds press a button). |
I have flashed my cc2531 with CC2531ZNP-with-SBL.hex:
but the stick does not seem to work with zigbee2mqtt anymore:
after pressing the reset button on the stick I get this error:
the same stick worked fine with the old version:
|
Btw. the same error happens in the dev branch (commit #4472c01) |
Can you provide the output of |
For me it works with the dev version:
However nothing happens when I keep pushing the button for 10 sec (I tried pushing all 4). Is the limitation on pairing has to happen in the first 180 seconds still in place? Also, is that normal that the led turns off after some time (didn't measure how long, but when I plug the USB in and start the docker container, the LED turns off). |
@Z0l the pairing limitation is actually a zigbee 3.0 feature :-) |
@lolorc it would be cool if zigbee2mqtt would expose a switch like "permit_join" to homeassistant. |
@runningman84 a hack is probably already possible. using zigbee2mqtt/bridge/config/permit_join as a mqtt switch with retain true. I guess it would also be possible to tell home assistant to set it to false 254s after it has been set to true. |
@runningman84 @lolorc don't spend time on this. Soon I will implement something that zigbee2mqtt does this automatically. |
|
@runningman84 after updating, did you do a |
I just run rm -rf node_modules && npm install and flashed the firmware once again. Now it seems to start:
But the OSRAM plug does not seem to work well with this firmware or software. State changes are not reported and there are these timed out error messages. |
I just removed the plug from the outlet and put it back in... now the state change is recognized:
|
I've got this running, I took the plunge straight into Z-Stack 3 since I don't have any of my network setup. No bugs to report yet, but are there any instructions on how to use touchlink in this? Or is the whole point that we now could make touchlink work, rather than that it already is working? My hue bulbs don't even like resetting with the API touchlink trick on the original bridge, but using my Conbee (which I'm hoping to replace for the more open zigbee2mqtt) I was able to reset them and then get them onto zigbee2mqtt, so I'd love to see touchlink without any other device. Only a couple of devices so far, and I'm not doing anything sophisticated, but it is working with what I've paired up (a GE switch and a hue bulb) |
@GlitchHound good idea! I will look into this, please keep an eye on #1509 |
Do i understand this correctly:
Does this imply that i can even change the hardware without the need to repair all devices? Or does this "only" cover firmware changes? |
@sehraf yes, hardware can be changed without repairing (was also possible with 1.2). Note that when going from zigbee 1.2 to 3.0 you have to re-pair. |
everything Working fine but when i stop the zigbee2mqtt service with availability_timeout: option in the configuration.yaml this is the log: May 20 11:50:54 hassbian systemd[1]: Stopping zigbee2mqtt... |
@drbios fixed in latest dev. |
Even in router mode? Would there be any advantage? |
|
@Koenkk unfortunately I don't have a spare CC2531 to do sniffing, will arrange one and get back to you with more details. So far the lock still connected only to the coordinator so I'm not seeing any errors so far. |
@Koenkk, another thing to add is that I can't get the reports of the lock/unlock when the lock is locked/unlocked from the keypad/panel, only when it is done from zigbee. If I lock from Zigbee2mqtt and open from the keypad it will show as locked. In the past (previous version and z-stack 1.2) I used to get one message for every lock/unlock, with a number explaining from where is was locked/unlocked. Just enabled debug here but there is nothing coming from the lock when I lock/unlock from the keypad or knob. |
@hahmann try to reconfigure the lock via https://www.zigbee2mqtt.io/information/mqtt_topics_and_message_structure.html#zigbee2mqttbridgeconfigure (make sure to wakeup the device right before executing this) |
Excellent! Doing a configure for the lock solved the issue, it is reporting every lock/unlock now, coming from the bridge, knob or keypad as expected! Thank you so much. |
PSA: for those following along, TI moved the descriptive PDF re: zigbee3 to here: https://www.ti.com/lit/an/swra615a/swra615a.pdf |
Hi, I have a CC2530+CC2592 device connected to serial on a raspberry pi, using the firmware from here (3.0.x). Seems to work, but I was trying to re-initialize it and it failed when trying to commission the network. The app cnf bdb start commissioning request (mode: 0x4 - BDB_COMMISSIONING_MODE_NWK_FORMATION) failed with an app cnf bdb commission notification with status 0x8 (BDB_COMMISSIONING_FORMATION_FAILURE). I tried various settings for the channels mask, setting a particular pan id or letting it unset (that is, to be randomly generated), with the same result. Is it possible to re-commission a network with this firmware? |
Hi there, I'm testing CC2531 with z-stack 3. I've got few CC2531 with router firmware either. Is it expected behavior? |
Routers should allow other nodes to join through them. I hope you have z-stack 3 on both the coordinator and routers. |
As mentioned in this thread already routers can work on 1.2. |
Yes, they do. There is backward compatibility but I wouldn't be so sure about joining. Even for joining directly connected to the coordinator, for many 'legacy' devices I had to set a 'link key exchage' flag in the coordinator to false in order to have them join, otherwise they were kicked out of the network. |
I have read through this thread and am still a little confused as to whether I should replace the 1.2 FW on my CC2531. I'm using the stick with the 1.2 FW in the native ZHA integration in HA. This works well ordinarily but unfortunately it doesn't with the Aqara QBKG25LM. I was advised to use ZStack 3 to fix this, but if 1.2 allows me to use the QBKG25LM with Z2M I'll probably go that route instead. So my question is does FW3 allow more HW to work (in particular the QBKG25LM) independent of the software, or would the Z2M/Herdsman quirks available make the QBKG25LM work with 1.2 FW? |
I have a question regarding a CC2530 / 2592 module: |
Hi |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Pardon my ignorance. Does the Z Stack firmware accept AT (like) commands of some sort? I am trying to use the CC2530 as simple ZigBee transceivers connected thru TX/RX lines |
I'm running a CC2531 with latest Z-Stack_3.0.x and it's working great. I've got 9 routers (plugs and light bulbs) and 6 end devices (Aqara Temps, light sensor). Now I'm trying to pair yet another bulb but there is no log of the pairing action. I have restarted Zigbee2MQTT multiple times and tried pairing shortly after the restarts but to no avail. Edit: This morning, after a night left alone, I was able to pair the bulb. The mesh network probably changed a bit and now there was room for the extra device. :) |
This issue is created in order to gather feedback of users using the CC2531/CC2530 AND Z-Stack 3.0 (= Zigbee 3.0)
You are about to enter a highly experimental area (no guarantees)
Notes
data/coordinator_backup.json
. This backup is automatically restored when starting with a new flashed CC2531/CC2530.Known issues
permit_join: true
, a workaround is to restart zigbee2mqtt.The text was updated successfully, but these errors were encountered: