Where thise brightness value is coming from ?
here after is the simple dzVent script
Code: Select all
return {
active = true,
on = {
['timer'] = {
'every minute',
}
},
execute = function(dz, Item, info)
local lamp = dz.devices( 'DIN-Zigate - ColorControlWW-90fd9ffffe86c7a1-01')
lamp.setKelvin(80)
end
}Code: Select all
Command: Set Color
Level: 86
Color: {"b":0,"cw":51,"g":0,"m":2,"r":0,"t":204,"ww":204}
PS/