All Projects → samclane → LIFX-Control-Panel

samclane / LIFX-Control-Panel

Licence: MIT license
As LIFX no longer supports their Windows 10 app, I created an open-source alternative for controlling LIFX-brand smart lights.

Programming Languages

python
139335 projects - #7 most used programming language
Batchfile
5799 projects

Projects that are alternatives of or similar to LIFX-Control-Panel

magic-home
A .NET library that imports functionality from the Magic Home app, allowing control of smart lights.
Stars: ✭ 23 (-83.21%)
Mutual labels:  light, smart-bulb
hacs-govee
A HACS repository for Govee light integration
Stars: ✭ 173 (+26.28%)
Mutual labels:  light
Typora Misty Theme
Yet another elegant Typora theme designed with aesthetics in mind.
Stars: ✭ 179 (+30.66%)
Mutual labels:  light
Dsladapter
🔥 Kotlin时代的Adapter, Dsl 的形式使用 RecyclerView.Adapter, 支持折叠展开, 树结构,悬停,情感图状态切换, 加载更多, 多类型Item,侧滑菜单等
Stars: ✭ 231 (+68.61%)
Mutual labels:  light
Musicbeam
MusicBeam is a multi plattform software to use a projector as a rgb laser.
Stars: ✭ 186 (+35.77%)
Mutual labels:  light
Vqengine
DirectX 11 Renderer written in C++11
Stars: ✭ 250 (+82.48%)
Mutual labels:  light
Slimsocial For Facebook
Light version of Facebook. Light both in the weight and in the use.
Stars: ✭ 171 (+24.82%)
Mutual labels:  light
vscode-theme-gruvbox-minor
Gruvbox theme for Visual Studio Code
Stars: ✭ 17 (-87.59%)
Mutual labels:  light
yiq
Returns white when a color is dark and black when a color is light.
Stars: ✭ 24 (-82.48%)
Mutual labels:  light
Themify
👨‍🎨 CSS Themes Made Easy. A robust, opinionated solution to manage themes in your web application
Stars: ✭ 218 (+59.12%)
Mutual labels:  light
Alfred Simple
Simple theme for Alfred
Stars: ✭ 217 (+58.39%)
Mutual labels:  light
Iio Sensor Proxy
IIO accelerometer sensor to input device proxy
Stars: ✭ 192 (+40.15%)
Mutual labels:  light
Xiaomi miot raw
Universal Xiaomi MIoT integration for Home Assistant
Stars: ✭ 240 (+75.18%)
Mutual labels:  light
Yolo Face With Landmark
yoloface大礼包 使用pytroch实现的基于yolov3的轻量级人脸检测(包含关键点)
Stars: ✭ 180 (+31.39%)
Mutual labels:  light
ColorPickerLib
A WPF/MVVM implementation of a themeable color picker control.
Stars: ✭ 44 (-67.88%)
Mutual labels:  light
Bh1750
An Arduino library for the digital light sensor breakout boards containing the BH1750FVI IC
Stars: ✭ 173 (+26.28%)
Mutual labels:  light
Limitrr
Light NodeJS rate limiting and response delaying using Redis - including Express middleware.
Stars: ✭ 203 (+48.18%)
Mutual labels:  light
Ailight
AiLight is a custom firmware for the esp8266 based Ai-Thinker (or equivalent) RGBW WiFi light bulbs
Stars: ✭ 248 (+81.02%)
Mutual labels:  light
chestnut.vim
Minimal syntax highlighting for 16-color terminals.
Stars: ✭ 31 (-77.37%)
Mutual labels:  light
KiwiPlayer
Kiwi Player allows you go forward and go back in videos easily! 💃
Stars: ✭ 18 (-86.86%)
Mutual labels:  light

LIFX-Control-Panel

codecov Smoke Build And Test

LIFX-Control-Panel is an open source application for controlling your LIFX brand lights. It integrates simple features, such as monitoring and changing bulb color, with more advanced ones, like:

  • Average Screen Color
  • Color Eyedropper
  • Custom color palette
  • Keybindings

Screenshot

Color Averaging Demo (Click for Video):

Avg Test Youtube

The application uses a fork of mclarkk's's lifxlan module to discover and send commands to the lights.

The fork can be found here.

Quick Start

There are 2 3 ways to install:

  1. Go over to releases and download the latest .exe file.

  2. Run pip install lifx-control-panel. To start run python -m lifx_control_panel.

Starting the program takes a moment, as it first must scan your LAN for any LIFX devices.

Running the source code

You can now install through PyPI, by running pip install lifx-control-panel. This will automatically install dependencies.

To manually install the dependencies, run pip install -r requirements.txt.

Due to some initial PyCharm cruft, the environment paths are a bit messed up.

  • The main script path is:
    • ..\LIFX-Control-Panel\lifx_control_panel\__main__.pyw
  • The Working Directory is:
    • ..\LIFX-Control-Panel\lifx_control_panel
  • Additionally, the Add content roots to PYTHONPATH and Add source roots to PYTHONPATH boxes are checked
    • I haven't been able to reproduce this in VSCode, yet.

Building

LIFX-Control-Panel uses PyInstaller. After downloading the repository, open a command window in the LIFX-Control-Panel directory, and run pyinstaller __main__.pyw. This should initialize the necessary file structure to build the project.

As admin, run pip install -r requirements.txt to install project dependencies. Note that pyaudio requires the use of pipwin to install - use pip install pipwin to obtain pipwin then install pyaudio using pipwin install pyaudio

To build the project, simply open a terminal in the same folder and run build_all.bat in the command prompt. It will call pyinstaller on build_all.spec. This should generate .exe files in the /dist folder of the project for each of the 3 specs:

  • main
    • This is the file that is used to build the main binary. The console, as well as verbose logging methods, are disabled.
  • debug
    • This spec file enables the console to run in the background, as well as verbose logging.
  • demo
    • The demo mode simulates adding several "dummy" lights to the LAN, allowing the software to be demonstrated on networks that do not have any LIFX devices on them.

If you need help using PyInstaller, more instructions are located here.

Testing progress

I have currently only tested on the following operating systems:

  • Windows 10

and on the following LIFX devices:

  • LIFX A19 Firmware v2.76
  • LIFX A13 Firmware v2.76
  • LIFX Z Firmware v1.22
  • LIFX Mini White Firmware v3.41
  • LIFX Beam

I've tried to test on the following operating systems:

  • MacOS X
  • Fedora Linux

However, the biggest hurdle seems to be the tk GUI library, which is not supported on MacOS X, and requires extra library installations on Linux.

Feedback

If you have any comments or concerns, please feel free to make a post on the Issues page.

If you enjoy LIFX-Control-Panel, please Like and leave a review on AlternativeTo.

NEW

Join our Discord Server

Donate

LIFX-Control-Panel will always be free and open source. However, if you appreciate the work I'm doing and would like to contribute financially, you can donate below. Thanks for your support!

Buy Me a Coffee at ko-fi.com

paypal

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].