Testing: group support
This issue is used to gather feedback on the group support feature (#15).
Todo:
- [ ] Refresh state of bulbs when changed via group.
Notes:
- Documentation is available here
- Integrating with Home Assistant
- At least firmware version
20181224is required! (available here) - 1.4.0 is required.
Thanks for this! I'm having one issue, when I call zigbee2mqtt/bedroom_lights/set, I get the following error:
Failed to find device with ieeAddr: 'bedroom_lights'
I used zigbee2mqtt/group/bedroom_lights/set instead and it works! Awesome job!
@dcshoes23 please update to the latest dev branch, zigbee2mqtt/group/bedroom_lights/set is the "old" api (I've changed it a few hours ago).
@Koenkk Just pulled the latest-dev now and it works with zigbee2mqtt/bedroom_lights/set, thanks!
This new fw, does it reduce the number of devices the coordinator can hold ?
@subzero79 the CC2531 firmware released together with zigbee2mqtt 1.0.0 had a limit of 20, the new firmware has a limit of 15 (because the stack has to be increased for stability reasons).
In case you only have battery powered devices (aka don't have any routers) you can use the max devices firmware which has a limit of 44 devices.
@Koenkk zigbee2mqtt/bridge/groups/[GROUP_FRIENDLY_NAME]/add worked with the old version and now it doesn't do anything. There is nothing shown in the logs
@dcshoes23 it's zigbee2mqtt/bridge/group/[GROUP_FRIENDLY_NAME]/add (group without s) now.
EDIT: fixed the docs.
@Koenkk that worked, thanks!
looks awesome! setting about 15 GU10 spots so groups are welcome!
How likely is the fw to be changed again in the future?
For example to be able to poll an attribute from a device on demand (like xiaomi plugs power, waiting for that feature) when is implemented do you think it will need fw rebuild?
Having to repair all devices is not something I look forward to.
How likely is the fw to be changed again in the future? For example to be able to poll an attribute from a device on demand (like xiaomi plugs power, waiting for that feature) when is implemented do you think it will need fw rebuild? Having to repair all devices is not something I look forward to.
agree on that. currently only have 4 devices, but think on upgrading soon, but upgrading the firmware without some kind of export / import seems unworkable with 30+ device.s
@subzero79 polling attributes doesn't require a firmware update.
How does this integrate in best way with Hass?
@trekker25 the OP contains a link on how to do this
Sorry how could I miss that. In 6 weeks my new kitchen is ready and then can work with it. Group of 4, another group of 4 and a group of 9 gu10 spots. Curious how this will work out as I only work with wireless switches and sensors and not adding physical switches.
Hello, Can i flash the .hex file (extracted from the zip in https://github.com/Koenkk/Z-Stack-firmware/tree/dev/coordinator/CC2531/bin/) with the alternative flashing method? (Via Arduino, described here: https://koenkk.github.io/zigbee2mqtt/information/alternative_flashing_methods.html) Thanks in advance!
@stcraft If I remember correctly, no
@Koenkk
I've done a bit of research and testing.
It seems removing this line near the bottom of the .hex file:
:0400000500002DD0FA
will do the trick to get the file to flash. (otherwise, the script will spit an error out mentioning something about 05)
I found this out after diff-ing the two hex files (one modded and the other not, Located here: https://github.com/kirovilya/files) This was the only change being made.
I still haven't flashed the group fw, i have 4 plugs in the attic, overall 24 devices. How does the group works if you want to change brightness or color temp? or it can just control on/off?
Also is it possible to add a group to another group? or can one device be in more than one group?