LIFX

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
(LAN service configuration)
(Cloud service configuration)
Line 26: Line 26:
 
APIKEY=<add_your_key_here>
 
APIKEY=<add_your_key_here>
 
PollDelay=10                # Seconds between checking e.g. dim level
 
PollDelay=10                # Seconds between checking e.g. dim level
 +
FadeTime=2.0    # 2 seconds fade time when dimmin up or down
 
</pre>
 
</pre>
  

Revision as of 15:04, 6 January 2017

Contents

Overview

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

Status

LIFX White and LIFX Color bulbs are tested and supported.

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

SetColourTemp is implemented, but not yet visible in the UI.

Installation

Install package

sudo apt-get install agocontrol-lifx

Configuration

There are two different APIs for LIFX, Cloud based or native LAN. Both offer same functionality, but the LAN interface is much faster. Configuration for the agocontrol service goes into /etc/opt/agocontrol/conf.d/lifx.conf.

Cloud interface

The Cloud interface is stable

Cloud service configuration

[lifx]
API=Cloud
APIKEY=<add_your_key_here>
PollDelay=10                # Seconds between checking e.g. dim level
FadeTime=2.0    # 2 seconds fade time when dimmin up or down

LAN interface

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

Dependencies

LAN service configuration

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
FadeTime=2.0    # 2 seconds fade time when dimmin up or down

Enable and start daemon

Then enable and start the daemon

sudo systemctl enable agolifx.service
sudo systemctl start agolifx.service
Personal tools