Skip to content

frakman1/lifxscreen2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lifxscreen2

LIFX Movie experience. Continuously calculates the average colour of your screen and sets your LIFX bulb(s) to that color.

Watch movies (or anything you want on your screen) in style. Like THIS!

image

(seeks to improve over the original lifxscreen at https://github.com/frakman1/lifxscreen)

  • This version uses the much faster LAN protocol (vs the slower HTTP API).
  • Splits the screen into left and right segments and allows you to control two sets of bulbs independently.
  • Crops the screen so as not to take the black portion into account when calculating the average colour.
  • Better black screen colour handling.

Tested on a Windows-7, 64bit machine. Python version 2.7.5.

Prerequisites:

(Be sure to install the 2.0 branch of lazylights) pip install git+https://github.com/mpapi/[email protected]

  • Around line 41 (createBulb('10.10.10.2','XX:XX:XX:XX:XX:XX')) , Replace both the IP address and 'XX:XX:XX:XX:XX:XX' with the MAC addresses of your bulbs. You should be able to find the MAC Address on the bulb itself, or on your router page, or by using my iOS app LIFX Ambience

image

Syntax:

python lifxscreen2.py

...trivial change

About

LIFX Movie experience

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages