Pyluxa4
Luxafor flag controller
Install / Use
/learn @facelessuser/Pyluxa4README
Python Luxafor
warning This library has only been tested on the Luxafor Flag. It may or may not work on other devices.
pyluxa4 is a Python library for controlling Luxafor devices. You can set colors, blink them,
fade them, apply a wave effect, and even run its built-in patterns. All of this is done by running a small server that
is accessed locally on port 5000 (the port can be changed). Once running, you can issue commands from the CLI tool,
which in turns communicates with the server using a REST API.
Since the server uses a REST API, you could easily write scripts in other languages to control the device once running.
If desired, you can import the pyluxa4.usb library in a script and control the device directly without running a
server. Or you could import pyluxa4.client and write your own application that uses the REST API to control the device
through the server.
pyluxa4 requires libusb/hidapi to be installed in order for the controller portion
of the library to be functional.
Documentation
Documentation is found here: https://facelessuser.github.io/pyluxa4/
License
MIT License
Related Skills
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.8kCommit, push, and open a PR
