couple 2 zigbee lamps

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
manjh
Posts: 749
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

couple 2 zigbee lamps

Post 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?
Hans
User avatar
waltervl
Posts: 5902
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: couple 2 zigbee lamps

Post 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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
manjh
Posts: 749
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: couple 2 zigbee lamps

Post 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).
Hans
manjh
Posts: 749
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: couple 2 zigbee lamps

Post 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!
Hans
User avatar
waltervl
Posts: 5902
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: couple 2 zigbee lamps

Post 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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
manjh
Posts: 749
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: couple 2 zigbee lamps

Post 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".
Hans
User avatar
waltervl
Posts: 5902
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: couple 2 zigbee lamps

Post 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
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
manjh
Posts: 749
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: couple 2 zigbee lamps

Post 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!
Hans
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest