Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

homebridge-brilliant-local

Latest version: v0.2.0-beta.13

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: zmanuel
0 Stars
0 Forks
2 Versions
TypeScript Repo language

Scan summary

homebridge-brilliant-local was last scanned on 29 Nov 2026 at version 0.2.0-beta.13. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 29 Nov 2026.
  • Findings: No rules fired in version 0.2.0-beta.13.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0-beta.13 LATEST 29 Nov 2026 No rules fired
0.0.0-stage 29 Nov 2026 Not shown

No rules fired in 0.2.0-beta.13

Findings

Findings for v0.2.0-beta.13. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.0-beta.13; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

homebridge-brilliant-local

npm npm downloads CI license Sponsor Buy me a coffee

Shows Brilliant smart switches and the lights wired to Brilliant control panels in Apple Home, controlled locally: the switches straight over Bluetooth mesh from your Homebridge computer, the panels' own lights through a small agent on each panel. No Brilliant cloud in the path, so it keeps working if the cloud doesn't.

Unofficial. Not made, supported or endorsed by Brilliant NextGen, Inc. "Brilliant" is their trademark, used here only to say what the plugin works with. Read What the plugin can change before turning anything on.

The two parts are independent: use either or both. Switches work; panels are experimental.

Contents

  • What you get
  • What the plugin can change
  • Requirements
  • Setup
  • How it works
  • Troubleshooting
  • Updates and compatibility
  • Privacy
  • Development
  • Credits and License

What you get

  • Brilliant switches (Bluetooth mesh): each switch that drives a light shows up as a dimmable light, and any switch's built-in motion sensor as a motion sensor. Changes at the wall, on a panel or in Brilliant's app show in Home as soon as they're heard on the mesh. The switches come from the keys file, named as in the Brilliant app: no addresses to type. Switches that only forward their touches to another switch (always-on "companions") don't drive a light and are never sent a command; their motion sensors can still appear. You can rename or hide any switch by its address.
  • Panel lights (experimental): the lights wired to each panel appear with the names the panel gives them, dimmable where the panel dims them, plus optionally the panel's own motion sensor. Always-on circuits are left out, and you can hide any light by name.

What the plugin can change

The plugin does as little as possible. Everything it can change, and what has to be true first:

Where What it can do from the Home app Needs
Brilliant switches Turn a light on or off, set its brightness The mesh switches turned on in the settings, the radio helper running and the mesh keys
Panel lights Turn a panel's own light on or off, set its brightness The panels turned on in the settings and the agent installed on that panel

It never changes a switch's or a panel's settings. Writing any switch setting except the two motion thresholds is refused in its code (and none is written in this version): load type, dimming limits, reboot, firmware update and similar settings can damage LED drivers or the dimmer, or break the mesh. The panel agent refuses anything but "on" and "brightness" on that panel's own lights.

Turning things on takes three things that need care:

  • The mesh keys are secrets. Anyone with them can control every switch. Keep the keys file readable only by the user Homebridge runs as, and never put it, or its values, in an issue, a log or a repository. The plugin never logs them.
  • Root SSH on a panel is needed to get the keys and to install the panel agent. Brilliant permanently marks a panel once Root SSH has been turned on, which may affect support or warranty. Turn it off again when you're done.
  • The panel agent changes the panel's software. A panel update can remove it (then run the install script again), and Brilliant may not support a panel running it.

