I have been lurking for several months now and have really appreciated the quality of this community so I thought I would share this little breakthrough I had today.
I was searching for a simple and CHEAP way to include the garage door in my system. Then the other day I ran across a little relay device on amazon for $9. I connected the old school wired push button wires to the normally open side of this relay, connected the power plug to a TP-Link HS105 (plug in module) that I already had laying around, and bam within 5 minutes had my door automated. Now of course Home Assistant doesnât know the status of the door but thatâs a project for another day.
Oh I did I also write a âwatchdogâ automation to make sure that switch canât stay on for more than 1 second (so the âbuttonâ doesnât stay pushed).
This sounds exactly like what Iâm looking for. Dan, can you please give me more information about how you set up the relay and how reliable/secure it has been?
Sorry it took so long to respond, been away. Anyway itâs pretty simple. You trigger a HS105 to turn on, itâs plugged into the little power relay (see Amazon link in my first post) and the relay âclosesâ the switch contact on your garage (it creates a short between the two screw terminals your normal switch is connected to). Then I have a watchdog timer setup on HA to turn the HS105 back off (see below). Itâs been rock solid since I installed it and it even works with google assistant so I can just say âhay google open the garage doorâ as I am driving up the street and like magic it opens. I also have the Monoprice tilt sensor so I can monitor the status and itâs also working great.
My âwatchdogâ looks like this:
# Prevent âholding downâ the garage button
alias: âWatchdog Garage Door Buttonâ
initial_state: true
trigger:
platform: state
entity_id: switch.garage_door
from: âoffâ
to: âonâ
for:
seconds: 3
action: