matchesRule(rule) : Function. Returns true if the rule matches with the time. See time trigger rules for rule examples.
return {
on = timer = {
function(domoticz)
-- use domoticz.variables(..) here and return true when the timer should go off
end
},
execute = function(domoticz, timer, triggerInfo)
end
}