homebridge-sonnenbatterie-v2
Version:
A Homebridge plugin for a SonnenBatterie with v2 firmware.
71 lines • 1.97 kB
JSON
{
"pluginAlias": "SonnenHomebridgePlugin",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "SonnenBatterie"
},
"serial": {
"title": "Serial#",
"type": "string",
"required": true
},
"sonnenURL": {
"title": "URL",
"type": "string",
"description": "Hostname/URL of the SonnenBatterie",
"placeholder": "192.168.68.51"
},
"sonnenToken": {
"title": "api-token",
"type": "string",
"description": "API token for SonnenBatterie API V2",
"placeholder": "8a0cb493-351b-447e-889c-03b328596d53"
},
"refreshInterval": {
"title": "Refresh Interval",
"type": "number",
"description": "Number of seconds between refreshes of the battery data.",
"default": 30
},
"mqttClientID": {
"title": "Client ID",
"type": "string",
"description": "(Optional) The client ID that is being passed to the MQTT host.",
"required": false
},
"mqttHost": {
"title": "MQTT Host",
"type": "string",
"description": "The host url of the MQTT broker.",
"placeholder": "mqtt://localhost:1883",
"required": true
},
"mqttUser": {
"title": "MQTT User Name",
"type": "string",
"description": "Your mqtt user.",
"required": false
},
"mqttPassword": {
"title": "Password",
"type": "string",
"description": "Your mqtt password.",
"required": false
},
"mqttRootTopic": {
"title": "MQTT topic for Sonnen updates.",
"type": "string",
"description": "Your root topic (default = Sonnen).",
"placeholder": "Sonnen",
"required": true
}
}
}
}