Today I added a 12 volt relay and smart outlet to my garage door opener. So when I turn the switch on, it activates the relay and open/ closes the garage door. I would like to set up a rule to have the switch turn on for 2 seconds and then off & stay off. It only needs to turn on when I want to open or close the garage door. Also, if i add the outlet to my dashboard will the switch stay in the off mode.
What smart outlet did you use? It may be possible to write a driver for it that automatically turns it off if it is turned on. I use a Securifi Peanut for the same purpose and use a momentary driver for the Securifi Peanut.
If you stick with RM, your rule would look like this:
Trigger: Outlet turns on
Action: Turn outlet off with a delay of 2 seconds
Hey, I decided to add a Samsung contact sensor to let me know if the garage door is open. I want to implement the contact into to my rule but can't seem to get it to work yet. I got the sensor to connect to HE, but I would like a notification when the garage door is open when the contact sensor is open.
Control the Garage Door based on the position of the sensor (open/closed). This rule makes use of two virtual switches "Close Garage Door" and "Raise Garage Door".
This rule sends me notifications when the door is open or closed, and will automatically close the door after 1 hour, unless a virtual switch called "Persist" is on.