Smooth light on and off (brightening, dimming)

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
elpaul
Posts: 7
Joined: Thursday 11 July 2019 7:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Poland
Contact:

Smooth light on and off (brightening, dimming)

Post by elpaul »

Good morning.
Help me, I've run out of ideas. I have a bedside lamp with an Osram smart bulb. Everything works great, but....
Normal On/Off is OK, but since the bulb has an adjustable brightness level, it would be nice at night, after turning it on (in any way), instead of the usual ON/OFF, the bulb would brighten from zero to 100% in, say, a second or two and vice versa, i.e. it dimmed when turned off.
After two days of using Blockly, I haven't come up with anything, and unfortunately I don't know anything about dzvents. Can anyone help with this issue?
elpaul
Posts: 7
Joined: Thursday 11 July 2019 7:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Poland
Contact:

Re: Smooth light on and off (brightening, dimming)

Post by elpaul »

Solved.
"set_transition": 1 - and everything is OK
User avatar
waltervl
Posts: 5738
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Smooth light on and off (brightening, dimming)

Post by waltervl »

Yes indeed, with zigbee you can set transition times.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest