PS: to me RPi is overkill for all but the most intense compute requirements. So is the esp32 to a lesser degree. Don’t always need 240MHz dual core RISC with FreeRTOS and 2.4G radio…
I default to Arduino, usually attiny devices for simple, low power stuff. I am really liking the new TinyAVR line. Quicker programming, way more functionality, etc.