{"id":1344,"date":"2023-04-09T21:39:53","date_gmt":"2023-04-10T02:39:53","guid":{"rendered":"https:\/\/robotsbench.com\/?p=1344"},"modified":"2023-04-09T21:41:27","modified_gmt":"2023-04-10T02:41:27","slug":"controlling-relays-with-home-assistant-and-esphome","status":"publish","type":"post","link":"https:\/\/robotsbench.com\/controlling-relays-with-home-assistant-and-esphome\/","title":{"rendered":"Controlling relays with Home Assistant and ESPHome"},"content":{"rendered":"
I hope that the products recommended here will help you build great projects. Just so you know, if you buy through the links on this page on Amazon or Banggood (among others), RobotsBench may get a small share of the sale (as an Amazon affilate, I earn from qualifying purchases). This helps to keep the site alive and allow me to write more articles. Thank you!<\/div>\n

I’ve been looking at the best way to control relays using Home Assistant. My husband wanted an automated garage door opener, but something harder to hack than the average remote control and that we could remove in the summer when we’re not using it. <\/p>\n\n\n\n

\n
\n

It could be done with a few smart plugs, but it would have been a mess of wires. Also, like in our case, if you already have bare wires or are handling DC power it’s more convenient to just plug your wires in a terminal and put everything in a box.<\/p>\n\n\n\n

I’m also looking to reuse this for a few outdoor projects, and our WiFi network with an outdoor antenna has a lot more range than our ZigBee network.<\/p>\n\n\n\n

The ESPHome platform already has all the necessary software elements to drive a board with a few relay, but no complete board with both an ESP8266 chip and the relay were available. I wanted something cleaner than that, so I set out to build my own PCB.<\/p>\n<\/div>\n\n\n\n

\n
\"\"<\/figure>\n<\/div>\n<\/div>\n\n\n\n