Live data from Hacker News

Ask HN: What have you built with ESPHome, ESP8266 or similar hardware

news.ycombinator.com

131–140 of 157 posts

Re: Ask HN: What have you built with ESPHome, ESP8266 or similar hardware

#131
post #69

I have three strings of ws2812b LEDs on my kitchen controlled by two ESP8266s with PIR sensors, providing various under-cupboard lighting. It sounds over-engineered and was quite a lot of work to set up, but I chose to 'roll my own' because I couldn't find anything pre-made with the right combination of features without being too bulky. (Honestly, I'd happily have bought someone's product instead.) A nice bonus is th…

I think you're one of todays lucky 10000 [0] learning about WLED [1] today :) [0] https://xkcd.com/1053/ [1] https://kno.wled.ge/ Edit: not sure about the PIR sensor though... Edit2: nevermind, it'll do: https://kno.wled.ge/basics/compatible-hardware/#miscellaneou...

Thank you kindly for the link (FYI, I've come across WLED in some demonstrations on YouTube) but I'm not sure how it improves things in my use-case?

I have two 8266s sitting waiting 24/7/365 for PIR triggers to then light up strings of LEDs for a (reset-able) length of time. That's it. This is achieved via (relatively simple) Arduino code using FastLED.

It's not entirely clear from the webpage, but it looks like WLED is partly a dashboard and partly a no-code environment to allow controlling LEDs, and setting them up from another device? Incorporating motion detection looks[0] quite[1] complex?

[0] https://www.reddit.com/r/WLED/comments/10arolp/motion_detect... [1] https://www.reddit.com/r/WLED/comments/15vkuej/motion_detect...

Re: Ask HN: What have you built with ESPHome, ESP8266 or similar hardware

#133
post #21

Earlier quoted context omitted.

I like this idea, any recommendations on specific CO2 sensor modules?

Not the OP, but I really like the SCD30 by Sensirion. It's the sensor used in the widely popular Aranet4, but the combo of sensor+MCU when you DIY it costs about a third of the commercially integrated product, so the feeling of thrifty hacker accomplishment is a nice bonus on top of the good HW.

The SCD30 also is a dual channel or dual beam NDIR sensor, meaning it doesn't really drift. Unlike most other ones that need the room to have outdoor-level CO2 once a day or week or so to calibrate.

Re: Ask HN: What have you built with ESPHome, ESP8266 or similar hardware

#134
A few years ago I made a temperature/humidity/barometric pressure sensor.

https://www.tindie.com/products/arantius/wi_ther-wireless-th... https://arantius.com/wi-ther/

As per the manual, it's ESPHome compatible if you prefer that, but I'm semi proud of the built in functionality.

Re: Ask HN: What have you built with ESPHome, ESP8266 or similar hardware

#135
This.

https://wandel.ca/pic.cgi?8a39449d

Being a bit old school and also unskilled at writing smartphone apps, wanted a universal control box for all kinds of homemade IOT things. It's just a dumb terminal that sends shaft encoder rotates/clicks to a server, and displays pixels sent to it. Based on an ESP-03 in a near ridiculous effort to use the minimum microcontroller to make this work. That also dates it. If I made this now it would have a better LCD than one of those old Nokia flip-phone ones.

Re: Ask HN: What have you built with ESPHome, ESP8266 or similar hardware

#136
post #4

I built a CO2 sensor that activates a fan in my office room to pull in fresh air if the CO2 levels go above 700ppm

I like this idea, any recommendations on specific CO2 sensor modules?

I used this one: SCD30. I don't have any experience with any other so can't comment on others. The SCD30 needs frequent recalibrations so I run it in continuous calibration mode and let the fan run on super low speed so it gets fresh air during the night as it sets its calibration based on the lowest ppm reading per day/week.

Re: Ask HN: What have you built with ESPHome, ESP8266 or similar hardware

#137
post #133
post #21

Earlier quoted context omitted.

Not the OP, but I really like the SCD30 by Sensirion. It's the sensor used in the widely popular Aranet4, but the combo of sensor+MCU when you DIY it costs about a third of the commercially integrated product, so the feeling of thrifty hacker accomplishment is a nice bonus on top of the good HW.

The SCD30 also is a dual channel or dual beam NDIR sensor, meaning it doesn't really drift. Unlike most other ones that need the room to have outdoor-level CO2 once a day or week or so to calibrate.

Mine drifts all the time.. might be a lemon

Re: Ask HN: What have you built with ESPHome, ESP8266 or similar hardware

#138

Earlier quoted context omitted.

Ha, that's a great idea. I have a smart exhaust fan in the av closet, but it still lacks air circulation, so opening the door slightly every now and then (particularly when there's high load / heat dissipation) could be a nice extra feature. How did you mount the linear actuator? I need to retain the ability to manually open/close the door. Maybe using a magnetic latch.

The door hinge has a spring that will self close if it’s not opened too far. I mounted the actuator so it pushes the door open just behind that point. That turned out to be simplest solution.

Love it, will do the same. Thank you for the inspiration!

Re: Ask HN: What have you built with ESPHome, ESP8266 or similar hardware

#139
post #75

I built a weather dashboard using an M5Paper from M5Stack. The M5Paper has an E-ink touch display, is the size of a small smart phone, and only needs to be charged every week or so. https://speechcode.com/blog/weather-dashboard/ I feel sheepish mentioning this project because there are so, so many weather displays like this. But this is mine, and not only was it fun to put together, but I use it every day.

I have a similar weather display made from the m5paper, but it doesn't look so nice (no graphics). It only updates once an hour though, and lasts over a month on a charge.

Re: Ask HN: What have you built with ESPHome, ESP8266 or similar hardware

#140
I'm monitoring and automating my solar charge controllers, battery management systems and my inverter using 3 separate esp32 boards. 3 Victron chargers, 4 Chinese BMS boards with BLE serial connections, one MPP Solar hybrid inverter and some inductive choke energy monitoring interfaces.

I'm really not proud of any of this code, and it's mostly based on other people's work so not much original here.

https://github.com/20after4/esphome-energy-monitor/

Maybe useful as an example of a moderately complex setup and decently reusable components, for example in bms.yaml

That and some crappy C++ Graphics code to draw some parameters on the M5Stack's lcd.

Post reply on HN