Add: https://esphome.io/
... and it talks MQTT and connects straight into Home Assistant.
https://lastminuteengineers.com/esp8266-dht11-dht22-web-serv...
If a NodeMCU board is too big for you then an ESP 01S is smaller and even cheaper. Less I/O options though but very useful. Needs a writer and wires to program. You can get one with a relay that is capable of switching 16A.
https://frenck.dev/diy-smart-doorbell-for-just-2-dollar/ - here's an example of a project. $2 is a bit ambitious I spend £7 for two of them on Amazon. That's two ESP-01S and two relays!
I don't do Arduino. esphome is a lot easier for me. You use pip to get the thing installed under your user account. Write a .yaml file which is largely copy and paste from examples and then install it through a USB cable the first time and then over the air after that.
Be prepared to wave goodbye to your spare time and seriously consider a separate VLAN/SSID for these things.
I got the DHT22 to work at 3.3V. But an old 1-Wire DS18B20 I have is very finicky. The pullup needs to be 500-800 ohms. Any experience with 1-wire at 3.3V? (Parasitic power mode). Worked great on a 5V nano.
I can wrap my head around doing the soldering.
But power means either power adapter or battery?
If I’m doing power I might as well use a raspberry.
Like the parent I have a few temperature/humidity sensors dotted around the house. Using a PI would be overkill and I'd have to keep the system packages up to date, worry about failing storage-device, etc.
Damn. Was hoping that isn't the answer.
Phone chargers everywhere are ugly & in the way
>I'd have to keep the system packages up to date, worry about failing storage-device, etc.
Fair point
This is what virtually every WiFi toaster around uses now. If you see a wifi device below $20, it is almost certain that it will be Esp32 inside
ESP32 is a series of low cost, low power system on a chip microcontrollers with integrated Wi-Fi and dual-mode Bluetooth.
some kind of IoT chips? can't tell what the real world impact of this is.
edit: whoa, thanks for context folks! i'm surprised this wasn't obvious from wiki pages.