Requirements

  • Homebridge 2 (2.0.0 or later), on Node.js 22, 24 or 26.
  • For the switches: Linux with Python 3.9 or later and a Bluetooth 4.2 or later radio (a Raspberry Pi 4's built-in one works), within range of at least one switch. Nothing else on the computer should be using Bluetooth advertising.
  • For the panels: Root SSH on each panel for the install, and a fixed address for each panel (a DHCP reservation).

Setup

1. Install the plugin

This repository is private for now, so the plugin isn't on npm and the Homebridge UI can't install or update it. Each GitHub release has the package attached, and scripts/update-pi.sh installs it. One-time setup on the Homebridge computer, as the user Homebridge runs as (pi on many Raspberry Pi setups, homebridge on the Homebridge image; the owner of /var/lib/homebridge), in the Homebridge UI's Terminal or over SSH:

  1. Install the GitHub CLI from GitHub's own package source (Raspberry Pi OS's own gh is too old): follow cli.github.com → Linux → Debian, which has packages for the Pi.

  2. On GitHub, create a fine-grained personal access token with access to this repository only and Contents: Read-only, then run gh auth login and paste it.

  3. Get the install script:

    gh api -H 'Accept: application/vnd.github.raw' repos/zmanuel1234/homebridge-brilliant-local/contents/scripts/update-pi.sh > update-pi.sh && chmod +x update-pi.sh

Then, to install or update:

./update-pi.sh                 # the newest stable release (the newest pre-release while there's none)
./update-pi.sh --beta          # the newest release, pre-releases included
./update-pi.sh v0.2.0-beta.3   # a given release, or an older one to roll back

It checks the package against the release's SHA256SUMS, installs it into Homebridge's folder (/var/lib/homebridge, or HB_DIR), and keeps the package in its packages/ folder so later npm installs there keep working. Then restart Homebridge (the first time) or the plugin's child bridge. If an update changed the radio helper, the script says so: then also run sudo systemctl restart brilliant-mesh-radio.

The settings page does the rest

Open the plugin's settings in the Homebridge UI. They have two tabs, both following Homebridge's light or dark theme: Setup (the guided steps below) and Settings (every setting, in the usual form). The page opens on Setup until something is set up, then on Settings. The Setup tab does sections 2 to 4 below for you, without a terminal apart from one command to copy for the radio service:

  1. Bluetooth radio (section 2): shows whether the radio service runs; if not, the command to install it, with a Copy button, for the Homebridge UI's Terminal.
  2. Panels (sections 3 and 4): Find panels lists the panels on your network (by their own announcements). For each one, turn on Root SSH in the Brilliant app, enter the panel's root password (the one Brilliant emails, or one you set) and press Set up: one login reads your switches and their keys (the first time) into a private keys file in Homebridge's storage folder, and installs the panel agent. The panel and its token are added to the settings. It says while Root SSH is still on, so you remember to turn it off. Reinstall agent after a panel update; Remove agent to take it off. The page remembers each panel's SSH identity from its first login and checks it before sending the password; if it changes (normal after a panel software update), it says so and goes on only when you click again.
  3. Switches: every switch from the keys file, with its name in the Brilliant app: rename a light, add a switch's motion sensor and name it (companions too), or hide a switch.

Each panel row also has Install the agent: untick it to only read the switches from that panel, installing nothing (for the switches alone). Once a panel's agent runs, its own lights are listed under it, each with a tick to show or hide it in Home, plus a tick for the panel's own motion sensor.

Passwords are used once, for that step, and never kept or logged. Everything the card fills in is on the Settings tab, where you can change it. Nothing is saved until you press Save; then go on with section 5's last step (the child bridge). Sections 2 to 4 below are the same thing by hand.

2. Switches: the radio helper (once)

The plugin talks to the switches through a small service, brilliant-mesh-radio, that owns the Bluetooth adapter. It comes with the plugin. Install its service once, after the plugin: the plugin's settings page shows this command with the right folder and user, ready to copy into the Homebridge UI's Terminal (or any terminal on the Homebridge computer):

sudo sh /var/lib/homebridge/node_modules/homebridge-brilliant-local/tools/install-radio-service.sh pi

The last word is the user Homebridge runs as (the settings page fills it in). It copies the helper into /usr/local/lib/brilliant-mesh/ (owned by root, so nothing running as Homebridge's user can change what the service runs), writes /etc/systemd/system/brilliant-mesh-radio.service and starts it: the helper runs as that user, with only the two Bluetooth permissions it needs, in a tight sandbox (no network, a read-only system, no access to other processes or devices), never sees the mesh keys, and systemd restarts it if it stops. Run it again after an update that changed the helper (the update script and the plugin's log say so); running it again is safe. Its log: journalctl -u brilliant-mesh-radio. The plugin itself never writes outside Homebridge's storage folder, which is why this one step is a command.

