homebridge-better-miot
Version:
Some xiaomi devices integration
50 lines • 1.2 kB
JSON
{
"pluginAlias": "HomebridgeBetterMiot",
"pluginType": "platform",
"singular": true,
"schema": {
"devices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"displayName": {
"title": "Name",
"type": "string",
"default": "Air Purifier",
"minLength": 1
},
"address": {
"title": "IP address",
"type": "string",
"required": true
},
"token": {
"title": "Token",
"type": "string",
"pattern": "^[a-f0-9]{32}$",
"required": true
},
"model": {
"title": "Model",
"type": "string",
"enum": [
"zhimi.airpurifier.v7"
],
"default": "zhimi.airpurifier.v7"
},
"updateIntervalMS": {
"title": "Polling interval ms",
"type": "number",
"default": 2500
},
"disabled": {
"title": "Disable current device",
"type": "boolean",
"default": false
}
}
}
}
}
}