Alarm blockly not working
Posted: Wednesday 10 August 2016 21:23
Hi
I have tried setting up an alarm similar to what is described here:
https://www.domoticz.com/wiki/Alarm_Setup
I have two lua script which correctly trigger a notification to my phone and set the AlarmDetected user variable to 1. I have then tried making a blockly similar to the one described except that my alarm is turned on/off via a "dummy" switch. My blockly looks like this:
I have tried saving as both a device, uservariable and "all" event but the blockly never seems to be triggered. I also tried changing the first if stamens to "AlarmDetected NOT = 0" in case it was something with string vs number.
Do you have any suggestions?
Thanks!
I have tried setting up an alarm similar to what is described here:
https://www.domoticz.com/wiki/Alarm_Setup
I have two lua script which correctly trigger a notification to my phone and set the AlarmDetected user variable to 1. I have then tried making a blockly similar to the one described except that my alarm is turned on/off via a "dummy" switch. My blockly looks like this:
I have tried saving as both a device, uservariable and "all" event but the blockly never seems to be triggered. I also tried changing the first if stamens to "AlarmDetected NOT = 0" in case it was something with string vs number.
Do you have any suggestions?
Thanks!