@XxTexMex wrote:
Hi all
I have a Sonoff wich control a Gate, so i need to turn it on and than after some seconds turn it off.
The problem is that i don’t want to create a trigger for turning it off everitime it goes on, because sometimes i have to wait for another event before stopping it.
I want something that turn it on and than turn it off after clicking it like a button, for using it with the Siri assistant on HomeKit.
The expected final result should be a “Ehi Siri, open the gate” command that activates the sonoff by switching it off immediately afterwards.Can you give me a code example for helping me out.
Thanks
Posts: 1
Participants: 1