-
-
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
Testing: group support #764
Comments
Thanks for this! I'm having one issue, when I call zigbee2mqtt/bedroom_lights/set, I get the following error:
|
I used zigbee2mqtt/group/bedroom_lights/set instead and it works! Awesome job! |
@dcshoes23 please update to the latest dev branch, |
@Koenkk Just pulled the latest-dev now and it works with |
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 |
@dcshoes23 it's 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? |
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. |
Hello, |
@stcraft If I remember correctly, no |
@Koenkk I found this out after diff-ing the two hex files (one modded and the other not, Located here: https://github.com/kirovilya/files) |
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? |
@subzero79 its the same as controlling a single device, meaning that color and color temperature can also be changed via a group. A device can be in multiple groups. |
Is it just me or does switching on/off a group not refresh the status of the light bulbs in Home Assistant? If I switch on group "Living Room" the four lights "Living1" - "Living4" still say that they are switched off. When I try to use the switch in Home Assistant on a light in the group then I get these lines from time to time: 2019-1-9 01:12:55 - info: Zigbee publish to device '0x7cb03eaa00a1184a', genOnOff - on - {} - {"manufSpec":0,"disDefaultRsp":0} - null In the other cases it just changes the switch to the now correct setting (ON) and I can switch the light off after the extra step. |
@dreimer1986 this is indeed not updated, added this as a todo to the OP. |
Thx for fixing it in advance ^^Did not test if color values etc are synced, but I guess not. |
unfortunately it wont work for me. After stopping zigbee2mqtt need to unplug CC2531 and press reset button to start it again. even with that it can start only with clear config without devices. log below
zigbee2mqtt:info 2019-1-16 20:19:52 Logging to directory: 'data/log/2019-01-16.20-19-52' TypeError: Cannot read property 'replace' of undefined npm ERR! A complete log of this run can be found in: is it something with dongle ? or with fw or edge version ? Thanks |
After updating to the dev branch, did you do a |
what i did:
and after all these steps it starts working again. |
@ChBetz can you execute that command for a device which is NOT in the group but responds to commands? |
You can find the log HERE. I created a new group now with id=5 and added items to it. There it worked fine and only the items in the group reacted. But after I deleted the group using the mqtt command for it, and asking the device again for its group memberships the group 5 was still there. It seems like the |
@ChBetz that issue has been fixed in zigbee2mqtt 1.14.2 |
@Koenkk many thanks for your help 👍 |
Hi Koenkk, Thank you for this great project. I'm integrating in HA a baseboard heating system based on Sinope thermostats. The individual zigbee2mqtt commands and readings are working great. Now, I want to set some parameters in "group", like outdoor temp and time. When I use set parameters on a group, I get the error "No converter available for..." I'm using Zigbee2mqtt Hass.io Add-on version 1.14.3 on a Raspberry Pi. ==== From the logs ===== Zigbee2MQTT:debug 2020-08-29 21:39:01: Received MQTT message on 'zigbee2mqtt/thermostat1/set/thermostat_outdoor_temperature' with data '6' ===== groups.yaml ===== ===== devices.yaml ===== ===== database.db (partial) ====== |
@embak should be fixed now. Changes will be available in the latest dev branch in a few hours (https://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html) |
@Koenkk ======= Logs ======== Zigbee2MQTT:debug 2020-08-30 09:27:43: Received MQTT message on 'zigbee2mqtt/thermostat_group/set/thermostat_outdoor_temperature' with data '6' ====== goups.yaml ======== ====== devices.yaml ======= |
@embak write commands for group were not supported yet, fixed this now. Changes will be available in the latest dev branch in a few hours (https://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html) |
@Koenkk |
As this closed report still is used for some general problems regarding groups, too... I have a question regarding this home assistant integration:
It's mainly being talked about color_temp, brightness and rgb as settings to set according to your devices in the group. |
I have created a group by the tab Zigbee2mqtt in Domoticz. I use 3 RGBWW spots from Gledopto but I can only turn the group on/off. No dimming or color change function. How is that possible? |
Would it be feasible to make z2m groups discoverably by Home Assistant? They could be exposed as a single entity using HA's MQTT discovery feature. |
Same feature asked if possible :) |
Same feature, please, groups don't work for TRV's (Current version: 1.17.0.1) ***** device.yaml ******** ***** groups.yaml ********** ***** automation ******
***** log ******* |
do groups work on the ZZH! usb device?
|
They work for me using IKEA devices.
Herman Eggink
…________________________________
From: Gibbz <notifications@github.com>
Sent: Saturday, January 30, 2021 12:41:57 AM
To: Koenkk/zigbee2mqtt <zigbee2mqtt@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: Re: [Koenkk/zigbee2mqtt] Testing: group support (#764)
do groups work on the ZZH! usb device?
Ive setup a group, and sent the mqtt command, but its not working for me...
groups:
'1':
friendly_name: chimes
devices:
- 0x5c0272fffecea1b0/1
zigbee2mqtt/chimes/set
{"alarm":true}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#764 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AA6NSFZ6UDBARRZG4TXHUPDS4NBULANCNFSM4GMMJWOQ>.
|
Using a zzh i assume? |
Works for me to with zzh (CC26X2R1_20200805) to control a group of Sinope thermostats devices. |
Currently I’m using the CC2531 USB sniffer in combination with zigbee2mtqq hooked to Home Assistant. |
Hello. If I send the message to zigbee2mqtt/MY_GROUP/set to change the group state or change the group's state from any wireless switch device then I receive new state in zigbee2mqtt/MY_GROUP and zigbee2mqtt/MY_DEVICE_GROUP_. If i send {"state": "" } to zigbee2mqtt/MY_GROUP/get then I don't receive new state of the group, only for all device in zigbee2mqtt/MY_DEVICE_IN_GROUP_ separately. As result, after restart of the homeassistant or the zigbee2mqtt it might be received non valid state of group until anybody touch group anyware. |
I've tried to change just the color_temp of a lights' group. However, all of the other ligths became "ON" on the eyes of Z2M and HA, but that switch on is not real. So they appear to be "ON" while being "OFF". It doesn't happen when done individually device by device (right behaviour, in my opinion, which lets you to change the temperature to be already changed). |
Hi I have a few groups all configured exactly the same (with Optimistic = true and Retain = True), on two groups at night I turn on 1 of 4 lights in the group and it works great, however on two other groups when I turn on one light the whole group turns on and I dont mean the state of the group I mean every lightbulb turns on. It is as if publishing the state of the group then causes all the other lights to react. Also this is intermittent, once in a few executions only the one will turn on as expected. Any ideas would be welcomed. I'm using HA and Yaml MQTT Entities |
I've discovered what I think is an issue with I have a cluster or 8 GU10 lights, that work absolutely fine when sent I've not had a chance to turn up debugging to see if there are errors, but thought I'd give you a heads-up. EDIT: Raising a separate issue as this one is closed. |
Would it be possible to add attribute definitions to a group? max_mireds from bulbs in a group is not exposed to HA during auto discovery. |
This issue is used to gather feedback on the group support feature (#15).
Todo:
Notes:
20181224
is required! (available here)The text was updated successfully, but these errors were encountered: