Blockly, 2 same situations one works other won't
Posted: Saturday 25 July 2020 13:23
Hi all,
I got 2 Sonoff Dual switches to turn my shutters up and down, one is on the ground floor (beganegrond) and one is on the small room upstairs (kleinekamer)
First I installed the switch on the ground floor and made the following blockly, which works perfect !
Notice the trigger is DEVICE. (The locked virtual switch ensures the blockly won't run twice in the same minute when triggered)
I installed a switch of the same type (sonoff Dual) and adjusted the blockly for this switch, but it won't do anything, the blockly isn't triggered it seems.
When I switch it manual it works, Domoticz is also changing the status of the switch so that all seems ok.
After some testing I found out that if I change the trigger to TIME the blockly triggers the switch
Same blockly but adjusted for the small room shutters.
Just to understand, why does the switch downstairs works with the DEVICE trigger and the other switch only works with the TIME trigger, while the setup is the same, hope someone can clarify this to me.
Maybe not the right forum for this, but should using a dzvents or lua scrips be more stable, unfortunately I am not able to make a script so I can't test this.
Thanks in advance.
I got 2 Sonoff Dual switches to turn my shutters up and down, one is on the ground floor (beganegrond) and one is on the small room upstairs (kleinekamer)
First I installed the switch on the ground floor and made the following blockly, which works perfect !
Notice the trigger is DEVICE. (The locked virtual switch ensures the blockly won't run twice in the same minute when triggered)
I installed a switch of the same type (sonoff Dual) and adjusted the blockly for this switch, but it won't do anything, the blockly isn't triggered it seems.
When I switch it manual it works, Domoticz is also changing the status of the switch so that all seems ok.
After some testing I found out that if I change the trigger to TIME the blockly triggers the switch
Same blockly but adjusted for the small room shutters.
Just to understand, why does the switch downstairs works with the DEVICE trigger and the other switch only works with the TIME trigger, while the setup is the same, hope someone can clarify this to me.
Maybe not the right forum for this, but should using a dzvents or lua scrips be more stable, unfortunately I am not able to make a script so I can't test this.
Thanks in advance.