how set different color switch setting Zigbee RGBW LED

Moderator: leecollings

Post Reply
njlammerts
Posts: 149
Joined: Wednesday 12 August 2020 17:13
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Fryslan
Contact:

how set different color switch setting Zigbee RGBW LED

Post by njlammerts »

I have a ZB-RGBCW Zigbee 3.0 LED-bulb, RGBW LED wich is seen by Domoticz as an RGB light and with the slider you can adjust the brightness and with an other button you can adjust color and switch on/off. Also different effects can be selected (Blink, Breath, Stop/Finish effect) . I called the light Bulp

I would like to address different colors to different actions:

I have some aqara door&motion sensors on doors and windows. Also I have a motion sensor at the front door. When I leave the house the motion sensor sense motion in the hall and will blink RED when one of the doors on ground floor is not closed. I made this setting with Blockly.

But I want to use the same lamp to blink GREEN when all the doors are closed. Also would like to do the same with open/closed windows (Orange/Bleu)

How can I control this one RGBW light from 4 different scripts
Schermafbeelding 2021-07-25 om 14.26.25.png
Schermafbeelding 2021-07-25 om 14.26.25.png (384.04 KiB) Viewed 927 times
User avatar
waltervl
Posts: 5859
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: how set different color switch setting Zigbee RGBW LED

Post by waltervl »

You can put it all in 1 dzVents script.
Let the door and the motions sensors be the trigger devices and set your bulb according the action.

For dzVents extensive documentation including examples see https://www.domoticz.com/wiki/DzVents:_ ... _scripting
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
njlammerts
Posts: 149
Joined: Wednesday 12 August 2020 17:13
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Fryslan
Contact:

Re: how set different color switch setting Zigbee RGBW LED

Post by njlammerts »

I have a new problem after fresh installing domoticz, restoring old database and re-pairing all the zigbee devices.
There is only 1 device shown (Bull-Color), as there were 2 in the "old/before crash" situation (Bulb and Bulb-Color)
With the Breathe option the light went fading on and off just as breathing, but the device is not available after pairing.

Is there a device list (some config file) where I can the setting of the "breathe" ?
I have a copy of the old data in which I could retain old data

The Old situation

Schermafbeelding 2022-01-22 om 15.27.04.png
Schermafbeelding 2022-01-22 om 15.27.04.png (269.62 KiB) Viewed 792 times
Schermafbeelding 2022-01-22 om 15.26.25.png
Schermafbeelding 2022-01-22 om 15.26.25.png (121.42 KiB) Viewed 792 times
After reinstalling domoticz and re-pairing

Schermafbeelding 2022-01-22 om 15.06.44.png
Schermafbeelding 2022-01-22 om 15.06.44.png (261.18 KiB) Viewed 792 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest