Code: Select all
return {
active = true,
on = {
timer = {'every minute'}
},
execute = function(domoticz)
local cellar_Hall_RH = domoticz.devices('FR_02 Cellar Hall')
if (cellar_Hall_RH.humidity >= 40 ) then
domoticz.notify('RH in Cellar Hallway Notification!', 'Current value is ' , domoticz.PRIORITY_NORMAL)
end
end
}