Re: Color and brightness with a zigbee lamp
Posted: Saturday 06 July 2019 14:32
ok thanks, saved it as dzVents
but still get errors.
error:
2019-07-06 12:28:33.363 Error: dzVents: local netWork not open for dzVents openURL call !
2019-07-06 12:28:33.363 Error: dzVents: check dzVents wiki (look for 'Using dzVents with Domoticz')
script
any ideas?
but still get errors.
error:
2019-07-06 12:28:33.363 Error: dzVents: local netWork not open for dzVents openURL call !
2019-07-06 12:28:33.363 Error: dzVents: check dzVents wiki (look for 'Using dzVents with Domoticz')
script
Code: Select all
return {
on = { devices = { "ThermSwitch" }},
execute = function(dz, item)
Ikea = dz.devices(793)
if item.active then
Ikea.setRGB(100,100,0)
else
Ikea.switchOff()
end
end
}