homebridge-mqtt-lock
Version:
An auto-locking homebridge lock using MQTT.
34 lines (25 loc) • 595 B
Markdown
An auto-locking homebridge lock using MQTT.
```json
{
"accessories": [
{
"accessory": "MQTTLock",
"name": "RealFakeDoor",
"autoLock": true,
"autoLockDelay": 10000,
"mqttBroker": "127.0.0.1",
"getTopic": "RealFakeDoor/Get",
"setTopic": "RealFakeDoor/Set"
}
]
}
```
During development `rsync` helped a lot with syncing the plugin to my Raspberry Pi.
```sh
rsync -r --exclude 'node_modules' . docker.local:/home/pi/homebridge/custom-plugins/homebridge-mqtt-lock
```
MIT License