I’ve been building ESP32-based smart home devices using cheap sensors for the past few months. My drawer is filled with ESP32 boards, PIR modules, temperature sensors, sound sensors, light sensors, ...
Automate dark and light mode based on your surroundings.