Ich hab das schon länger in Gebrauch, ist noch ausbaufähig und zum Testen entstanden. Hatte schon ganz vergessen, dass ich das nicht mehr mit NodeRed mache, bis mir auffiel, dass NodeRed gar nicht mehr läuft und ich trotzdem Daten habe
Was ist drin?
Consumption, Preis aktuell (Energie, Steuern, gesamt)
Verbrauch und Kosten (gestern, letzte Woche, letzen Monat, letztes Jahr)
Man muss einen Body senden, um Daten zu erhalten. Ich habe da momentan eine Logik dran (Text im Intervall senden).
Die kann man noch abändern und mit Hilfe des API-Explorers zusammen basteln
Tibber API-Explorer
So bekommt man aber immerhin schon einmal Werte.
Ich habe einmal exportiert und importiert und mir fiel auf, dass der Haken bei "Server Zertifikat" nach dem Importieren nicht mehr angehakt ist. Bei mir ist er es aber.
Abfrage aktuell:
Code: Alles auswählen
{ viewer { homes { currentSubscription{ priceInfo{ current{ total energy tax startsAt } today { total energy tax startsAt } tomorrow { total energy tax startsAt } } } consumption(resolution: HOURLY, last: 2) { nodes { from to cost unitPrice unitPriceVAT consumption consumptionUnit } } } } }
gestern:
Code: Alles auswählen
{ viewer { homes { consumption(resolution: DAILY, last: 1) { nodes { from to cost unitPrice unitPriceVAT consumption consumptionUnit } } } } }
letzte Woche:
Code: Alles auswählen
{ viewer { homes { consumption(resolution: WEEKLY, last: 1) { nodes { from to cost unitPrice unitPriceVAT consumption consumptionUnit } } } } }
letzten Monat:
Code: Alles auswählen
{ viewer { homes { consumption(resolution: MONTHLY, last: 1) { nodes { from to cost unitPrice unitPriceVAT consumption consumptionUnit } } } } }
letztes Jahr:
Code: Alles auswählen
{ viewer { homes { consumption(resolution: ANNUAL, last: 1) { nodes { from to cost unitPrice unitPriceVAT consumption consumptionUnit } } } } }
TWS HTTP-API Export - Tibber.json