870 B
870 B
homebridge-raspberrypi-switch
This is Raspberry Pi Remote plugin for Homebridge.
Features
- Shutdown or reboot Raspberry Pi through homekit button.
Installation
-
Install required packages.
cd project-dir | npm install -g
-
Check the OS of Raspberry Pi.
-
Add these values to
config.json
."accessories": [ { "accessory": "pi_switch", "name": "Raspberry Pi", "os": "linux", "serial": "123-456-789" } ]
-
Restart Homebridge, and your Raspberry Pi will be added to Home app.
Credits
clauzewitz for main body. bachandifor get_Model() function.
License
MIT License