Interact with LIFX bulbs on the same network as the ESP8266!
Based on the ESP8266_RTOS_SDK (included as a git submodule)
Must have built the esp-open-sdk project. This should have cross-compiled the xtensa-lx106-elf- compiler binaries. They should be added to the system path, but can also be specified manually within the Makefile in the root of this repository.
Don't forget to init and sync the submodule in this repository before use!
Run make
from within the root of this repository.
Do not run make
from within the src/
directory, it is expected to not work.
This should produce binaries in the /bin directory.
"flash.sh" should deploy the binaries to the ESP8266 if
esptool.py has been
installed and is available on the system path.
This project barely fits on the default ESP8266 512k memory map.
See this critical blog
post
for details on how to expand the irom0_0_seg.
NOTE: you'll need to modify flash.sh
correspondingly!
Hat tipping to kacang bawang and kolban.
- mpapi/lazylights used as inspiration and for testing
- Protocol details taken from magicmonkey/lifxjs