Skip to content

About

Raycast extension for controlling Luxafor LED devices with status monitoring and quick colour controls.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Luxafor Controller

Change your Luxafor light from Raycast. Set a color, blink the light or switch it off, with quick controls in the menu bar.

Install from the Raycast Store · macOS

Color controls and request history in Raycast

Setup

You'll need a compatible Luxafor device and the Luxafor companion app running with Webhook mode enabled. The Luxafor Webhook guide lists supported devices and software.

  1. Copy your User ID from the Luxafor app's Webhook tab.
  2. Open Raycast Settings → Extensions → Luxafor Controller.
  3. Enter Luxafor User ID and select api.luxafor.com as the API endpoint.
  4. Open Control Luxafor and choose a color or Turn off.

Keep the companion app running while using the extension. The older api.luxafor.co.uk option is retained, but its current operation is unverified; use the documented .com endpoint. Opening a command or refreshing history never changes the light.

Commands

Command What it does
Control Luxafor Set a color, blink a color, turn off or view history.
Luxafor Menu Bar Change colors and view request history from the menu bar.
Set Busy Send solid red.
Set Available Send solid green.
Turn off Send custom 000000 to switch the light off.
Set Custom Color Send a three- or six-digit hex color.

Choose red, green, blue, yellow, cyan, magenta or white. In Control Luxafor, open Actions on a color to blink it. Blink duration and restoration are not controlled by the extension. Menubar Layout in extension settings offers Busy/Available actions or the full color menu.

Assign aliases or hotkeys to Busy, Available and Off in Raycast's command settings. No Raycast Pro subscription is needed.

Custom and recent colors

Enter #RGB or #RRGGBB in Set Custom Color; the # is optional. For example, #3A7 expands to 33aa77, and #000 turns the light off. Invalid input sends nothing.

The main view keeps your five most recent API-accepted solid colors. Select one to send it again. Clear Recent Colors clears that list without changing the light or request history. A saved color from the older release appears separately as Previous saved choice · unverified; Forget Saved Choice removes it locally.

Custom color form

Understanding history

The extension shows API request history, not live device status. Request Accepted means the API returned HTTP 200 and a JSON object without an explicit error indicator. It cannot confirm that the light changed.

Previous accepted history is preserved when a request fails or delivery is uncertain. Requests time out after ten seconds and are never retried automatically. Overlapping commands are refused, not queued. Check the light before deliberately sending another command.

Use View Request Details for the full timestamp and recovery guidance, or Refresh History to reload the saved record. History older than five minutes is marked stale. An interrupted pending request has an unknown outcome. The menu reloads local history on Raycast's approximate one-minute schedule; this does not contact Luxafor.

Request details and refresh shortcut

Troubleshooting

If the light does not change, check the User ID, device connection and Webhook mode, then restart the companion app if needed. A successful API response alone does not confirm that the light changed.

Send Red Test… asks for confirmation. Cancel sends nothing; confirming sends red once and does not restore the previous color. Closing a command cannot undo a request already sent.

For menu bar controls, enable Luxafor Menu Bar in Raycast's extension settings. See setup and troubleshooting for more detail, or report a bug or request a feature. Keep your User ID out of issue reports and screenshots.

Compatibility and privacy

This extension supports macOS. Device compatibility depends on the Luxafor companion software and Webhook support; real-device and upgrade checks for this update remain unverified.

Your User ID is masked in preferences and sent only in the HTTPS request body to the selected Luxafor host. Redirects are refused. Raw request bodies, responses and errors are not logged or exported. No analytics or AI tools are included. Existing preference keys and the original storage record are retained; old online/offline flags are not treated as device telemetry.

Development

Use macOS, Raycast, npm and Node.js 26.12.1 (.nvmrc). The CLI requires Node.js 22.22.2 or newer.

npm ci --ignore-scripts
npm run check
npm run dev

npm run check builds, typechecks, runs the offline tests and lints. Tests use synthetic identifiers and block real networking. npm run dev registers a development extension in Raycast; deliberate controls can change the light when configured with a real User ID.

The request-history update is published in the Raycast Store. Start future work on release/next-raycast-update. Keep Store submission files separate from personal tests and development tooling.

See the changelog, roadmap, release checklist and source reconciliation. Contributions are welcome through issues and pull requests.

MIT licensed.

About

Raycast extension for controlling Luxafor LED devices with status monitoring and quick colour controls.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages