https://www.makerspace-online.com/creating-home-automation-devices-with-esphome/?utm_source=mms
#RaspberryPi #EPS32 #ESPHome #automation #firmware #ESP8266 #RP2040 #microcontroller #OpenHardware #FOSS
People vastly overestimate how much compute they need for simple things. (I mean, let's not even talk about the huuuge waste it generative AI to do simple tasks).
I recently programmed an #eps32 to do:
- receive Raw wifi frames (esp-now) from sensors
- decrypt small messages
- maintain normal wifi connection
- forward messages to mqtt server (over ssl connection)
- measure temp via its own bme280
- measure CO2 via uart on a mh-z19b
- publish these to mqtt
- synchronize the time
- run an alarm code that starts blinking an RGB led
- send high frequency updates to the RGB led to breath a certain color
- receive mqtt events that change the alarm settings
Al within a single 160mhz #risc 4 core (esp32c3). Sure, some of the features are done via hardware peripherals (like hardware uart, i2s for the RGB, i2c for bme280, wifi peripheral for raw frame sending etc). But damn, it just works.
Similar in enterprise environment, how often a raspberry pi would have been enough, but instead takes 5 meetings to setup. Less is more!