Viessmann Heizung ins Grafana

ok, mehr als Gedankenstütze für mich - So Viessmann Kessel sind per App erreichbar aber eben auch per API. Insofern erstmal einen Viessmann API User machen. Mit etwas python:

sudo pip3 install PyViCare

Und etwas Beispiel Code

Viessmann API to InfluxDB (using PyViCare)
Viessmann API to InfluxDB (using PyViCare). GitHub Gist: instantly share code, notes, and snippets.

Schiebe ich das ganze dann in eine InfluxDB. Die Tutorials sind alle eher alt - inzwischen gibt es in der API auch Verbrauchswerte (nicht nur Brenner-Starts etc.). Insbesondere folgende API Calls sind verfügbar:

getGasConsumptionHeatingToday()
getGasConsumptionHeatingThisWeek()
getGasConsumptionHeatingThisMonth()
getGasConsumptionHeatingThisYear()
getGasConsumptionDomesticHotWaterToday()
getGasConsumptionDomesticHotWaterThisWeek()
getGasConsumptionDomesticHotWaterThisMonth()
getGasConsumptionDomesticHotWaterThisYear()

Daneben natürlich alle Klassiker wie Warmwasser-Temperatur, Boiler Temperatur etc. Alles zusammengemix gibt dann in etwa folgendes:

C'est ca!