homebridge-rpiradio-light
Version:
A Homebridge plugin to control 433mhz radio
55 lines (46 loc) • 1.75 kB
Markdown
433mhz
```
"accessories": [
{
"accessory": "433Light",
"name": "test1",
"host": "192.168.1.74",
"port": 4210,
"on_payload": "5555554",
"off_payload": "3333334"
},
{
"accessory": "433Light",
"name": "test2",
"host": "192.168.1.74",
"port": 4210,
"on_payload": "2222224",
"off_payload": "1111114"
},
{
"accessory": "433Light",
"name": "test3",
"host": "192.168.1.74",
"port": 4210,
"on_payload": "5143345",
"off_payload": "5143346"
}
],
```
| Parameter | Description | Required |
| -------------------------------- | ------------------------------------------------------- |:--------:|
| `name` | name of the accessory | ✓ |
| `host` | endpoint for whatever is receiving these requests | ✓ |
| `port` | port of destination | ✓ |
| `on_payload` | payload for the unlock state | ✓ |
| `off_payload` | payload for the lock state | ✓ |
- Make sure to specify a port and host in the config file.
1. dependence on : `rpi-433`
1. Install homebridge using: `npm install -g homebridge`
2. Install this plugin using: `npm install -g homebridge-433mhz-light`
3. Update your config file
Control your light through