LIFX

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
(Installation)
(LIFX LAN interface)
Line 34: Line 34:
  
 
Dependency: [https://github.com/mclarkk/lifxlan LIFXLAN SDK]
 
Dependency: [https://github.com/mclarkk/lifxlan LIFXLAN SDK]
 +
 +
=== Agocontrol LIFX LAN service configuration ===
 +
Configuration for the agocontrol service goes into /etc/opt/agocontrol/conf.d/lifx.conf. Example:
 +
<pre>
 +
[lifx]
 +
API=LAN
 +
NumLights=4    # The number of bulbs you have. By setting this, the discovery goes much faster
 +
PollDelay=10    # Seconds between checking e.g. dim level
 +
</pre>

Revision as of 15:31, 3 January 2017

Contents

Overview

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

Status

LIFX White and LIFX Color bulbs as supported.

Command set: ON, OFF, DIM, SETCOLOR - working fime

Installation

Install package

sudo apt-get install agocontrol-lifx

Enable and start daemon

Then enable and start the daemon

sudo systemctl enable agolifx.service
sudo systemctl start agolifx.service


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

LIFX LAN interface

This interface is extremely experimental at the moment and should not be used except for development.

Installation

sudo apt install python-bitstring 

Dependency: LIFXLAN SDK

Agocontrol LIFX LAN service configuration

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

[lifx]
API=LAN
NumLights=4     # The number of bulbs you have. By setting this, the discovery goes much faster
PollDelay=10    # Seconds between checking e.g. dim level
Personal tools