[{"id":"e64fed24490a63b3","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"5c6c723277aa5644","type":"file in","z":"e64fed24490a63b3","name":"Read File","filename":"/homeassistant/hmip-config_EB48.json","filenameType":"str","format":"utf8","chunk":false,"sendError":false,"encoding":"none","allProps":false,"x":260,"y":320,"wires":[["2064ea9e5a0d786f"]]},{"id":"2064ea9e5a0d786f","type":"json","z":"e64fed24490a63b3","name":"","property":"payload","action":"","pretty":false,"x":400,"y":320,"wires":[["1fed12e2f485760c","0b5d9739cc878468","505a113ffd783754","0bd79d08be82cae0"]]},{"id":"1fed12e2f485760c","type":"function","z":"e64fed24490a63b3","name":"Norbert Durchluss Filter","func":"var device = msg.payload.devices[\"3014F7110000000000000006\"].functionalChannels[3].valvePosition\nmsg.payload = device *100\nreturn msg;","outputs":1,"timeout":"","noerr":0,"initialize":"","finalize":"","libs":[],"x":590,"y":320,"wires":[["95198f79a377fe39"]]},{"id":"4f5645a93f570fbf","type":"inject","z":"e64fed24490a63b3","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":100,"y":300,"wires":[["5c6c723277aa5644"]]},{"id":"228fcf3ab81a1e6b","type":"server-state-changed","z":"e64fed24490a63b3","name":"start","server":"6320331.4b4f7cc","version":6,"outputs":2,"exposeAsEntityConfig":"","entities":{"entity":["input_button.starte_fluss_lesen"],"substring":[],"regex":[]},"outputInitially":false,"stateType":"habool","ifState":"true","ifStateType":"bool","ifStateOperator":"is","outputOnlyOnStateChange":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":110,"y":340,"wires":[["5c6c723277aa5644"],[]]},{"id":"95198f79a377fe39","type":"ha-number","z":"e64fed24490a63b3","name":"Durchfluss_Norbert","version":1,"debugenabled":false,"inputs":1,"outputs":1,"entityConfig":"f01b404df20cdb5e","mode":"set","value":"payload","valueType":"msg","outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"value"},{"property":"previousValue","propertyType":"msg","value":"","valueType":"previousValue"}],"x":830,"y":320,"wires":[["92d72a84d1052b9f"]]},{"id":"0b5d9739cc878468","type":"function","z":"e64fed24490a63b3","name":"Ute Durchluss Filter","func":"var device = msg.payload.devices[\"3014F7110000000000000006\"].functionalChannels[1].valvePosition\nmsg.payload = device *100\nreturn msg;","outputs":1,"timeout":"","noerr":0,"initialize":"","finalize":"","libs":[],"x":570,"y":260,"wires":[["17c167d943946585"]]},{"id":"070af35aeec7e44c","type":"debug","z":"e64fed24490a63b3","name":"debug 1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1060,"y":260,"wires":[]},{"id":"92d72a84d1052b9f","type":"debug","z":"e64fed24490a63b3","name":"debug 2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1060,"y":320,"wires":[]},{"id":"1d9c987b8dd6b16b","type":"ha-button","z":"e64fed24490a63b3","name":"Starte_Fluss","version":0,"debugenabled":false,"outputs":1,"entityConfig":"3d09f4570c4f42cc","outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"x":130,"y":400,"wires":[["5c6c723277aa5644"]]},{"id":"17c167d943946585","type":"ha-number","z":"e64fed24490a63b3","name":"Durchfluss_Ute","version":1,"debugenabled":false,"inputs":1,"outputs":1,"entityConfig":"a1622593cab5566a","mode":"set","value":"payload","valueType":"msg","outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"value"},{"property":"previousValue","propertyType":"msg","value":"","valueType":"previousValue"}],"x":800,"y":260,"wires":[["070af35aeec7e44c"]]},{"id":"505a113ffd783754","type":"function","z":"e64fed24490a63b3","name":"Norbert Durchluss Filter","func":"var device = msg.payload.devices[\"3014F7110000000000000006\"].functionalChannels[5].valvePosition\nmsg.payload = device *100\nreturn msg;","outputs":1,"timeout":"","noerr":0,"initialize":"","finalize":"","libs":[],"x":590,"y":380,"wires":[["c3a424c49561630c"]]},{"id":"c3a424c49561630c","type":"ha-number","z":"e64fed24490a63b3","name":"Durchfluss_Bad","version":1,"debugenabled":false,"inputs":1,"outputs":1,"entityConfig":"2b1dd03959c3496a","mode":"set","value":"payload","valueType":"msg","outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"value"},{"property":"previousValue","propertyType":"msg","value":"","valueType":"previousValue"}],"x":820,"y":380,"wires":[["483cbdffb5df6621"]]},{"id":"483cbdffb5df6621","type":"debug","z":"e64fed24490a63b3","name":"debug 4","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1060,"y":380,"wires":[]},{"id":"0bd79d08be82cae0","type":"function","z":"e64fed24490a63b3","name":"Norbert Durchluss Filter","func":"var device = msg.payload.devices[\"3014F7110000000000000007\"].functionalChannels[1].valvePosition\nmsg.payload = device *100\nreturn msg;","outputs":1,"timeout":"","noerr":0,"initialize":"","finalize":"","libs":[],"x":590,"y":440,"wires":[["ee371f4b1ebfd202"]]},{"id":"ee371f4b1ebfd202","type":"ha-number","z":"e64fed24490a63b3","name":"Durchfluss_Wohnzimmer","version":1,"debugenabled":false,"inputs":1,"outputs":1,"entityConfig":"107084c9aa9e4723","mode":"set","value":"payload","valueType":"msg","outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"value"},{"property":"previousValue","propertyType":"msg","value":"","valueType":"previousValue"}],"x":850,"y":440,"wires":[["15d5a7895b81b9f2"]]},{"id":"15d5a7895b81b9f2","type":"debug","z":"e64fed24490a63b3","name":"debug 5","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1060,"y":440,"wires":[]},{"id":"6320331.4b4f7cc","type":"server","name":"Home Assistant","addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"","connectionDelay":true,"cacheJson":true,"heartbeat":true,"heartbeatInterval":"5","areaSelector":"id","deviceSelector":"id","entitySelector":"id","statusSeparator":":","statusYear":"numeric","statusMonth":"2-digit","statusDay":"2-digit","statusHourCycle":"h23","statusTimeFormat":"h:m:s","enableGlobalContextStore":true},{"id":"f01b404df20cdb5e","type":"ha-entity-config","server":"6320331.4b4f7cc","deviceConfig":"","name":"","version":"6","entityType":"number","haConfig":[{"property":"name","value":"Durchfluss_Norbert"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":"%"},{"property":"min_value","value":""},{"property":"max_value","value":""},{"property":"step_value","value":""},{"property":"mode","value":"auto"}],"resend":false,"debugEnabled":false},{"id":"3d09f4570c4f42cc","type":"ha-entity-config","server":"6320331.4b4f7cc","deviceConfig":"","name":"Starte_Fluss","version":"6","entityType":"button","haConfig":[{"property":"name","value":"Starte Fluss"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""}],"resend":false,"debugEnabled":false},{"id":"a1622593cab5566a","type":"ha-entity-config","server":"6320331.4b4f7cc","deviceConfig":"","name":"Durchluss_Ute","version":"6","entityType":"number","haConfig":[{"property":"name","value":"Durchfluss_Ute"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":"%"},{"property":"min_value","value":""},{"property":"max_value","value":""},{"property":"step_value","value":""},{"property":"mode","value":"auto"}],"resend":false,"debugEnabled":false},{"id":"2b1dd03959c3496a","type":"ha-entity-config","server":"6320331.4b4f7cc","deviceConfig":"","name":"Durchfluss_bad","version":"6","entityType":"number","haConfig":[{"property":"name","value":"Durchfluss_bad"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":"%"},{"property":"min_value","value":""},{"property":"max_value","value":""},{"property":"step_value","value":""},{"property":"mode","value":"auto"}],"resend":false,"debugEnabled":false},{"id":"107084c9aa9e4723","type":"ha-entity-config","server":"6320331.4b4f7cc","deviceConfig":"","name":"Durchfluss_Wohnzimmer","version":"6","entityType":"number","haConfig":[{"property":"name","value":"Durchfluss_Wohnzimmer"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":"%"},{"property":"min_value","value":""},{"property":"max_value","value":""},{"property":"step_value","value":""},{"property":"mode","value":"auto"}],"resend":false,"debugEnabled":false}]
by HarryP: Codezeilen formatiert