I am trying to create bidirectional connection between STHM and webcore using virtual switche as suggested in most cases around forum in here. I would like to be able to change my Virtual switch “Alarm” to on/off when STHM changes in new Smartthings app, and reverse to change STHM in new smartthings app, when VS"Alarm" changes by webcore piston.
I created one virtual switch named “Alarm” and 4 automations in Smartthings new App like following:
- if VS “Alarm” is on, change STHM to Arm(away)
- if VS “Alarm” is off, change STHM to Disarmed
- if STHM is Arm(away), change VS"Alarm" to on
- if STHM is Disarmed, change VS"Alarm" to off
The problem with those automations is that they do not work reliable and often STHM status goes back to previous state even if I tries to change it in smartthings app. The status jumps back and forth.
I believe it is due to those 4 automations not being correctly parsed as I would expect.
Have anyone overcome this problem and have been able to create bidirectional STHM status change between SmartThings New App and webcore?