Skip to content

Switches the lights in the livingroom using KlikAanKlikUit switches.

License

Notifications You must be signed in to change notification settings

JoostAB/livingroom-lights

Repository files navigation

Livingroom lights

License: GPL v3 Build

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)

Enhancements since initial version

  • Listens to actions from actual remotes
  • Listens to MQTT commands
  • Publishes actual state (from external remote or self) to MQTT

Todo

  • 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

NTH (Nice to haves, so maybe)

  • Own web interface for config
  • Training option for KaKu addresses
  • Dimming
  • MQTT-Now integration

About

Switches the lights in the livingroom using KlikAanKlikUit switches.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published