Page 1 of 1

how set different color switch setting Zigbee RGBW LED

Posted: Sunday 25 July 2021 14:28
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 923 times

Re: how set different color switch setting Zigbee RGBW LED

Posted: Sunday 25 July 2021 15:47
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

Re: how set different color switch setting Zigbee RGBW LED

Posted: Friday 28 January 2022 18:54
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 788 times
Schermafbeelding 2022-01-22 om 15.26.25.png
Schermafbeelding 2022-01-22 om 15.26.25.png (121.42 KiB) Viewed 788 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 788 times