Raspberry Pi / ESP8266 / ESP32 (Python Code)