Iāve now some more data.
[{"id":"03917c9ce0720fba","type":"tab","label":"Grohe","disabled":false,"info":"","env":[]},{"id":"c11eac5d7301574d","type":"inject","z":"03917c9ce0720fba","name":"alle 10s","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"10","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":120,"y":400,"wires":[["9d3851983037b80c"]]},{"id":"9d3851983037b80c","type":"function","z":"03917c9ce0720fba","name":"milliseconds","func":"let now = Date.now();\nlet end = now;\nlet start = now - 24 * 60 * 60000;\n\nmsg.payload = {\n data: {\n from: start,\n to: end\n }\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":290,"y":400,"wires":[["d60310236c7d52e2"]]},{"id":"05281a22e393529f","type":"function","z":"03917c9ce0720fba","name":"open","func":"msg.payload = {\n command: {\n valve_open: true,\n }\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":290,"y":40,"wires":[["a1808c9267428cc1"]]},{"id":"221bdfe08f529877","type":"function","z":"03917c9ce0720fba","name":"close","func":"msg.payload = {\n command: {\n valve_open: false,\n }\n};\nreturn msg;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":290,"y":80,"wires":[["a1808c9267428cc1"]]},{"id":"6c3a0b693802c209","type":"inject","z":"03917c9ce0720fba","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":140,"wires":[["a1808c9267428cc1"]]},{"id":"625210fc35a5d266","type":"change","z":"03917c9ce0720fba","name":"Update available","rules":[{"t":"move","p":"payload.status.0.value","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":630,"y":40,"wires":[["7a5105c079162449"]]},{"id":"bc51b435706fbc6d","type":"change","z":"03917c9ce0720fba","name":"Connection","rules":[{"t":"move","p":"payload.status.2.value","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":80,"wires":[["d73468442be3a0f8"]]},{"id":"d73468442be3a0f8","type":"change","z":"03917c9ce0720fba","name":"boolean","rules":[{"t":"change","p":"payload","pt":"msg","from":"0","fromt":"num","to":"false","tot":"bool"},{"t":"change","p":"payload","pt":"msg","from":"1","fromt":"num","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":780,"y":80,"wires":[[]]},{"id":"7a5105c079162449","type":"change","z":"03917c9ce0720fba","name":"boolean","rules":[{"t":"change","p":"payload","pt":"msg","from":"0","fromt":"num","to":"false","tot":"bool"},{"t":"change","p":"payload","pt":"msg","from":"1","fromt":"str","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":800,"y":40,"wires":[[]]},{"id":"a61bf02fe7ece2d2","type":"change","z":"03917c9ce0720fba","name":"measurement","rules":[{"t":"move","p":"payload.data.measurement","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":240,"y":360,"wires":[["5a41fda17d23af70"]]},{"id":"5a41fda17d23af70","type":"function","z":"03917c9ce0720fba","name":"last value","func":"msg.payload = msg.payload[msg.payload.length - 1]\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":420,"y":360,"wires":[["fda1b6e170c473a9","ab633e98aa19277f","56fce24dc31c6323"]]},{"id":"fda1b6e170c473a9","type":"change","z":"03917c9ce0720fba","name":"flowrate","rules":[{"t":"move","p":"payload.flowrate","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":580,"y":300,"wires":[["0e7cdf6d96ee9fc0"]]},{"id":"ab633e98aa19277f","type":"change","z":"03917c9ce0720fba","name":"pressure","rules":[{"t":"move","p":"payload.pressure","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":580,"y":340,"wires":[["a0a0ec0a4d0cbbf5"]]},{"id":"56fce24dc31c6323","type":"change","z":"03917c9ce0720fba","name":"temperature","rules":[{"t":"move","p":"payload.temperature_guard","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":590,"y":380,"wires":[["7eeb7cac2b0f2303"]]},{"id":"c668e763b4e052cb","type":"change","z":"03917c9ce0720fba","name":"withdrawals","rules":[{"t":"move","p":"payload.data.withdrawals","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":230,"y":460,"wires":[["2a9a2d6b3aa3f142"]]},{"id":"2a9a2d6b3aa3f142","type":"function","z":"03917c9ce0720fba","name":"last before value","func":"msg.payload = msg.payload[msg.payload.length - 2]\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":400,"y":460,"wires":[["dcb76834c8ed9b16","f332d14ef1edbadc","d24aad2a9bef7f1b","0084474a3b64e6dd","d53d06ef682238f1"]]},{"id":"dcb76834c8ed9b16","type":"change","z":"03917c9ce0720fba","name":"waterconsumption","rules":[{"t":"move","p":"payload.waterconsumption","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":420,"wires":[["645d53d614ea8a3e"]]},{"id":"f332d14ef1edbadc","type":"change","z":"03917c9ce0720fba","name":"maxflowrate","rules":[{"t":"move","p":"payload.maxflowrate","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":590,"y":460,"wires":[[]]},{"id":"d24aad2a9bef7f1b","type":"change","z":"03917c9ce0720fba","name":"hotwater_share","rules":[{"t":"move","p":"payload.hotwater_share","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":600,"y":500,"wires":[[]]},{"id":"0084474a3b64e6dd","type":"change","z":"03917c9ce0720fba","name":"water_cost","rules":[{"t":"move","p":"payload.water_cost","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":590,"y":540,"wires":[["329ed1a38d8c73b2"]]},{"id":"d53d06ef682238f1","type":"change","z":"03917c9ce0720fba","name":"energy_cost","rules":[{"t":"move","p":"payload.energy_cost","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":590,"y":580,"wires":[["9b8c2ccca4e5de0e"]]},{"id":"46af5f9d0cfcb6d0","type":"comment","z":"03917c9ce0720fba","name":"measurements and withdrawls","info":"","x":330,"y":320,"wires":[]},{"id":"5b2ad9ed23c5fe42","type":"change","z":"03917c9ce0720fba","name":"notifications","rules":[{"t":"move","p":"payload.notifications","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":120,"wires":[[]]},{"id":"99bed097babf43f0","type":"change","z":"03917c9ce0720fba","name":"valve_open","rules":[{"t":"move","p":"payload.command.valve_open","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":160,"wires":[[]]},{"id":"e40450f929f086fb","type":"change","z":"03917c9ce0720fba","name":"pressure_measurement_running","rules":[{"t":"move","p":"payload.command.pressure_measurement_running","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":670,"y":200,"wires":[[]]},{"id":"a506694efe57e9cb","type":"comment","z":"03917c9ce0720fba","name":"Valve control and status","info":"","x":120,"y":20,"wires":[]},{"id":"b351a1b82d35c6b2","type":"ha-switch","z":"03917c9ce0720fba","name":"Grohe Guard","version":0,"debugenabled":false,"inputs":0,"outputs":2,"entityConfig":"a3c28141e50710db","enableInput":false,"outputOnStateChange":false,"outputProperties":[{"property":"outputType","propertyType":"msg","value":"state change","valueType":"str"},{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"}],"x":130,"y":60,"wires":[["05281a22e393529f"],["221bdfe08f529877"]]},{"id":"0e7cdf6d96ee9fc0","type":"ha-sensor","z":"03917c9ce0720fba","name":"Guard Flowrate","entityConfig":"570639cff4905e41","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":820,"y":300,"wires":[[]]},{"id":"a0a0ec0a4d0cbbf5","type":"ha-sensor","z":"03917c9ce0720fba","name":"Guard Wasserdruck","entityConfig":"7da21c527354ebb3","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":840,"y":340,"wires":[[]]},{"id":"7eeb7cac2b0f2303","type":"ha-sensor","z":"03917c9ce0720fba","name":"Guard Temperatur","entityConfig":"7d6ac600db24db1e","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":830,"y":380,"wires":[[]]},{"id":"645d53d614ea8a3e","type":"ha-sensor","z":"03917c9ce0720fba","name":"Guard Wasserverbrauch","entityConfig":"222efea13f18d3b3","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":850,"y":420,"wires":[[]]},{"id":"329ed1a38d8c73b2","type":"ha-sensor","z":"03917c9ce0720fba","name":"Guard Wasserkosten","entityConfig":"7997864e83fc500f","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":840,"y":540,"wires":[[]]},{"id":"9b8c2ccca4e5de0e","type":"ha-sensor","z":"03917c9ce0720fba","name":"Guard Energiekosten","entityConfig":"0def2f61fb79c3c4","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":840,"y":600,"wires":[[]]},{"id":"c38912f08c2e3e7e","type":"function","z":"03917c9ce0720fba","name":"milliseconds","func":"let now = Date.now();\nlet end = now;\nlet start = now - 24 * 60 * 60000;\n\nmsg.payload = {\n data: {\n from: start,\n to: end\n }\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":290,"y":180,"wires":[["a1808c9267428cc1"]]},{"id":"fd836c311ee5e940","type":"debug","z":"03917c9ce0720fba","name":"debug 2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":600,"y":240,"wires":[]},{"id":"4f4f0de26718a48b","type":"inject","z":"03917c9ce0720fba","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":200,"wires":[["c38912f08c2e3e7e"]]},{"id":"a1808c9267428cc1","type":"grohe sense","z":"03917c9ce0720fba","location":"","room":"","appliance":"","devicetype":"101","description":"","x":430,"y":120,"wires":[["625210fc35a5d266","bc51b435706fbc6d","5b2ad9ed23c5fe42","99bed097babf43f0","e40450f929f086fb","fd836c311ee5e940"]]},{"id":"d60310236c7d52e2","type":"grohe sense","z":"03917c9ce0720fba","location":"","room":"","appliance":"","devicetype":"101","description":"","x":450,"y":400,"wires":[["a61bf02fe7ece2d2","c668e763b4e052cb"]]},{"id":"a3c28141e50710db","type":"ha-entity-config","server":"9e7a0b7f64cd2bfd","deviceConfig":"f06d155cfd8577bf","name":"Grohe Guard","version":"6","entityType":"switch","haConfig":[{"property":"name","value":"Grohe Guard"},{"property":"icon","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":"switch"}],"resend":false,"debugEnabled":true},{"id":"570639cff4905e41","type":"ha-entity-config","server":"9e7a0b7f64cd2bfd","deviceConfig":"f06d155cfd8577bf","name":"Guard Flowrate","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Guard Flowrate"},{"property":"icon","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":"water"},{"property":"unit_of_measurement","value":"L"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"7da21c527354ebb3","type":"ha-entity-config","server":"9e7a0b7f64cd2bfd","deviceConfig":"f06d155cfd8577bf","name":"Guard Wasserdruck","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Guard Wasserdruck"},{"property":"icon","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":"pressure"},{"property":"unit_of_measurement","value":"bar"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"7d6ac600db24db1e","type":"ha-entity-config","server":"9e7a0b7f64cd2bfd","deviceConfig":"f06d155cfd8577bf","name":"Guard Temperatur","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Guard Temperatur"},{"property":"icon","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":"temperature"},{"property":"unit_of_measurement","value":"Ā°C"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"222efea13f18d3b3","type":"ha-entity-config","server":"9e7a0b7f64cd2bfd","deviceConfig":"f06d155cfd8577bf","name":"Guard Wasserverbrauch","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Guard Wasserverbrauch"},{"property":"icon","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":"water"},{"property":"unit_of_measurement","value":"L"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"7997864e83fc500f","type":"ha-entity-config","server":"9e7a0b7f64cd2bfd","deviceConfig":"f06d155cfd8577bf","name":"Guard Wasserkosten","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Guard Wasserkosten"},{"property":"icon","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":"monetary"},{"property":"unit_of_measurement","value":"EUR"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"0def2f61fb79c3c4","type":"ha-entity-config","server":"9e7a0b7f64cd2bfd","deviceConfig":"f06d155cfd8577bf","name":"Guard Energiekosten","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Guard Energiekosten"},{"property":"icon","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":"monetary"},{"property":"unit_of_measurement","value":"EUR"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"9e7a0b7f64cd2bfd","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":": ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"default","statusTimeFormat":"h:m","enableGlobalContextStore":false},{"id":"f06d155cfd8577bf","type":"ha-device-config","name":"Grohe Guard","hwVersion":"","manufacturer":"Node-RED","model":"","swVersion":""}]
I donāt know how to get the daily values yet.