This is a script which is not fired.
Code: Select all
return {
on = {
devices = {
'Afzuigkap'
}
},
execute = function(domoticz, device)
domoticz.log('Device ' .. device.name .. ' was changed', domoticz.LOG_INFO)
end
}
The logging of Domoticz only shows
Code: Select all
2020-07-07 19:19:58.130 Status: User: Admin initiated a switch command (1011/Afzuigkap/On)Previous the device was a Zwave device, which had the same name but now rename to 'Afzuigkap OLD' and set as 'Unused'
I never had a problem with the Zwave device, at least I did not noticed it.
I checked it with an additional RFXCOM device, and that worked as expected. Script was 'fired'
Why does the event system not trigger the script?