Connect Ikea Plugget LCD Clock to ESPHome for Basic Actions
The light of Plugget disturbed me at night, so i wanted to turn it off automatically. Also, changing from and to daylight time should be easier.
- Ikea Plugget
- ESP32-C3 Microcontroller
- Wired the ESP up to the 5v Input of the Plugget.
- Wired positive side of Plus, Minus and Clock Button to GPIO 0,1,3
- ESP pulls Pins HIGH on Boot
- When Button in HA is pressed, ESP pulls LOW and therefore simulates physical button press
- Code contains pre-defined HA Buttons for adding or substracing hour / minutes which are basically macros
- Light is also a macro, but reflects assumed state in HA to allow use in Automations