Nothing happening.
Created a test.lua script in ~/domoticz/scripts/dzVents/scripts (also tried through web interface into generated_scripts directory)
Code: Select all
return {
active = true,
on = {
devices = {
'SchakelaarMuur'
}
},
execute = function(domoticz, switch)
if (switch.state == 'On') then
domoticz.log('Hey! I am on!')
else
domoticz.log('Hey! I am off!')
end
end
}
Blockly script triggering on same switch does work.
Using domoticz V3.8153 stable on Pi3.