Script2
homebridge-script2 · v1.0.8
Adds switches that run shell commands or scripts you define from Apple Home.
What it says it supports
Devices it names
- shell scripts
- curl
- Python/JS scripts
- Modbus relay executables
Shows up in Apple Home as from its README
What people report
Generic script plugin; users report it stable and compatible with Homebridge v2.
Gathered from the plugin’s GitHub issues, pull requests, discussions, wiki and docs, and from r/homebridge. These are individual reports, so check the linked thread and the date before you buy.
How it connects
Local
Commands run on Homebridge host
Compatibility
| Verified by Homebridge | Yes |
|---|---|
| Homebridge versions | ^1.8.0 || ^2.0.0 |
| Homebridge 2.0 | Yes |
| Node.js | ^22.13.0 || ^24.0.0 |
| Settings in Homebridge UI | Yes |
| Matter | No |
| Platform name | Script2Platform |
| License | MIT |
Community signals
| Downloads a week | 60 |
|---|---|
| Downloads a month | 423 |
| GitHub stars | 97 |
| Open issues | 2 |
| Closed issues | 46 |
| Last code push | 2026-10-21 |
| Latest version | 1.0.8 (2026-10-21) |
| First published | 2017-03-15 |
| Releases | 91 |
In ReReHome
Whatever this plugin publishes reaches Apple Home as a normal HomeKit accessory behind your Homebridge bridge, so ReReHome shows and controls it like any other.
Bridges get their own settings page listing the accessories behind them.
Caveats from the README
- Runs as Homebridge service user
HomeKit services in its code
Found by scanning the published npm package. A plugin can register a service only for some devices.
- Switch
Sources
- npm: https://www.npmjs.com/package/homebridge-script2
- Source code: https://github.com/pponce/homebridge-script2
- Issues: https://github.com/pponce/homebridge-script2/issues
- Verified plugins list: https://github.com/homebridge/verified