Blockly starts looping
Posted: Monday 20 April 2020 23:03
Hello
I have to create a script to manage garage door.
Unfortunately garage door have only a on switch that activate the engine. Does not control open/close.
I had the script to manage it via domoticz switch and variables... but I have also to manage the manual switch on "real" swich.
So I have put in place two Sonoff DW1 sensors bridged with Sonoff RF hacked with tasmota.
Unfortunately the script in the image goes in loop
-OpeningSensor is a counter sensor
-garagetest is a virtual switch that replace the real one for testing purposes...
-the open url resets the counter (192.168.178.101:8080/json.htm?type=command¶m=udevice&idx=115&svalue=0&nvalue=0)
any idea why?
thanks in advance
I have to create a script to manage garage door.
Unfortunately garage door have only a on switch that activate the engine. Does not control open/close.
I had the script to manage it via domoticz switch and variables... but I have also to manage the manual switch on "real" swich.
So I have put in place two Sonoff DW1 sensors bridged with Sonoff RF hacked with tasmota.
Unfortunately the script in the image goes in loop
-OpeningSensor is a counter sensor
-garagetest is a virtual switch that replace the real one for testing purposes...
-the open url resets the counter (192.168.178.101:8080/json.htm?type=command¶m=udevice&idx=115&svalue=0&nvalue=0)
any idea why?
thanks in advance