LIFX

From ago control wiki
Revision as of 08:27, 23 November 2016 by JoakimL (Talk | contribs)

Jump to: navigation, search

Contents

Overview

This page is documenting the state of development of the LIFX bulb integration.

Installation notes

Dependencies

pip:

wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
requests: http://docs.python-requests.org/en/master/
sudo pip install requests

Agocontrol LIFX service configuration

Configuration for the agocontrol service goes into /etc/opt/agocontrol/conf.d/lifx.conf. Example:

[lifx]
API=Cloud
APIKEY=add_your_key_here

Development history

2016-11-16 Connecting bulb to network, not working, trying different suggestions from the net

2016-11-16 Connecting bulb to network, working after just letting the app wait for 5 minutes

2016-11-16 Created API key, basic Python script in place to get bulb info - working

2016-11-18 Trying out lifx-sdk for LAN communication (UDP/IP) Dependencies -- https://github.com/smarthall/python-lifx-sdk -- https://pypi.python.org/pypi/bitstruct/3.3.1

2016-11-18 Able to list devices, turn on and off lights

2016-11-20 Started working on lifxbase.py and lifxnet.py

2016-11-20 Started working on agolifx.py - on/off working fine. Devices register with agocontrol

2016-11-22 Working on agolifx.py - basic dimming working fine

2016-11-23 Added testsuite

Personal tools