homebridge-nest-accfactory
Version:
Homebridge support for Nest/Google devices including HomeKit Secure Video (HKSV) support for doorbells and cameras
114 lines (113 loc) • 4.35 kB
JSON
{
"pluginAlias": "NestAccfactory",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"default": "NestAccfactory",
"condition": "1=2"
},
"nest": {
"title": "Nest Account",
"type": "object",
"expandable": true,
"properties": {
"access_token": {
"title": "Access Token",
"type": "string",
"placeholder": "See https://github.com/n0rt0nthec4t/homebridge-nest-accfactory/#nest-account"
},
"fieldTest" : {
"title": "Field Test",
"type": "boolean",
"description": "Use field test API endpoints",
"default": false,
"condition": {
"functionBody": "return model.nest.access_token"
}
}
}
},
"google": {
"title": "Google Account",
"type": "object",
"expandable": true,
"properties": {
"issuetoken": {
"title": "Issue Token",
"type": "string",
"placeholder": "See https://github.com/n0rt0nthec4t/homebridge-nest-accfactory/#google-account"
},
"cookie": {
"title": "Cookie",
"type": "string",
"placeholder": "See https://github.com/n0rt0nthec4t/homebridge-nest-accfactory/#google-account"
},
"fieldTest" : {
"title": "Field Test",
"type": "boolean",
"description": "Use field test API endpoints",
"default": false,
"condition": {
"functionBody": "return model.google.issuetoken && model.google.cookie"
}
}
}
},
"options": {
"title": "Options",
"type": "object",
"expandable": true,
"properties": {
"eveHistory": {
"title": "EveHome History",
"description": "Provide history in EveHome application where applicable",
"type": "boolean",
"default": true
},
"weather": {
"title": "Virtual Weather",
"description": "Virtual weather station",
"type": "boolean",
"default": false
},
"elevation": {
"title": "Elevation",
"description": "Height above sea level for the weather station",
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 8848,
"condition": {
"functionBody": "return model.options.weather"
}
},
"hksv": {
"title": "HomeKit Secure Video",
"description": "Enable HomeKit Secure Video for supported camera(s) and doorbell(s)",
"type": "boolean",
"default": false
},
"ffmpegPath": {
"title": "Path to ffmpeg binary",
"type": "string",
"placeholder": "Path to an ffmpeg binary",
"default": "/usr/local/bin/ffmpeg"
}
}
}
}
},
"oneOf": [
{
"required": ["nest"]
},
{
"required": ["google"]
}
]
}