this post was submitted on 28 Aug 2023
504 points (98.5% liked)

Asklemmy

43945 readers
970 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

Edit: so it turns out that every hobby can be expensive if you do it long enough.

Also I love how you talk about your hobby as some addicts.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Bishma@discuss.tchncs.de 1 points 1 year ago

Mine is pretty basic but is built on the shoulders of giants. Also that $20 was from pre-pandemic / pre-chip shortage prices. I'm guessing it's more like $35 now, or maybe high $20s from ali express.

I use Home Assistant for home automation. It has a now official addon called ESPHome for easily configuring esp devices and adding them to Home Assistant.

  • I bought some cheap dev boards off amazon and thankfully they worked
    • an esp8266 microcontroller with IC2 headers and a microusb port already onboard
    • a bmp280 that measures temp, humidity, and barometric pressure
    • a lux sensor with a plastic dome over the top
  • I soldered them together on a prototyping board

All the components were supported by esphome, so I just needed to write the device config and then flash the devboard via esphome (in a web browser) over the built in usb.

I 3d printed a housing for it, but you can also buy boxes. It needs airflow but also needs to stay dry. You can use a spray sealant to help avoid corrosion from ambient humidity. I skipped that step because I want to see how quickly it becomes problematic... and I should probably check on that.