So I have the Smartthings integration configured in Home Assistant and that works fine, all my ST devices show up and work as expected in HA.
Can I somehow go the other way around? Get a few devices to show up from HA into SmartThings?
I need to get a gate switch from HA to show up in SmartThings so I can open it from my Galaxy watch (from the SmartThings app)
It would be great if Gogogate2 had ST support so it would just work but it doesn’t
So I have tried something via IFTTT and virtual buttons in ST so when the virtual button is on I use IFTTT to open gate and when off to close it.
This doesn’t work right when I am using Home Assistant to toggle the gates as the states get messed up in ST.
i.e. I turn on the virtual button in ST which opens the gate via IFTTT and then someone uses HA to close the gate. The virtual button is still on, I press it and it thinks it needs to close the gate but the gate is already closed.
If I could somehow use a toggle that didn’t care about the on/off state that might do it but no idea if that is possible.
When setting up these type of integrations, most people have four applets in IFTTT, two that trigger with SmartThings as The IF and two that trigger with the other device as the IF to change a virtual device which acts as the proxy on the smartthings side.
Oh I get it, have IFTTT when gogogate2 is open then virtual switch is on and vice versa to keep the states synced.
However I just tried making my own applet with the above but I cannot have gogogate2 as a trigger only Smartthings can be a trigger
No, HA knows the open/close state and thinking that, I should be able to use Home Assistant automation to set the state of the of the virtual button based on the state of the gate which should work in theory