etwas unglücklich finde ich die Tatsache das man mit % Luftfeuchtigkeit (für SoCs) und Grad Celsius für Leistungen in kW arbeiten muss.
Das ist für euch ein guter Kompromiss?
Wer schonmal etwas testen möchten.
Per SSH verbinden.
Homebridge installieren.
Anleitung hier:
https://github.com/nfarina/homebridge/w ... n-Raspbian
Accessories nach installieren:
Code: Alles auswählen
sudo npm install -g homebridge-http-humidityCode: Alles auswählen
sudo npm install -g homebridge-http-temperatureCode: Alles auswählen
sudo npm install -g homebridge-http-switchIn die Datei muss rein:
Code: Alles auswählen
{
"bridge": {
"name": "openWB",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "034-25-154"
},
"accessories": [
{
"accessory": "HttpHumidity",
"name": "LP1 SoC",
"pullInterval": 5000,
"url": "http://localhost/openWB/web/api.php?get=homekit",
"field_name": "socLP1"
},
{
"accessory": "HttpTemperature",
"name": "LP1 kW",
"pullInterval": 5000,
"url": "http://localhost/openWB/web/api.php?get=homekit",
"field_name": "llkwlp1"
},
{
"accessory": "HttpHumidity",
"name": "LP2 SoC",
"pullInterval": 5000,
"url": "http://localhost/openWB/web/api.php?get=homekit",
"field_name": "socLP2"
},
{
"accessory": "HttpTemperature",
"name": "LP2 kW",
"pullInterval": 5000,
"url": "http://localhost/openWB/web/api.php?get=homekit",
"field_name": "llkwlp2"
},
{
"accessory": "HttpHumidity",
"name": "Speicher SoC",
"pullInterval": 5000,
"url": "http://localhost/openWB/web/api.php?get=homekit",
"field_name": "speichersoc"
},
{
"accessory": "HttpTemperature",
"name": "Speicher kW",
"pullInterval": 5000,
"url": "http://localhost/openWB/web/api.php?get=homekit",
"field_name": "speicherleistung"
},
{
"accessory": "HttpTemperature",
"name": "EVU kW",
"pullInterval": 5000,
"url": "http://localhost/openWB/web/api.php?get=homekit",
"field_name": "evuw"
},
{
"accessory": "HttpTemperature",
"name": "PV kW",
"pullInterval": 5000,
"url": "http://localhost/openWB/web/api.php?get=homekit",
"field_name": "pvw"
},
{
"accessory": "HTTP-SWITCH",
"name": "SofortLaden",
"switchType": "stateful",
"pullInterval": "5000",
"onUrl": "http://localhost/openWB/web/api.php?lademodus=jetzt",
"offUrl": "http://localhost/openWB/web/api.php",
"statusUrl": "http://localhost/openWB/ramdisk/lademodus",
"statusPattern": "0"
},
{
"accessory": "HTTP-SWITCH",
"name": "NurPV",
"switchType": "stateful",
"pullInterval": "5000",
"onUrl": "http://localhost/openWB/web/api.php?lademodus=pvuberschuss",
"offUrl": "http://localhost/openWB/web/api.php",
"statusUrl": "http://localhost/openWB/ramdisk/lademodus",
"statusPattern": "2"
},
{
"accessory": "HTTP-SWITCH",
"name": "Standby",
"switchType": "stateful",
"pullInterval": "5000",
"onUrl": "http://localhost/openWB/web/api.php?lademodus=standby",
"offUrl": "http://localhost/openWB/web/api.php",
"statusUrl": "http://localhost/openWB/ramdisk/lademodus",
"statusPattern": "4"
},
{
"accessory": "HTTP-SWITCH",
"name": "Stop",
"switchType": "stateful",
"pullInterval": "5000",
"onUrl": "http://localhost/openWB/web/api.php?lademodus=stop",
"offUrl": "http://localhost/openWB/web/api.php",
"statusUrl": "http://localhost/openWB/ramdisk/lademodus",
"statusPattern": "3"
},
{
"accessory": "HTTP-SWITCH",
"name": "Min und PV",
"switchType": "stateful",
"pullInterval": "5000",
"onUrl": "http://localhost/openWB/web/api.php?lademodus=minundpv",
"offUrl": "http://localhost/openWB/web/api.php",
"statusUrl": "http://localhost/openWB/ramdisk/lademodus",
"statusPattern": "1"
}
]
}
Der Pin wird dann in Home genutzt zum hinzufügen. Alternativ einmal manuell starten und den QR Code scannen.
Den Aufwand zu bewerten das zu automatisieren und vor allem künftig zu pflegen muss ich noch bewerten.
Dazu müsste dann ja auch eine Einstellseite die die Parameter für die config.json anpasst.