Ask HN: What have you built with ESPHome, ESP8266 or similar hardware
Recently, ESPHome was on the homepage (https://news.ycombinator.com/item?id=40138228) and some people shared their constructions. What else have you built yourself with electronics like these? What makes your live easier or a little bit more fun?
156 comments
[ 3.9 ms ] story [ 249 ms ] threadCongrats on the little ‘un!
Control my garage doors (thanks ratgdo!) Control my front gate (already had gate controls, this just triggers open/close) Control various appliances (ESPHome can be installed on "smart plugs")
I definitely have additional things I'd like to do, but I've a dearth of time.
Adafruit has lots of really nicely made sensors and MCUs: https://www.adafruit.com/product/4867
[1] https://www.airgradient.com/blog/co2-sensors-photo-acoustic-...
My wife, who has pretty extreme ADD, loses stuff like her wallet, keys, etc. We have Tiles on most stuff that gets lost, but sometimes the volume of the alert is lacking. I'd like something that uses multiple ESP32 or Pi receivers in known locations to triangulate the position of the bluetooth beacon in 3D space.
It's probably a bad idea, there might not be accurate enough timings or data to pinpoint the location. I've read somewhere that UWB will be much better at this.
EDIT: Another project idea: Sensor Light Switches. Would add sensors like occupancy, noise, pressure, temp, etc etc to the standard light switch plate/box. Then have that lovely data slurped up by something pretty to display it all.
Basically, this will net you "room precision" location of people, but i can't see why it won't work for gadgets if they have a Tile on them.
Not quite "in 3D space", but may be useful enough...
I used raspberry so I can use room-assistant for home assistant. You could probably hack it up with a bunch of ESPs and a central server to aggregate it all. Then trilateration should be fairly simple.
I also built a set of inertial full body trackers for VR usage with them. Although they could use some redesigning, probably with lower power MCUs, current ones are a bit too large for my liking.
I also bought some LED matrix displays that I'm going to use to display information about when trains are due at my nearby station.
https://github.com/crankyoldgit/IRremoteESP8266/tree/master/...
Very reliable, ESPHome was never an issue. This was circa 2018.
How did you mount the linear actuator? I need to retain the ability to manually open/close the door. Maybe using a magnetic latch.
All of this is tied with a bow via Home Assistant.
I made an overly greasy movie to impress hiring managers on linkedin, should actually do a writeup and make some photos of the thing in its proper wooden frame...
https://files.rombouts.email/photoframe.mov
Also I run a fine tuned stable diffusion nowadays through Replicate ai, it now creates scenes starring my kids' pluche toys. Live view of the latest generation at the index page...
https://files.rombouts.email
Extra bonus points for support for real commercial readers using OSDP’s transparent mode or whatever they call it these days. As I understand it, an early standard involved a horrible hack that was so horrible that HID managed to patent it, but the protocol was redone to avoid being a horrible hack, and the new version is also unencumbered. Although maybe the spec costs $30.
I've also made an e-ink calendar with bin collection schedule with Inkplate (ESP32) [0] and now I'm making a Frets on Fire-compatible rhythm game based on ESP32-S3 [1] (initially made for the CCCamp's flow3r badge, now designing a simplified board for it [2][3])
[0] https://social.librem.one/@dos/106014037294005493
[1] https://social.librem.one/@dos/111478238181935805
[2] https://social.librem.one/@dos/112008114803722974
[3] https://social.librem.one/@dos/112179746918615110
I used ESPhome last month to measure how warm/cold the fish pond was (it was cold). That was a simple breadboard/Dallas one wire thing: https://esphome.io/components/sensor/dallas.html
This year, I'm taking it a step further by developing a management front-end. Instead of the hacker GUI using Pastebin, I'm implementing an extra M5 Atom running MicroPython with a web GUI. This interface allows me to configure the sensors, visualize sensor data with charts, and send notifications via NTFY to my phone.
I am considering open-sourcing the project.
https://www.lilygo.cc/products/t-relay-5v-8-channel-relay
https://de.aliexpress.com/item/1005006100423471.html.
https://shop.m5stack.com/products/atoms3-lite-esp32s3-dev-ki...
I used ESP32s for individual sensing components (mostly temperature at various parts of the process but also a load cell for weight). I used the Tasmota firmware and tied them all together using MQTT over wifi. I drove it with node-red on a raspberry pi to build several PID loops and process controls and if I were to do anything similar again I would use the same architecture except I would add network booting for the ESP32s so I could swap them out as needed.
Screenshot from a node-red dashboard from very early in the process.
https://imgur.com/a/so7iZJX
I ended up with 7 temp sensors and two load cells running on four ESP32s. By the time I had it optimized my job was to swap containers out every time it said to replace container over a speaker.
It's simple and I'm impressed that a single CR123A battery has lasted now 7+ months and still reading >= 3.1V.
https://www.idatum.net/remote-front-gate-sensor.html
https://blog.praccu.com/
I ended up using DFRobot firebeetle because it respects sleep mode. I'm at 15 months on one charge with a 10Ah battery.
https://foundrytechnologies.com/relay.php
It didn't sell in large volumes but it's fun to see the units that did sell checking in every 5 minutes from around the world to this day.