This project is built using PlatformIO. The code is structured to separate hardware interactions from the core logic, making it testable without actual Arduino hardware.
A push button is connected to the ESP32 microcontroller. When its state changes, it will trigger an MQTT publish which will toggle the light controlled by a Shelly plus 1 relay. Keep in mind that you ...
Yes, you can program Arduino with Python using the PyFirmata library. While Arduino traditionally uses C++ code, Python can control Arduino boards through the Firmata protocol, allowing you to ...