Search found 2 matches

by peter
Tuesday 16 February 2016 22:19
Forum: Blockly
Topic: Howto trigger blockly from lua script (Alarm Example)
Replies: 2
Views: 1510

Re: Howto trigger blockly from lua script (Alarm Example)

Thanks for the help Jos! I assumed as much, thanks for pointing me towards an alternative trigger mechanism. Did the event system of Domoticz change over time, thereby invalidating the example provided in the Alarm Setup Guide (wiki). I like the guide it helped me getting my alarm system up ...
by peter
Monday 15 February 2016 21:17
Forum: Blockly
Topic: Howto trigger blockly from lua script (Alarm Example)
Replies: 2
Views: 1510

Howto trigger blockly from lua script (Alarm Example)

I followed the Alarm Setup guide from https://www.domoticz.com/wiki/Alarm_Setup, but blockly is not triggered. Basically on a device change (a PIR sensor) a user variable AlarmDetected is set to 1. Blockly should handle this and perform an action. I assume this does not work to prevent event loops ...