Supports push buttons and toggle switches Reports # of clicks and length (in millis) of the last click Allows to define internal pull-ups Isolation between buttons Create modular code using callbacks ...
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 ...