homebridge-mqtt-lock
Version:
An auto-locking homebridge lock using MQTT.
44 lines (43 loc) • 1.12 kB
JSON
{
"pluginAlias": "MQTTLock",
"pluginType": "accessory",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true
},
"autoLock": {
"title": "Enable Auto Locking",
"type": "boolean"
},
"autoLockDelay": {
"title": "Auto Lock Delay",
"type": "integer",
"default": 60000,
"description": "In milliseconds (e.g. 60000 equals to 1 minute)."
},
"mqttBroker": {
"title": "MQTT Broker",
"type": "string",
"required": true,
"description": "127.0.0.1 or test.mosquitto.org"
},
"getTopic": {
"title": "MQTT Get Topic",
"type": "string",
"required": true,
"description": "The MQTT topic this plugin will subscribe to get the status of the lock."
},
"setTopic": {
"title": "MQTT Set Topic",
"type": "string",
"required": true,
"description": "The MQTT topic for locking and unlocking the lock."
}
}
}
}