homebridge-history-contact
Version:
Homebridge fake contact sensor with fakegato history
35 lines (34 loc) • 973 B
JSON
{
"pluginAlias": "HistoryContact",
"pluginType": "accessory",
"singular": false,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "History Contact"
},
"httpPort": {
"title": "HTTP port",
"type": "number",
"required": true,
"default": "8449"
},
"serialNumber": {
"title": "Serial Number (must be unique for each sensor, avoid '/')",
"type": "string",
"required": true,
"default": "08297496234"
},
"apiKey": {
"title": "Self-chosen api-Key. Send a POST-Request to http://homebridge.local:INSERT_PORT_HERE with JSON body { state: 0, apiKey: \"INSERT_API_KEY_HERE\"} to change sensor state. state: 0 means 'closed', 1 means 'opened'",
"type": "string",
"required": true,
"default": "12345678abcdefg"
}
}
}
}