• 0 Posts
  • 10 Comments
Joined 20 days ago
cake
Cake day: March 12th, 2025

help-circle






  • I’ve got a Sever running Homeassistant with the ESPHome Addon. The Lights got a custom PCB in them using a ESP32 and a 4 channel warm/cold white led strip driver. But you can also build them using of-the-shelf parts. They are mains powered without a switch, instead i wired the switches to a sensor input. This allows me to control the light either via the switch, or Homeassistant. They even got some buttons directly on them to force them on/off if my server is down. I also got a radar in there for presence detection. Basically the same as an infrared motion sensor, but it doesn’t turn the light off while im on the toilet. Thanks to using Homeassistant, I can change the color temperature and brightness of the lights depending on the time of day. It’s really nice to have some dim and warm lights in the evening before going to bed.

    But ESPHome isn’t limited to some custom build stuff. Anything that uses an ESP32* chip can be flashed to run ESPHome instead of whatever it came with. I got some sonoff relays that control my shutters and an Emporia Vue 2 to measure my power usage. Depending on the device you might be able to flash it either via Wifi or you have to disassemble it to get to the programming pins. The nice thing about the ESP32 is that a vendor cannot lock the firmware. You can always flash something custom.

    ESPHome isn’t limited to Homeassistant however. You can also have each device run a web-server to control it, or connect it to MQTT.

    Also i should mention some alternatives:

    • Tasmota: similar to ESPHome, but while ESPHome as the configuration compiled into the firmware Tasmota can be reconfigured on the fly. Not like the update process of ESPHome is slow however.
    • WLED: if you only want to control some addressable RGB led strips. It does that one job way better than ESPHome.