3. Switches: the keys file

A small private JSON file kept outside the plugin, so updates never touch it. It holds the mesh keys and the list of your switches. tools/extract-mesh.py, which comes with the plugin, writes it from one of your own panels, once:

  1. Turn on Root SSH on any panel (Settings → Advanced Settings → Root SSH Login).

  2. On the Homebridge computer, as Homebridge's user, with the panel's address:

    (umask 077; mkdir -p /var/lib/homebridge/brilliant-local)
    (umask 077; ssh root@192.0.2.10 /data/switch-embedded/env/bin/python3 - \
      < /var/lib/homebridge/node_modules/homebridge-brilliant-local/tools/extract-mesh.py \
      > /var/lib/homebridge/brilliant-local/mesh.json.new) \
      && mv /var/lib/homebridge/brilliant-local/mesh.json.new /var/lib/homebridge/brilliant-local/mesh.json

    It asks for the panel's root password, changes nothing on the panel, and prints the switches it found (address, light or companion, name in the Brilliant app), never the keys:

    3 switches:
         12  light      Hallway
         15  light      Stairs Bottom
         16  companion  Stairs Top
  3. Turn Root SSH off again.

Run it again after adding, removing or renaming switches in the Brilliant app.

Backups: the keys file and the plugin's sequence file sit together in Homebridge's storage folder (brilliant-local/), so a Homebridge backup includes them: keep backups private. Never restore an old sequence file over a newer one: the switches ignore numbers they've already seen, so they would ignore the plugin until it counts past them. The file:

Field What it is
net_key, net_key_index The mesh's network key (32 hex characters) and its index
app_key, app_key_index, app_bound_net_index The application key, its index and the network key it's bound to
iv_index The mesh's current IV index
devices The switches: address, name (in the Brilliant app) and role (light or companion). Optional: without it, list the lights in the settings.
4. Panels: the agent (experimental, once per panel)

A panel's own wired lights aren't on the mesh, so the plugin reaches them through a small agent installed on the panel. It talks to the panel's internal message bus the way Brilliant's own services do.

  • Install: turn on Root SSH on the panel (Settings → Advanced Settings → Root SSH Login, with the emailed password), then on the Homebridge computer, as Homebridge's user:

    ./install-panel-agent.sh 192.0.2.10

    It asks for the panel's root password once, installs the agent as a service (capped at 15 % CPU and 64 MB), checks it answers, and prints the panel's token for the settings. Then turn Root SSH off again.

  • After a panel update the service may be gone: run the same command again (the token stays the same). --uninstall <address> removes it.

  • The agent also turns off the panel's Wi-Fi power saving, which drops incoming packets.

5. Settings

Set it up in the plugin's settings in the Homebridge UI (the Setup card fills in most of it), or add a platform block to config.json. Then, the first time, put the plugin on its own child bridge and add that bridge to the Home app:

  1. In the Homebridge UI, on the plugin's card, open Bridge Settings (the menu with the three dots), turn on its child bridge, and Save.
  2. Restart Homebridge.
  3. On the Homebridge UI's status page, the child bridge shows a QR code (or its PIN): in the Home app, + → Add Accessory, and scan it. The lights and motion sensors appear, ready to put in rooms.

Later changes in the settings only need the child bridge restarted (its menu on the plugin's card), not a new pairing.

{
  "platform": "BrilliantLocal",
  "name": "Brilliant Local",
  "mesh": {
    "enabled": true,
    "keysFile": "/var/lib/homebridge/brilliant-local/mesh.json",
    "motionAll": true,
    "hide": [15],
    "lights": [
      { "address": 12, "name": "Hall Lamp" }
    ]
  },
  "panels": {
    "enabled": false
  }
}

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm homebridge-brilliant-local

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229