My Garage door monitoring and control solution

Now that I’m using Home Assistant, I needed to modernize some things that were standalone shell scripts. The old shell script is here and the new and improved solution is here:

It’s not overly complicated. It reports the open/close state of the door sensors over MQTT, and it takes commands over MQTT to trigger the relays to open and close the doors.

I realize that HA has the rpi_gpio integration and could also do this directly, but the reed switches and relays are still hooked up to the original RasPi that’s still used for other things as well.

Cheers.

Surely the mqtt cover would be the solution you seek?

Huh, didn’t know that was a thing. Learned something new. Regardless, I still had to mqtt-ify my current setup, which is what this post is about.

Yep good work.

After renaming things in the configs to use cover instead of switch, I actually think switch is a cleaner look and feel. Unlike a roller shade, I don’t personally have a need to control the door outside of opening and closing it.