I want to create a dzvents script that is triggered every minute.
Using the Domoticz editor, I created a script:
Name "test", type "dzVents", triggered by "all" (I also tried "timer")
Code could not be simpler:
Code: Select all
return {
active = true,
on = {
['timer'] = 'every 1 minutes'
},
execute = function(domoticz)
domoticz.log('@@@@@@@@@@@@@@@@@@@@@@@@@@ test', domoticz.LOG_INFO)
end
}Checked in Setup-->Settings-->Other: dzVents is enabled, log is on "Errors+forced messages".
As said, I am sure I am missing something but I don't see it.
Help?