Skip to content

frakman1/lifx-lan-gui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lifx-lan-gui

A simple LIFX Desktop (Windows, Linux and Mac) app that uses appJar for the GUI and lifxlan for the underlying driver.

image

Pre-Compiled Binaries

If you just want to run this app and not faff around with git and python, then go straight to the releases page and download the pre-compiled Mac or Windows binaries.

Installation Instructions

Prerequisites

This is a Python 3 project (I use Python 3.6). Your default python command might already point to python3 . However, if you run both python 2.X and 3.X on the same machine like I do, you might have two separate commands (python for 2.x and python3 for 3.x). Similarly for pip and pip3. That is why I explicitly use python3 and pip3 in my instructions. Your setup may be slightly different.

git, python3 and pip3 must already be installed.

$git clone https://github.com/frakman1/lifx-lan-gui.git
$cd lifx-lan-gui/
$pip3 install appJar
$pip3 install lifxlan
$pip3 install colour
$pip3 install configobj
$pip3 install numpy
$pip3 install mss
$pip3 install opencv-python
$pip3 install scipy
$pip3 install pillow

hint: If you get errors installing the above due to some missing dependency, then try downloading its precompiled package from here and pip install its .whl file. e.g.:

$pip3 install netifaces‑0.10.6‑cp36‑cp36m‑win_amd64.whl

2022 Update

Newer versions of Python appear to break this. To use python 3.6.5 again, I had to use pyenv like this:

brew install pyenv
pyenv install 3.6.5
pyenv local 3.6.5
~/.pyenv/shims/pip3 install --upgrade pip
~/.pyenv/shims/pip3 install appJar lifxlan colour configobj numpy mss scipy pillow
~/.pyenv/shims/pip3 install git+https://github.com/opencv/opencv-python
~/.pyenv/shims/python3 lights.py

Run Instructions

$python3 lights.py

Supported Platforms

Currently tested on Windows 7 & 10, 64bit, Linux (Ubuntu 14.04.1-32bit) and Mac (Sierra and Mojave).

Packaging notes: