(→Installation) |
|||
Line 1: | Line 1: | ||
− | + | = Overview = | |
This page is documenting the state of development of the LIFX bulb integration. | This page is documenting the state of development of the LIFX bulb integration. | ||
− | + | = Status = | |
− | LIFX White and LIFX Color bulbs | + | LIFX White and LIFX Color bulbs are tested and supported. |
Command set: ON, OFF, DIM, SETCOLOR - working fime | Command set: ON, OFF, DIM, SETCOLOR - working fime | ||
− | + | = Installation = | |
− | + | ||
== Install package == | == Install package == | ||
sudo apt-get install agocontrol-lifx | 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 ==== |
− | + | ||
<pre> | <pre> | ||
[lifx] | [lifx] | ||
API=Cloud | API=Cloud | ||
− | APIKEY=add_your_key_here | + | APIKEY=<add_your_key_here> |
+ | PollDelay=10 # Seconds between checking e.g. dim level | ||
</pre> | </pre> | ||
− | == | + | === LAN interface === |
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. | ||
− | |||
− | |||
− | + | ==== Dependencies ==== | |
+ | * [https://github.com/mclarkk/lifxlan LIFXLAN SDK] - included in the agocontrol package. | ||
− | === | + | ==== LAN service configuration ==== |
− | + | Example: | |
<pre> | <pre> | ||
[lifx] | [lifx] | ||
Line 42: | Line 40: | ||
PollDelay=10 # Seconds between checking e.g. dim level | PollDelay=10 # Seconds between checking e.g. dim level | ||
</pre> | </pre> | ||
+ | |||
+ | == Enable and start daemon== | ||
+ | Then enable and start the daemon | ||
+ | sudo systemctl enable agolifx.service | ||
+ | sudo systemctl start agolifx.service |
Contents |
This page is documenting the state of development of the LIFX bulb integration.
LIFX White and LIFX Color bulbs are tested and supported.
Command set: ON, OFF, DIM, SETCOLOR - working fime
sudo apt-get install agocontrol-lifx
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.
The Cloud interface is stable
[lifx] API=Cloud APIKEY=<add_your_key_here> PollDelay=10 # Seconds between checking e.g. dim level
This interface is extremely experimental at the moment and should not be used except for development.
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
Then enable and start the daemon
sudo systemctl enable agolifx.service sudo systemctl start agolifx.service