Switches the lights in the livingroom using KlikAanKlikUit switches. KaKu switching is done using the NewRemoteSwitch library by Randy Simons and was usually found on his Bitbucket repo.
Now, I use the Github repo of 1technophile. This is also a dependency in platformio_envs.ini.
> Warning: This version only works with ESP8266 devices. For some reason I can't get the NewRemoteSwitch library to work correctly on ESP32
(Seems fixed now)
- Listens to actions from actual remotes
- Listens to MQTT commands
- Publishes actual state (from external remote or self) to MQTT
- Implement a wifi manager (v1.0.0)
- MQTT config using WiFiManager (v1.0.0)
- ArduinoOTA (startable using MQTT command) (v1.0.0)
- Autodiscovery in HomeAssistant (v1.0.0)
- Use LED_BUILTIN for status info (connecting etc) (v1.0.0)
- ESP32 compatibility (v1.0.1)
- Cleanup code (ongoing project 😉 )
- Add unit tests
- Own web interface for config
- Training option for KaKu addresses
- Dimming
- MQTT-Now integration