Der Vollständigkeit halber. Der oben von mir eingefügte Ausschnitt der JSON-Antwort aus der Viessmann API ist falsch! Korrekt ist folgender: { "properties": { "day": { "type": "array", "value": [ 0, 0.6, << Sonntag! 0, 0, 0, 0, 0, 0 ], "unit": "cubicMeter" }, "week": { "type": "array", "value": [ 0, 0.6, 0, 0, 0, 0, 0, 0 ], "unit": "cubicMeter" }, "month": { "type": "array", "value": [ 0.6, 0, 0, 0, 6.9, 22, 21.2, 23.4, 26.3, 26.9, 25.1, 21.9, 2.5 ], "unit": "cubicMeter" }, "year": { "type": "array", "value": [ 100.5, 200.2 ], "unit": "cubicMeter" }, "dayValueReadAt": { "type": "string", "value": "2022-09-18T22:07:18.000Z" }, "weekValueReadAt": { "type": "string", "value": "2022-09-18T17:11:01.000Z" }, "monthValueReadAt": { "type": "string", "value": "2022-09-18T22:07:18.000Z" }, "yearValueReadAt": { "type": "string", "value": "2022-09-18T22:07:18.000Z" } },
... Mehr anzeigen