Skip to main content
LumiSync — Screen. Sound. Light. In sync.

LumiSync

Control your lights, switches and smart plugs. Sync local lights with your screen or music.

Visit the website: lumisync.minlor.net

Python 3.11+ PyPI version License: MIT GitHub stars

Features • Installation • Usage • Development • Roadmap


What's new in 0.8.1

Tuya Smart and LSC email/password sign-in now works without an Android app package. Fresh sign-ins were checked with real Tuya, LSC and Govee accounts. Rapid device controls do less repeated UI style work, and local account logs help diagnose sign-in failures without recording credentials. See the release notes.

Features

Feature Description
Monitor Sync Map screen regions to compatible local lights, with display selection and custom LED layouts
Music Sync Choose audio reactions and palettes, or use Auto Director
Device controls Power, brightness, color and white temperature appear only where supported; switches and plugs get appropriate controls
Personal accounts Govee, Tuya Smart and LSC email/password; Govee API keys; Tuya/Smart Life QR authorization
Plug metering Device-reported watts, volts and amps; monthly energy history and daily readings on supported Tuya/LSC plugs
Panel tools iDotMatrix drawing, animation, clock, rotation, countdown and scoreboard
Find Devices Refresh local discovery, every linked account and saved readings together; match authorized Tuya devices to local addresses
Desktop UI Device type icons, adaptive cards and inspector, keyboard controls, and Acrylic, Mica or Solid Dark materials

Supported devices

The dependencies for these transports ship with a single install. Device support depends on its firmware, capabilities, and the account's authorization.

Family Transport Notes
Govee strips/bulbs LAN (UDP), account MQTT, Platform API LAN for sync; account/API connections for manual controls
iDotMatrix panels Bluetooth LE Drawing, animations, clock, rotation, countdown, scoreboard; sync uses an ambient colour
LSC / Tuya WiFi lights, switches and plugs Tuya LAN, personal account or Smart Life QR LSC/Tuya Smart email/password; authorized local-key import; controls follow the device schema; supported plug metering

See account setup and the integration reference. LSC and Tuya Smart password login use built-in client configuration; no Android package, installation or developer account is required. Each brand uses its own account namespace: choose the service and country used in your phone app. LumiSync suggests a country from your computer's region; you can change it before signing in. Account routing is automatic, and account lists partially hide email addresses.

Cloud connections provide manual controls. Screen and music sync use supported local connections. Meter readings and history depend on the device schema, firmware and account service; missing measurements are shown as not reported. Voltage and current are live readings; historical energy is measured in kWh.

Screenshots

These are the actual 0.8.1 interface with isolated example devices, accounts and readings. No personal account details appear in these images.

Devices

LumiSync inventory with example LED strip, matrix panel, wall switch and smart plugs

Recognize each device type and use the controls it supports.

Accounts and plug readings

Sign in with your own account and choose its country from a dropdown. Opening a supported plug refreshes its electrical readings every five seconds while visible; monthly energy totals and daily readings load on demand.

Example PC plug inspector showing 215.1 W, voltage, current and monthly energy beside the device inventory
Account sign-in and connected accounts Tuya sign-in with country selection and masked example Govee, LSC and Tuya accounts

Monitor and music sync

LumiSync Monitor Sync screen LumiSync Music Sync screen with Auto Director controls
Monitor Sync
Map display colors across one or more lights.
Music Sync
Choose reactions and palettes or let Auto Director decide.

Installation

Prebuilt Windows and Linux downloads do not require a separate Python install. Installing from PyPI or source requires Python 3.11 or higher.

pip install lumisync

From GitHub (Latest)

pip install git+https://github.com/Minlor/LumiSync.git

Development Install

git clone https://github.com/Minlor/LumiSync.git
cd LumiSync
pip install -e .

Prebuilt downloads

  • Windows — a portable .zip and a single-file .exe are attached to each GitHub release.
  • Linux — an x86_64 AppImage is attached to each release; chmod +x it and run. Build it yourself with tools/build_linux.sh (needs Python 3.12+ and the Qt X11 runtime libraries listed in the Linux build workflow). The AppImage requires glibc 2.35 or newer (Ubuntu 22.04+). Linux releases are checked by opening the packaged GUI on X11 in a clean Ubuntu 22.04 runtime. A Flatpak is scaffolded in packaging/flatpak/ but not yet finished.

Platform notes: Windows is fully supported. On Linux, device control, music sync, and manual control work on X11 and Wayland; screen (monitor) sync currently requires an X11/Xorg session — Wayland capture is planned.

Usage

Launch the App

lumisync

The GUI opens by default. The legacy interactive terminal is still available with lumisync --cli; direct headless modes are available through lumisync --monitor and lumisync --music.

Quick Start

  1. Connect or discover. Open Devices → Accounts for Wi-Fi account control. Find Devices refreshes linked accounts, local discovery and saved readings together.
  2. Select your devices. Use device cards and the inspector. Find Devices also matches imported Tuya devices to their LAN addresses.
  3. Control your devices. Power, brightness, color, white-temperature and meter controls appear where the device supports them.
  4. Start syncing. Choose local connections in the device inspector, then open Monitor Sync or Music Sync. Cloud connections offer manual controls.

Interface

  • Devices — Discover lights, switches and plugs; connect vendor accounts, choose local/cloud connections, create groups, and view supported electrical readings and energy history.
  • Monitor Sync — Map display colors to selected devices, groups, zones, and custom LED regions.
  • Music Sync — Choose reactions, palettes, targets and brightness, or use Auto Director.
  • Draw — Paint still images or frame-by-frame animations for compatible iDotMatrix panels. The device inspector's Panel Tools opens clock, countdown, scoreboard, and rotation controls.
  • Settings — Choose Acrylic, Mica or Solid Dark; tune sync, startup and system-tray behavior. About shows your version, account setup, update checks and the logs folder.

The UI adapts to short/narrow windows: account actions and sync Start/Stop stay visible, Draw tools reflow above the canvas, and Settings uses a section dropdown when space is tight. Daily readings and technical details expand on demand. See the verification record for UI scope, design direction and executed checks.

Configuration

  • LED Mapping - Customize which screen regions map to which LEDs
  • Brightness - Adjust per-mode brightness (10-100%)
  • Display Selection - Choose which monitor to capture (multi-monitor support)
  • Sync Tuning - Tune smoothing, saturation, frame rate, gamma and music response

Troubleshooting

If a connection or command fails, open Settings → About → Open logs folder. Connection logs and native crash diagnostics are kept there. Try Find Devices to refresh linked accounts and local status. Vendor verification challenges may require a code or completing sign-in in the phone app; see account setup.

Development

Project Structure

lumisync/
├── lumisync.py          # Entry point & CLI
├── connection.py        # Govee UDP protocol (port 4001/4002)
├── devices.py           # Device discovery & caching
├── accounts/            # Vendor sign-in, credential vault & energy history
├── drivers/             # LAN, Bluetooth and account device adapters
├── config/options.py    # Runtime configuration
├── sync/                # Monitor & music sync engines
├── gui/                 # PySide6 application
│   ├── controllers/     # Business logic (QObject + Signal)
│   ├── views/           # UI components
│   └── widgets/         # Reusable widgets
└── utils/               # Logging, colors, file ops

Run Tests

python -m unittest discover -s tests

Brand and documentation assets

The production app icon, transparent mark, tray variants, Windows .ico, and GitHub banner live in assets/brand. Regenerate the complete icon set from its single SVG geometry with:

python tools/generate_brand_assets.py

Regenerate the README and website screenshots with isolated example data and no device or account requests:

python tools/capture_example_screenshots.py

The separate tools/capture_readme_screenshots.py utility captures your live application setup; review those images for private details before sharing.

Platform Support

Platform Screen Capture Status
Windows dxcam ✅ Full support
Linux (X11) mss ⚠️ Partial
Linux (Wayland) - 🚧 WIP
macOS - 🚧 WIP

Roadmap

  • Multi-device support
  • Govee, Tuya Smart and LSC personal accounts
  • Device capability controls and supported plug metering
  • iDotMatrix drawing and display tools
  • Wayland & macOS screen capture
  • Basic color control mode
  • Custom sync algorithms
  • Plugin system for community extensions

Credits

License

MIT © Minlor


minlor.net · GitHub @minlor

⭐ Star this repo if you find it useful!

Metadata

Release files for lumisync 0.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lumisync 0.8.1
File Size Uploaded
lumisync-0.8.1.tar.gz 372.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lumisync 0.8.1
File Interpreter ABI Platform
lumisync-0.8.1-py3-none-any.whl Python 3 none any Details

Total release size: 709.2 kB

Release files / lumisync-0.8.1.tar.gz

Download URL lumisync-0.8.1.tar.gz
Size 372.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f153bd07eaadaa176bc6046665798076723c06625a13b9eeec7fd9aeae4007b0
BLAKE2b-256 checksum
How to use checksums
f14507b9b7aae0ba6fdf322aa375ae06bd05cf98e73a41c9fba80351b9c118ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / lumisync-0.8.1-py3-none-any.whl

Download URL lumisync-0.8.1-py3-none-any.whl
Size 337.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f02f48e4e7d2d59e9422b7a6b60722be69792b7577310a02280de165aedafecd
BLAKE2b-256 checksum
How to use checksums
92e485da9872f6205c5c80c1c3aa5222cf720ca5c3f445e52d03e820ac80fc05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release history Release notifications | RSS feed

0.8.2

2 release files

This release

0.8.1 This release

2 release files

0.8.0

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page