LIFX

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
(LIFX LAN interface)
(Installation)
Line 30: Line 30:
 
This interface is extremely experimental at the moment and should not be used except for development.
 
This interface is extremely experimental at the moment and should not be used except for development.
 
=== Installation ===
 
=== Installation ===
<pre>
+
sudo apt install agocontrol-lifx
sudo apt install python-bitstring </pre>
+
  
Dependency: [https://github.com/mclarkk/lifxlan LIFXLAN SDK]
+
Dependency: [https://github.com/mclarkk/lifxlan LIFXLAN SDK] - included in the agocontrol package.
  
 
=== Agocontrol LIFX LAN service configuration ===
 
=== Agocontrol LIFX LAN service configuration ===

Revision as of 15:40, 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 agocontrol-lifx

Dependency: LIFXLAN SDK - included in the agocontrol package.

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