Search found 1 match

by Andrey95
Friday 04 May 2018 19:47
Forum: dzVents
Topic: switchOff after restart Domoticz
Replies: 2
Views: 652

switchOff after restart Domoticz

I wrote a script so that after restarting domoticz some switches are turned off, but it works. tell me what is wrong

return {
active = true,
on = {
timer = {'every minute'}
},
logging = {
level = domoticz.LOG_ERROR
},
execute = function(dz)

local Switches = domoticz.devices().filter({2 ...