homebridge-virtual-buttons
v1.0.3
Published
A virtual Homebridge accessory with 5 stateless buttons and HTTP triggers
Maintainers
Readme
homebridge-virtual-buttons
A simple Homebridge accessory with 5 stateless buttons and HTTP endpoints to trigger them.
Installation
npm install -g homebridge-virtual-buttonsConfiguration
Add this to your Homebridge config.json:
"accessories": [
{
"accessory": "VirtualButtons",
"name": "Virtual Buttons",
"port": 3000
}
]Usage
Trigger a button via HTTP POST:
curl -X POST http://<homebridge-ip>:3000/button/1Replace <homebridge-ip> with the IP address of your Homebridge server and 1 with the button number (1-5).
