Simple blocky only triggered by push on webpage
Posted: Wednesday 16 November 2016 13:49
Hi
I have the following very simple blockly script which is supposed to write "hej" to the log whenever I push a button on a remote.
Domoticz correctly receives the button push:
2016-11-16 13:43:17.343 (RFLink) Light/Switch (RemA_Lock) But the blockly is never triggered. I have tried saving both as a "Device" and "All" script. If I push the switch on the webinterface the blockly is triggered correctly.
I have similar problems with other scripts which are not triggered e.g. by time Do you have any suggestions or should I simply write everything in Lua?
I have the following very simple blockly script which is supposed to write "hej" to the log whenever I push a button on a remote.
Domoticz correctly receives the button push:
2016-11-16 13:43:17.343 (RFLink) Light/Switch (RemA_Lock) But the blockly is never triggered. I have tried saving both as a "Device" and "All" script. If I push the switch on the webinterface the blockly is triggered correctly.
I have similar problems with other scripts which are not triggered e.g. by time Do you have any suggestions or should I simply write everything in Lua?