Page 1 of 1
couple 2 zigbee lamps
Posted: Monday 19 September 2022 9:30
by manjh
I am using Ikea Zigbee lamps in a dual-fitting lamp ficture. It works OK, I can control both lamps separately.
But for convenience, I would like to control the two lamps "as one". So switch them both on/off and to a dimlevel and color with one single device action.
Is it possible to couple the lights?
Re: couple 2 zigbee lamps
Posted: Monday 19 September 2022 10:55
by waltervl
You can make a Zigbee group of those 2 lamps. See the instructions about groups in your coordinator documentation (Zigbee2mqtt, Zigate, deconz etc).
If a group is created, domoticz will create a group switch that you can use to switch your lamps together.
Re: couple 2 zigbee lamps
Posted: Monday 19 September 2022 16:20
by manjh
I used Zigbee2MQTT to create a group and added 2 lamps to it. Looks OK.
But in Domoticz O don't see anything (allow new devices switch in settings is ON).
Re: couple 2 zigbee lamps
Posted: Monday 19 September 2022 16:30
by manjh
I must have done something wrong. I deleted the group, and started over.
First created the group, then added two devices.
Then in Domoticz I see a switch coming into the devices list, but it is a pure on/off switch, not the "color switch, WW, dimmer" type that both lamps are!
Re: couple 2 zigbee lamps
Posted: Monday 19 September 2022 20:19
by waltervl
With the Zigate (or now called ZigbeeforDomoticz) this works as described by me, including RGB colors etc. I do not know how this should be done in other coordinators like Zigbee2MQTT.
You could try to modify the Domoticz device type to an RGB (through Edit button). Perehaps Zigbee2MQTT will understand it but I doubt it.
Re: couple 2 zigbee lamps
Posted: Monday 19 September 2022 20:53
by manjh
waltervl wrote: ↑Monday 19 September 2022 20:19
With the Zigate (or now called ZigbeeforDomoticz) this works as described by me, including RGB colors etc. I do not know how this should be done in other coordinators like Zigbee2MQTT.
You could try to modify the Domoticz device type to an RGB (through Edit button). Perehaps Zigbee2MQTT will understand it but I doubt it.
No, it doesn't. I can change the type to "dimmer", and then the device icon changes and shows the dimmer slider. But it does not work.
There is no type "RGB".
Re: couple 2 zigbee lamps
Posted: Monday 19 September 2022 23:42
by waltervl
It seems that if you use MQTT AD gateway it is not working as Domoticz does not know what kind of devices are in the group to define a specific related device. But if you use the zigbee2mqtt plugin then it should work based on the group name. See the readme in
https://github.com/stas-demydiuk/domoti ... qtt-plugin
Re: couple 2 zigbee lamps
Posted: Tuesday 20 September 2022 0:08
by manjh
waltervl wrote: ↑Monday 19 September 2022 23:42
It seems that if you use MQTT AD gateway it is not working as Domoticz does not know what kind of devices are in the group to define a specific related device. But if you use the zigbee2mqtt plugin then it should work based on the group name. See the readme in
https://github.com/stas-demydiuk/domoti ... qtt-plugin
Bingo, that was the right pointer to the solution.
I renamed the group with suffix "_ct", and now Domoticz has the right device type!
Thanks for putting me on the right track!