Skip to content

akashcraft/LED-Controller

Repository files navigation

LightCraft

Software to control Bluetooth LED Strips like QHM-0A9E

Features

  • Dark Mode
  • Connect Button and Power Toggle
  • Single Colour Control
  • Hex Colour Control
  • Custom Colour Saves
  • Pulsing and Flashing Control
  • Frequency Control
  • Alert SOS (Sounds from Hitman 3)
  • Media Player with LED Sync
  • Keyboard Shortcuts
  • Settings with Custom Operation Codes

User Manual

Please read the Wiki.

Installation

LightCraft can be installed on Windows using the Installer file provided in the Releases section. You may also choose to run the source code yourself. Run the lightcraft.py file. Please read important notes below. Here are the requirements:

Install via the requirements.txt. I highly recommend you create a virtual environment (like conda).

pip install -r requirements.txt

or simply paste the following in terminal

pip install customtkinter, CTkColorPicker, bleak, pillow, pygame, pynput, mutagen, opencv-python

Clone this Repository by

git clone https://akashcraft/LED-Controller.git

Screenshots

Alert SOS

Music Player

Settings

Important Notes

LightCraft CLI

This version will not be developed further. Use it for a light weight option if you just want to send custom commands to your LED Strips. Please read the Wiki for more information.

LightCraft GUI

If you plan to run the project locally, you will need to modify the CTkColorPicker package as the stock package is modified to add functionality to LightCraft. Find the file in the repository and overwrite the stock file.

LightCraft stores its settings and custom operation codes data in the Settings.txt which must be located in the same project folder. If this is not possible, LightCraft will attempt to re-create the files during the pre-GUI checks. Resources folder contains all the GUI elements and this folder must not be deleted. LightCraft will not load the GUI in that case.

MacOS

Since the application is not signed with an Apple Developer certificate (to avoid the annual $100 Apple Developer Program fee), macOS may block it from opening by default. To proceed, please manually approve the application using one of the following methods:

Option 1 — Remove Quarantine via Command Line

  1. Open Terminal.

  2. Run the following command:

    xattr -d com.apple.quarantine /path/to/LightCraft.app
    

Option 2 — Use Sentinel If you are using Sentinel (https://github.com/alienator88/Sentinel):

  1. Open Sentinel.
  2. Locate the blocked application in the quarantine or security list.
  3. Approve or allow the application.
  4. Relaunch the application.

Option 3 — Allow from System Settings

  1. Attempt to open the application once.
  2. Open System SettingsPrivacy & Security.
  3. Scroll to the Security section.
  4. Click Open Anyway next to the blocked application.

After completing one of the above steps, the application should open normally.

Who can use this?

You are free to download and edit the source code files however you like. Should you wish to publish this in your project or socials, please provide appropriate credits.

You can add this as your references (or description) if you like:

Source Code: https://github.com/akashcraft/LED-Controller
Website: akashcraft.ca

Donation

If you like my work and would like to donate me, I would really appreciate it!

About

Software to control Bluetooth LED Strips like QHM-0A9E

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages