{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/21"},{"label":"Home Automation","url":"https://skillfed.io/packages/category/home-automation"}],"enrichment":{"capability":"Controls Magic Home and Surp Life WiFi LED bulbs and controllers via reverse-engineered network protocol, supporting color modes, patterns, timers, and device discovery on local networks.","skillfed_tags":["home-automation","iot-devices","led-control"],"use_cases":["Automate home lighting by discovering and controlling multiple WiFi bulbs programmatically in a smart home system","Build a custom dashboard or GUI application to manage Zengge LED devices without relying on the official mobile app","Schedule lighting changes via timers (e.g., turn on red at 5:30pm on weekdays) using the library's timer API","Integrate color-changing bulbs into music or event-driven applications using pattern and color modes","Batch control all bulbs on a LAN (e.g., turn on/off, set color, sync clocks) via CLI or script"],"what_it_does":"flux_led is a Python library for controlling Zengge-manufactured WiFi LED bulbs and controllers (Magic Home and Surp Life brands) via a reverse-engineered protocol. It provides both a command-line interface and programmatic API for discovering bulbs on a local network, turning them on/off, setting colors (by name or hex), applying preset or custom patterns, managing timers, and syncing device clocks. The library supports a range of device types from simple RGB controllers to ceiling lights and Christmas lights, with some models offering microphone-based music mode and remote administration.\n\nThe package depends on webcolors for named color support, typing_extensions for type hints, and async_timeout for asyncio operations. It is actively maintained, supports Python 3.9 and later, and carries no known security vulnerabilities. The codebase acknowledges that the protocol implementation contains magic numbers and reverse-engineered logic, but reports functional coverage of most app features.","worth_installing":"Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and provides solid coverage of Magic Home/Surp Life device control. The copyleft license is standard for this use case. Install if you own compatible Zengge bulbs and want programmatic or CLI control; skip if you only use the official app or have incompatible hardware."},"id":"flux-led","links":{"html":"https://skillfed.io/packages/flux-led","md":"https://skillfed.io/packages/flux-led.md","pypi":"https://pypi.org/project/flux-led/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-04-05","license_spdx":null,"license_treatment":"copyleft","name":"flux-led","python_support":"supports_current","summary":"A Python library to communicate with the flux_led smart bulbs"},"popularity":{"monthly_downloads":82626,"position":14151,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.0"}
