Skip to content

eerootsus/l1-esphome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

l1-esphome

Sonoff L1 RGB UART Component for ESPHome

Acknowledgements

This is based on the amazing work by:

While Emory's implementation works, I still wanted to have bidirectional serial communication so changes with the IR remote would be reflected back to Home Assistant. Furthermore, I wanted to have a more streamlined development process and not having to copy files to the HA server every time I made a change, so custom component was the way to go.

Installation

Configure the ESPHome device with the YAML found in example.yaml. Update the instance name to your preference and configure OTA, Wi-Fi, etc. per your needs. All light parameters, like gamma correct and transition time should work as well. Compile and upload the firmware to your device.

Disclaimer

This is my first attempt at an ESPHome custom component, so it is far from being perfect. Furthermore, it's my first time ever writing C++, so it might be a weird mix of vectors and strings, but my objective was to get it to work.

I'm ofcourse open to suggestions, forks and improvements.

Use at your own peril.

About

Sonoff L1 RGB UART

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published