I updated my domoticz to 3.5837, and from that point on all my events (blockly and lua) are not working anymore!
The scripts are running (log file is saying script active) but the outputs are not set when the IF conditions are correct.
Anyone an idea how this happenend?
In example, the next simple script is running but commandarray is not executed somehow?
Code: Select all
commandArray = {}
print ("TV hoek actief script");
if (otherdevices['Hulp_TvAan'] == 'Off' and (otherdevices['St_TVWoonkamer'] == 'On' or otherdevices['St_MediaplayerMinix'] == 'On')) then
commandArray['Hulp_TvAan'] = 'On'
print ("TV of Mediaplayer is actief");
elseif (otherdevices['Hulp_TvAan'] == 'On' and (otherdevices['St_TVWoonkamer'] == 'Off' or otherdevices['St_MediaplayerMinix'] == 'Off')) then
commandArray['Hulp_TvAan'] = 'Off'
print ("TV of Mediaplayer is inactief");
end
return commandArray