Yeelight smart bulb adapter for Mozilla WebThings Gateway.
NOTE: Devices need to have Developer Mode (a.k.a. LAN Control) enabled before they can be controlled. To enable this feature:
- Add the bulb to the Yeelight app.
- Click on the bulb you just added.
- In the advanced features menu (looks like an up arrow in the bottom right corner), click on "LAN Control".
- Toggle the switch on.
LED Bulb II (Color) - Model YLDP06YL
All other lights.
If you're running this add-on outside of the official gateway image for the Raspberry Pi, i.e. you're running on a development machine, you'll need to do the following (adapt as necessary for non-Ubuntu/Debian):
sudo apt install python3-dev libnanomsg-dev
sudo pip3 install nnpy
sudo pip3 install git+https://github.com/mozilla-iot/gateway-addon-python.git