ESPHome, an open-source project, lets you program ESP32 and ESP8266 microcontrollers, along with sensors and other hardware, ...