This script work well .... but this message on log :
Error: Error executing script command (/home/bilou/domoticz/scripts/dzVents/scripts/script_time_alerte_radar.lua). returned: 32256
Code: Select all
return
{
active = true,
on = {
devices = {
'Abri voitures Motion' -- detecteur radar voiture
}
},
execute = function( dz, device )
if (device.active) then
-- Notification detection radar abri voiture
dz.notify('Domoticz RADAR abri '..os.date("%X"),'detection',dz.PRIORITY_HIGH)
print('Notification alerte RADAR abri voiture')
end
end
}
Best reagrds
Philippe