Guest User

Luxtronix Example

a guest
Dec 21st, 2020
99
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [{"id":"fa29a25c.7cbfc","type":"tab","label":"Lux test","disabled":false,"info":""},{"id":"90729ba3.1fd598","type":"inject","z":"fa29a25c.7cbfc","name":"every 30s","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"30","crontab":"","once":false,"onceDelay":"","topic":"","payload":"","payloadType":"date","x":1110,"y":320,"wires":[["2df90ea5.4b1602"]]},{"id":"1727f2fb.e2d41d","type":"function","z":"fa29a25c.7cbfc","d":true,"name":"proccess temperature data","func":"var data = msg.payload;\nvar result = {};\n\nfunction sanitize(s) {\n s = s.replace(\" \", \"-\");\n s = s.replace(\",\", \".\");\n return s;\n}\n\nfor(var t in data[\"Informationen\"][\"Temperaturen\"]){\n result[sanitize(t)] = parseFloat(data[\"Informationen\"][\"Temperaturen\"][t]);\n}\n\nmsg.payload = result;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1620,"y":80,"wires":[[]]},{"id":"3aed337c.3545dc","type":"function","z":"fa29a25c.7cbfc","d":true,"name":"proccess input data","func":"var data = msg.payload;\nvar result = {};\n\nfunction sanitize(s) {\n s = s.replace(\" \", \"-\");\n s = s.replace(\",\", \".\");\n return s;\n}\n\nfunction parse(v) {\n if(v === \"Ein\") {\n return 1;\n } else if(v === \"Aus\") {\n return 0;\n } else {\n return parseFloat(v);\n }\n}\n\nfor(var t in data[\"Informationen\"][\"Eingänge\"]){\n if(t != \"Durchfluss\") {\n result[sanitize(t)] = parse(data[\"Informationen\"][\"Eingänge\"][t]);\n }\n}\n\nmsg.payload = result;\nreturn msg;","outputs":1,"noerr":0,"x":1620,"y":140,"wires":[[]]},{"id":"2497cc13.959f24","type":"function","z":"fa29a25c.7cbfc","d":true,"name":"proccess output data","func":"var data = msg.payload;\nvar result = {};\n\nfunction sanitize(s) {\n s = s.replace(\" \", \"-\");\n s = s.replace(\",\", \".\");\n return s;\n}\n\nfunction parse(v) {\n if(v === \"Ein\") {\n return 1;\n } else if(v === \"Aus\") {\n return 0;\n } else {\n return parseFloat(v);\n }\n}\n\nfor(var t in data[\"Informationen\"][\"Ausgänge\"]){\n if(!t.startsWith(\"seit\")) {\n result[sanitize(t)] = parse(data[\"Informationen\"][\"Ausgänge\"][t]);\n }\n}\n\nmsg.payload = result;\nreturn msg;","outputs":1,"noerr":0,"x":1620,"y":180,"wires":[[]]},{"id":"39229c4f.77b584","type":"function","z":"fa29a25c.7cbfc","d":true,"name":"proccess output data","func":"var data = msg.payload;\nvar result = {};\n\nfunction sanitize(s) {\n s = s.replace(\" \", \"-\");\n s = s.replace(\",\", \".\");\n return s;\n}\n\nfunction parse(v) {\n return parseFloat(v);\n}\n\nfor(var t in data[\"Informationen\"][\"Betriebsstunden\"]){\n if(!t.startsWith(\"Laufzeit\")) {\n result[sanitize(t)] = parse(data[\"Informationen\"][\"Betriebsstunden\"][t]);\n }\n}\n\nmsg.payload = result;\nreturn msg;","outputs":1,"noerr":0,"x":1640,"y":220,"wires":[[]]},{"id":"356b5852.86a258","type":"function","z":"fa29a25c.7cbfc","d":true,"name":"proccess output data","func":"var data = msg.payload;\nvar result = {}\n\nfunction sanitize(s) {\n s = s.replace(\" \", \"-\");\n s = s.replace(\",\", \".\");\n return s;\n}\n\nfunction parse(v) {\n return parseFloat(v);\n}\n\nfor(var t in data[\"Informationen\"][\"Wärmemenge \"]){\n result[sanitize(t)] = parse(data[\"Informationen\"][\"Wärmemenge \"][t]);\n}\n\nmsg.payload = result;\nreturn msg;","outputs":1,"noerr":0,"x":1620,"y":260,"wires":[[]]},{"id":"21d18e5c.0ec742","type":"function","z":"fa29a25c.7cbfc","d":true,"name":"proccess Fehlerspeicher","func":"var data = msg.payload;\nvar result = {}\n\nfunction sanitize(s) {\n s = s.replace(\" \", \"-\");\n s = s.replace(\",\", \".\");\n return s;\n}\n\nfunction parse(v) {\n return parseFloat(v);\n}\n\nfor(var t in data[\"Informationen\"][\"Fehlerspeicher\"]){\n result[sanitize(t)] = parse(data[\"Informationen\"][\"Fehlerspeicher\"][t]);\n}\n\nmsg.payload = result;\nreturn msg;","outputs":1,"noerr":0,"x":1630,"y":300,"wires":[[]]},{"id":"7672f0c6.19e64","type":"function","z":"fa29a25c.7cbfc","name":"proccess Informationen-Betriebsstunden","func":"var data = msg.payload;\nvar result = {}\n\nfunction sanitize(s) {\n s = s.replace(\" \", \"-\");\n s = s.replace(\",\", \".\");\n return s;\n}\n\nfunction parse(v) {\n return parseFloat(v);\n}\n\nfor(var t in data[\"Informationen\"][\"Betriebsstunden\"]){\n result[t] = parse(data[\"Informationen\"][\"Betriebsstunden\"][t]);\n}\n\nmsg.payload = result;\nreturn msg;","outputs":1,"noerr":0,"x":1700,"y":400,"wires":[["dbab3f18.35295","4313b9de.512df8","2d0e956c.3fb12a","1bdd5aec.64a555","4ccf1af4.eccd14"]]},{"id":"dbab3f18.35295","type":"ui_text","z":"fa29a25c.7cbfc","group":"44b23f1f.2651f","order":1,"width":0,"height":0,"name":"","label":"Wärmepumpe","format":"{{msg.payload[\"Betriebstunden WP\"]}}","layout":"row-spread","x":2160,"y":400,"wires":[]},{"id":"4313b9de.512df8","type":"ui_text","z":"fa29a25c.7cbfc","group":"44b23f1f.2651f","order":2,"width":0,"height":0,"name":"","label":"Heizen","format":"{{msg.payload[\"Betriebstunden Heiz.\"]}}","layout":"row-spread","x":2330,"y":400,"wires":[]},{"id":"2d0e956c.3fb12a","type":"ui_text","z":"fa29a25c.7cbfc","group":"44b23f1f.2651f","order":3,"width":0,"height":0,"name":"","label":"Warmwasser","format":"{{msg.payload[\"Betriebstunden WW\"]}}","layout":"row-spread","x":2530,"y":400,"wires":[]},{"id":"1bdd5aec.64a555","type":"ui_text","z":"fa29a25c.7cbfc","group":"44b23f1f.2651f","order":4,"width":0,"height":0,"name":"","label":"Kühlen","format":"{{msg.payload[\"Betriebstunden Kuehl\"]}}","layout":"row-spread","x":2670,"y":400,"wires":[]},{"id":"4ccf1af4.eccd14","type":"debug","z":"fa29a25c.7cbfc","name":"","active":false,"console":"false","complete":"false","x":1970,"y":400,"wires":[]},{"id":"2cd266f8.53487a","type":"function","z":"fa29a25c.7cbfc","name":"proccess Informationen-Anlagenstatus","func":"var data = msg.payload;\nvar result = {}\n\nfor(var t in data[\"Informationen\"][\"Anlagenstatus\"]){\n result[t] = data[\"Informationen\"][\"Anlagenstatus\"][t];\n}\n\nmsg.payload = result;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1690,"y":440,"wires":[["3cb04cdb.d850d4","7de8823c.6db3ec","8ddfb999.80cff8","b313b805.4517e8","36c9de10.d4b7a2","29a52d8c.efd702","6999ab92.ece544"]]},{"id":"7de8823c.6db3ec","type":"ui_text","z":"fa29a25c.7cbfc","group":"8caa79a6.f022e8","order":1,"width":0,"height":0,"name":"","label":"Wärmepumpen Typ","format":"{{msg.payload[\"Wärmepumpen Typ\"]}}","layout":"row-spread","x":2170,"y":440,"wires":[]},{"id":"3cb04cdb.d850d4","type":"debug","z":"fa29a25c.7cbfc","name":"","active":false,"console":"false","complete":"false","x":1970,"y":440,"wires":[]},{"id":"8ddfb999.80cff8","type":"ui_text","z":"fa29a25c.7cbfc","group":"8caa79a6.f022e8","order":2,"width":0,"height":0,"name":"","label":"Softwarestand","format":"{{msg.payload.Softwarestand}}","layout":"row-spread","x":2360,"y":440,"wires":[]},{"id":"b313b805.4517e8","type":"ui_text","z":"fa29a25c.7cbfc","group":"8caa79a6.f022e8","order":3,"width":0,"height":0,"name":"","label":"Bivalenz Stufe","format":"{{msg.payload[\"Bivalenz Stufe\"]}}","layout":"row-spread","x":2540,"y":440,"wires":[]},{"id":"36c9de10.d4b7a2","type":"ui_text","z":"fa29a25c.7cbfc","group":"8caa79a6.f022e8","order":4,"width":0,"height":0,"name":"","label":"Leistung Ist","format":"{{msg.payload[\"Leistung Ist\"]}}","layout":"row-spread","x":2350,"y":480,"wires":[]},{"id":"1e3db738.b0e9c9","type":"function","z":"fa29a25c.7cbfc","name":"proccess Informationen-Wärmemenge","func":"var data = msg.payload;\nvar result = {}\n\nfor(var t in data[\"Informationen\"][\"Wärmemenge \"]){\n result[t] = data[\"Informationen\"][\"Wärmemenge \"][t];\n}\n\nmsg.payload = result;\nreturn msg;","outputs":1,"noerr":0,"x":1690,"y":520,"wires":[["e9057b9a.fd1bf8","3a4bce26.451b22","cc07183e.c78118","b4bbc323.bea8a"]]},{"id":"3a4bce26.451b22","type":"ui_text","z":"fa29a25c.7cbfc","group":"42a351d9.6a495","order":1,"width":0,"height":0,"name":"","label":"Heizung","format":"{{msg.payload[\"Heizung\"]}}","layout":"row-spread","x":2140,"y":520,"wires":[]},{"id":"e9057b9a.fd1bf8","type":"debug","z":"fa29a25c.7cbfc","name":"","active":false,"console":"false","complete":"false","x":1970,"y":520,"wires":[]},{"id":"cc07183e.c78118","type":"ui_text","z":"fa29a25c.7cbfc","group":"42a351d9.6a495","order":2,"width":0,"height":0,"name":"","label":"Warmwasser","format":"{{msg.payload[\"Warmwasser\"]}}","layout":"row-spread","x":2350,"y":520,"wires":[]},{"id":"b4bbc323.bea8a","type":"ui_text","z":"fa29a25c.7cbfc","group":"42a351d9.6a495","order":3,"width":0,"height":0,"name":"","label":"Gesamt","format":"{{msg.payload[\"Gesamt\"]}}","layout":"row-spread","x":2520,"y":520,"wires":[]},{"id":"3eed728d.643e4e","type":"function","z":"fa29a25c.7cbfc","name":"proccess Informationen-Temperaturen","func":"var data = msg.payload;\nvar result = {}\n\nfor(var t in data[\"Informationen\"][\"Temperaturen\"]){\n result[t] = data[\"Informationen\"][\"Temperaturen\"][t];\n}\n\nmsg.payload = result;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1690,"y":580,"wires":[["a87627f0.c24ee8","6eae1fca.83286","158709a7.a91ea6","38b0cb0b.4ac674","2502a5f.cdac95a","fad07580.6642c8","901e32d1.ac04b","6862a805.f15178","f2d8b871.ede308","7af6ef4a.c2f51","5bd1e9a8.a42338","d31cfde4.a4ba1","7024763e.d36c98","7d15228a.b8d87c","25ae45bc.2985da"]]},{"id":"6eae1fca.83286","type":"ui_text","z":"fa29a25c.7cbfc","group":"10a7e784.311798","order":2,"width":0,"height":0,"name":"","label":"Vorlauf","format":"{{msg.payload[\"Vorlauf\"]}}","layout":"row-spread","x":2130,"y":580,"wires":[]},{"id":"a87627f0.c24ee8","type":"debug","z":"fa29a25c.7cbfc","name":"","active":false,"console":"false","complete":"false","x":1970,"y":580,"wires":[]},{"id":"158709a7.a91ea6","type":"ui_text","z":"fa29a25c.7cbfc","group":"10a7e784.311798","order":4,"width":0,"height":0,"name":"","label":"Rücklauf","format":"{{msg.payload[\"Rücklauf\"]}}","layout":"row-spread","x":2520,"y":580,"wires":[]},{"id":"38b0cb0b.4ac674","type":"ui_text","z":"fa29a25c.7cbfc","group":"10a7e784.311798","order":6,"width":0,"height":0,"name":"","label":"Warmwasser IST","format":"{{msg.payload[\"Warmwasser-Ist\"]}}","layout":"row-spread","x":2170,"y":620,"wires":[]},{"id":"2502a5f.cdac95a","type":"ui_text","z":"fa29a25c.7cbfc","group":"10a7e784.311798","order":7,"width":0,"height":0,"name":"","label":"Warmwasser SOLL","format":"{{msg.payload[\"Warmwasser-Soll\"]}}","layout":"row-spread","x":2370,"y":620,"wires":[]},{"id":"fad07580.6642c8","type":"ui_text","z":"fa29a25c.7cbfc","group":"10a7e784.311798","order":1,"width":0,"height":0,"name":"","label":"Aussentemperatur","format":"{{msg.payload[\"Aussentemperatur\"]}}","layout":"row-spread","x":2710,"y":620,"wires":[]},{"id":"901e32d1.ac04b","type":"ui_text","z":"fa29a25c.7cbfc","group":"10a7e784.311798","order":5,"width":0,"height":0,"name":"","label":"Rücklauf SOLL","format":"{{msg.payload[\"Rückl.-Soll\"]}}","layout":"row-spread","x":2700,"y":580,"wires":[]},{"id":"6862a805.f15178","type":"ui_text","z":"fa29a25c.7cbfc","group":"10a7e784.311798","order":3,"width":0,"height":0,"name":"","label":"Vorlauf max.","format":"{{msg.payload[\"Vorlauf max.\"]}}","layout":"row-spread","x":2350,"y":580,"wires":[]},{"id":"b2e04495.866478","type":"ui_template","z":"fa29a25c.7cbfc","d":true,"group":"78baf6f1.83d9","name":"Umgebungstemperatur","order":2,"width":7,"height":4,"format":"<div ng-bind-html=\"msg.payload\"></div>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":false,"templateScope":"local","x":2570,"y":860,"wires":[[]]},{"id":"e7184e7b.4e86b","type":"ui_chart","z":"fa29a25c.7cbfc","d":true,"name":"","group":"78baf6f1.83d9","order":3,"width":0,"height":0,"label":"Vor-/Rücklauf","chartType":"line","legend":"true","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"1","removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#ff0000","#d9ec37","#ebebeb","#98df8a","#0000ff","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":2360,"y":700,"wires":[[]]},{"id":"2d30cef2.64ace2","type":"ui_chart","z":"fa29a25c.7cbfc","d":true,"name":"","group":"29ca9eb5.1e0a92","order":1,"width":0,"height":0,"label":"Warmwasser","chartType":"line","legend":"true","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"1","removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#00c7fd","#ebebeb","#005f41","#2ca02c","#98df8a","#0000ff","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":2350,"y":740,"wires":[[]]},{"id":"f2d8b871.ede308","type":"function","z":"fa29a25c.7cbfc","name":"Warmwasser: IST/SOLL","func":"var msg1 = {};\nvar msg2 = {};\nvar msgIN = {};\n\nmsgIN.payload = msg.payload[\"Warmwasser-Ist\"];\nmsg1.payload = parseFloat(msgIN.payload);\nmsg1.topic = \"Warmwasser IST\";\n\nmsgIN.payload = msg.payload[\"Warmwasser-Soll\"];\nmsg2.payload = parseFloat(msgIN.payload);\nmsg2.topic = \"Warmwasser SOLL\";\n\nreturn [msg1, msg2];","outputs":2,"noerr":0,"x":2050,"y":760,"wires":[["2d30cef2.64ace2"],["2d30cef2.64ace2"]]},{"id":"7af6ef4a.c2f51","type":"function","z":"fa29a25c.7cbfc","name":"Heizkreislauf: VOR/RÜCK","func":"var msg1 = {};\nvar msg2 = {};\nvar msg3 = {};\nvar msg4 = {};\nvar msgIN = {};\n\nmsgIN.payload = msg.payload[\"Vorlauf\"];\nmsg1.payload = parseFloat(msgIN.payload);\nmsg1.topic = \"Vorlauf\";\n\nmsgIN.payload = msg.payload[\"Rücklauf\"];\nmsg2.payload = parseFloat(msgIN.payload);\nmsg2.topic = \"Rücklauf\";\n\nmsgIN.payload = msg.payload[\"Vorlauf max.\"];\nmsg3.payload = parseFloat(msgIN.payload);\nmsg3.topic = \"Vorlauf max.\";\n\nmsgIN.payload = msg.payload[\"Rückl.-Soll\"];\nmsg4.payload = parseFloat(msgIN.payload);\nmsg4.topic = \"Rücklauf soll\";\n\n\nreturn [msg1, msg2, msg3, msg4];","outputs":4,"noerr":0,"x":2050,"y":720,"wires":[["e7184e7b.4e86b"],["e7184e7b.4e86b"],["e7184e7b.4e86b"],["e7184e7b.4e86b"]]},{"id":"5bd1e9a8.a42338","type":"function","z":"fa29a25c.7cbfc","name":"Aussentemperatur","func":"var msg1 = {};\nvar msg2 = {};\nvar msg3 = {};\nvar msgIN = {};\n\nmsgIN.payload = msg.payload[\"Aussentemperatur\"];\nmsg1.payload = parseFloat(msgIN.payload);\nmsg1.topic = \"Aussentemperatur\";\n\nmsgIN.payload = msg.payload[\"Mitteltemperatur\"];\nmsg2.payload = parseFloat(msgIN.payload);\nmsg2.topic = \"Mitteltemperatur\";\n\nmsgIN.payload = msg.payload[\"Wärmequelle-Ein\"];\nmsg3.payload = parseFloat(msgIN.payload);\nmsg3.topic = \"Wäremquelle Eingang\";\n\nreturn [msg1, msg2, msg3];","outputs":3,"noerr":0,"x":2030,"y":820,"wires":[["5001c33f.cbe93c","243bda33.000b86"],["243bda33.000b86"],[]]},{"id":"d31cfde4.a4ba1","type":"function","z":"fa29a25c.7cbfc","name":"Fußbodenheizung","func":"var msg1 = {};\nvar msg2 = {};\nvar msgIN = {};\n\nmsgIN.payload = msg.payload[\"Mischkreis1-Vorlauf\"];\nmsg1.payload = parseFloat(msgIN.payload);\nmsg1.topic = \"FBHZ Vorlauf\";\n\nmsgIN.payload = msg.payload[\"Mischkreis1 VL-Soll\"];\nmsg2.payload = parseFloat(msgIN.payload);\nmsg2.topic = \"FBHZ SOLL\";\n\nreturn [msg1, msg2];","outputs":2,"noerr":0,"x":2030,"y":780,"wires":[["ee351ace.026098"],["ee351ace.026098"]]},{"id":"ee351ace.026098","type":"ui_chart","z":"fa29a25c.7cbfc","d":true,"name":"","group":"29ca9eb5.1e0a92","order":1,"width":0,"height":0,"label":"FBHZ","chartType":"line","legend":"true","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"1","removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#ee462f","#ebebeb","#77bb40","#d9ec37","#98df8a","#0000ff","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":2330,"y":780,"wires":[[]]},{"id":"243bda33.000b86","type":"ui_chart","z":"fa29a25c.7cbfc","d":true,"name":"","group":"78baf6f1.83d9","order":1,"width":0,"height":0,"label":"Umgebungstemperatur","chartType":"line","legend":"true","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"1","removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#4ca02d","#8ba083","#fffc40","#2ca02c","#98df8a","#0000ff","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":2390,"y":820,"wires":[[]]},{"id":"14918bbe.29cb04","type":"ui_template","z":"fa29a25c.7cbfc","d":true,"group":"7e83652e.2fa2cc","name":"","order":0,"width":0,"height":0,"format":"<style>\nbody.nr-dashboard-theme {\n font-size: 50px !important;\n}\n.md-toolbar-tools h1 {\n font-size: 50px !important;\n}\n</style>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":false,"templateScope":"global","x":2340,"y":240,"wires":[[]]},{"id":"7b940297.01028c","type":"link out","z":"fa29a25c.7cbfc","name":"AUSSEN","links":["4e3655fb.aa2e04"],"x":2135,"y":860,"wires":[]},{"id":"7024763e.d36c98","type":"function","z":"fa29a25c.7cbfc","name":"AUSSEN","func":"msg.payload = msg.payload[\"Aussentemperatur\"];\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":2000,"y":860,"wires":[["7b940297.01028c"]]},{"id":"bfa82768.7103d8","type":"debug","z":"fa29a25c.7cbfc","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1590,"y":360,"wires":[]},{"id":"5001c33f.cbe93c","type":"average-bars","z":"fa29a25c.7cbfc","d":true,"name":"average-bars","title":"Umgebungstemperatur, gemittelt","period":"week","yMin":"auto","yMax":"auto","showBarsValue":true,"showScaleValue":true,"showLastValue":true,"showAverageValue":true,"showMinimumValue":true,"showMaximumValue":true,"maxBar":"20","topColor":"#ff0000","bottomColor":"#ffff00","unit":"ºC","fontColor":"#aaaaaa","barStyle":"Rectangle","decimal":1,"x":2350,"y":860,"wires":[["b2e04495.866478"]]},{"id":"29a52d8c.efd702","type":"ui_text","z":"fa29a25c.7cbfc","group":"8caa79a6.f022e8","order":5,"width":0,"height":0,"name":"","label":"Betriebszustand","format":"{{msg.payload[\"Betriebszustand\"]}}","layout":"row-spread","x":2160,"y":480,"wires":[]},{"id":"39082682.20e1aa","type":"function","z":"fa29a25c.7cbfc","name":"proccess Informationen-Ausgänge","func":"var data = msg.payload;\nvar result = {}\n\nfor(var t in data[\"Informationen\"][\"Ausgänge\"]){\n result[t] = data[\"Informationen\"][\"Ausgänge\"][t];\n}\n\nmsg.payload = result;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1680,"y":660,"wires":[["1acf9815.aa66e8","d0692fe7.8c97f"]]},{"id":"1acf9815.aa66e8","type":"ui_text","z":"fa29a25c.7cbfc","group":"3a286454.35f89c","order":1,"width":0,"height":0,"name":"","label":"Mischer 1 Auf","format":"{{msg.payload[\"Mischer 1 Auf\"]}}","layout":"row-spread","x":2160,"y":660,"wires":[]},{"id":"d0692fe7.8c97f","type":"ui_text","z":"fa29a25c.7cbfc","group":"3a286454.35f89c","order":1,"width":0,"height":0,"name":"","label":"Mischer 1 Zu","format":"{{msg.payload[\"Mischer 1 Zu\"]}}","layout":"row-spread","x":2350,"y":660,"wires":[]},{"id":"8b18985.2604968","type":"ui_button","z":"fa29a25c.7cbfc","name":"","group":"dcd69ead.815f5","order":4,"width":1,"height":1,"passthru":false,"label":"0","tooltip":"","color":"#000000","bgcolor":"#ffffff","icon":"","payload":"4","payloadType":"num","topic":"","x":510,"y":380,"wires":[["40e34e03.a879d"]]},{"id":"22ed23f5.48e6cc","type":"ui_button","z":"fa29a25c.7cbfc","name":"","group":"dcd69ead.815f5","order":5,"width":2,"height":1,"passthru":false,"label":"AUTO","tooltip":"","color":"","bgcolor":"#53b234","icon":"","payload":"0","payloadType":"num","topic":"","x":510,"y":340,"wires":[["b7fb01f1.041ee"]]},{"id":"1eb07c6a.bad5f4","type":"function","z":"fa29a25c.7cbfc","name":"","func":"switch(msg.payload.value) {\n case 0:\n return [{payload: {value:\"Auto\"}}];\n case 1:\n return [{payload: {value:\"Zus. Wärmeerz\"}}];\n case 2:\n return [{payload: {value:\"Party\"}}];\n case 3:\n return [{payload: {value:\"Ferien\"}}];\n case 4:\n return [{payload: {value:\"Aus\"}}];\n default:\n return [{payload: {value:\" - \"}}];\n}\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":2000,"y":920,"wires":[[]]},{"id":"d45909d0.3437b8","type":"ui_text","z":"fa29a25c.7cbfc","group":"dcd69ead.815f5","order":1,"width":"1","height":"1","name":"Heizung","label":"<font color=\"grey\"><i class=\"fa fa-thermometer-three-quarters fa-lg\"></i></font>","format":"<font size=\"-2\">{{msg.payload.value}}</font> ","layout":"col-center","x":1740,"y":1100,"wires":[]},{"id":"8fcc048a.ba5cd8","type":"ui_dropdown","z":"fa29a25c.7cbfc","name":"","label":"","tooltip":"","place":"+-°C","group":"dcd69ead.815f5","order":3,"width":"2","height":"1","passthru":false,"multiple":false,"options":[{"label":"","value":"-4","type":"str"},{"label":"","value":-2,"type":"num"},{"label":"","value":"-1","type":"str"},{"label":"","value":"-0.5","type":"str"},{"label":"","value":"0","type":"str"},{"label":"","value":"0.5","type":"str"},{"label":"","value":"1","type":"str"},{"label":"","value":"2","type":"str"},{"label":"","value":"4","type":"str"}],"payload":"","topic":"","x":1750,"y":1140,"wires":[["e31b4e6a.bbe98"]]},{"id":"25c4d0fd.7e1bc","type":"ui_button","z":"fa29a25c.7cbfc","name":"","group":"dcd69ead.815f5","order":9,"width":1,"height":1,"passthru":false,"label":"0","tooltip":"","color":"#000000","bgcolor":"#ffffff","icon":"","payload":"4","payloadType":"num","topic":"","x":510,"y":460,"wires":[["c5f98fb1.3bd38"]]},{"id":"7de521b0.5d5c8","type":"ui_button","z":"fa29a25c.7cbfc","name":"","group":"dcd69ead.815f5","order":10,"width":2,"height":1,"passthru":false,"label":"AUTO","tooltip":"","color":"","bgcolor":"#53b234","icon":"","payload":"0","payloadType":"num","topic":"","x":510,"y":420,"wires":[["93b16d83.e6a43"]]},{"id":"3c83beca.084362","type":"debug","z":"fa29a25c.7cbfc","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1930,"y":1240,"wires":[]},{"id":"bc467dfa.853dc","type":"function","z":"fa29a25c.7cbfc","name":"","func":"switch(msg.payload.value) {\n case 0:\n return [{payload: {value:\"Auto\"}}];\n case 1:\n return [{payload: {value:\"Zus. Wärmeerz\"}}];\n case 2:\n return [{payload: {value:\"Party\"}}];\n case 3:\n return [{payload: {value:\"Ferien\"}}];\n case 4:\n return [{payload: {value:\"Aus\"}}];\n default:\n return [{payload: {value:\" - \"}}];\n}\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":2000,"y":960,"wires":[[]]},{"id":"e02232c1.ef414","type":"ui_text","z":"fa29a25c.7cbfc","group":"dcd69ead.815f5","order":6,"width":"1","height":"1","name":"WW","label":"<font color=\"grey\"><i class=\"fa fa-tint fa-lg\"></i></font>","format":"<font size=\"-2\">{{msg.payload.value}}</font> ","layout":"col-center","x":1730,"y":1200,"wires":[]},{"id":"11a0189c.775337","type":"ui_dropdown","z":"fa29a25c.7cbfc","name":"","label":"","tooltip":"","place":"°C","group":"dcd69ead.815f5","order":8,"width":"2","height":"1","passthru":false,"multiple":false,"options":[{"label":"","value":"55","type":"str"},{"label":"","value":"54.5","type":"str"},{"label":"","value":"54","type":"str"},{"label":"","value":"53.5","type":"str"},{"label":"","value":"52.5","type":"str"},{"label":"","value":"50","type":"str"},{"label":"","value":40,"type":"num"},{"label":"","value":"30","type":"str"}],"payload":"","topic":"","x":1750,"y":1240,"wires":[["3c83beca.084362","58e0b170.c72df"]]},{"id":"2df90ea5.4b1602","type":"Luxtronik2","z":"fa29a25c.7cbfc","host":"192.168.178.242","port":8214,"password":"999999","x":1410,"y":440,"wires":[["1727f2fb.e2d41d","3aed337c.3545dc","2497cc13.959f24","39229c4f.77b584","356b5852.86a258","21d18e5c.0ec742","7672f0c6.19e64","2cd266f8.53487a","1e3db738.b0e9c9","3eed728d.643e4e","bfa82768.7103d8","39082682.20e1aa","8afd7f78.db2af","7372b859.99d888"]]},{"id":"8afd7f78.db2af","type":"function","z":"fa29a25c.7cbfc","name":"Einstellungen/Betriebsart","func":"var data = msg.payload[\"Einstellungen\"][\"Betriebsart\"];\nvar n = 3;\n\nvar msgTEMP = {};\nvar msgArray = [];\nfor (var i = 0; i < n; i++)\n msgArray.push({});\n\n msgTEMP.topic = \"Heizkreis\";\n msgTEMP.unit = \"\";\n msgTEMP.payload = ((data[msgTEMP.topic]===\"Automatik\") ? 0 : ((data[msgTEMP.topic]===\"Zus. Wärmeerz\") ? 1 : ((data[msgTEMP.topic]===\"Party\") ? 2 : ((data[msgTEMP.topic]===\"Ferien\") ? 3 : ((data[msgTEMP.topic]===\"Aus\") ? 4 : 0)))) );\nmsgArray[0].payload = {topic:msgTEMP.topic, value:msgTEMP.payload, unit:msgTEMP.unit};\n\n msgTEMP.topic = \"Warmwasser\";\n msgTEMP.unit = \"\";\n msgTEMP.payload = ((data[msgTEMP.topic]===\"Automatik\") ? 0 : ((data[msgTEMP.topic]===\"Zus. Wärmeerz\") ? 1 : ((data[msgTEMP.topic]===\"Party\") ? 2 : ((data[msgTEMP.topic]===\"Ferien\") ? 3 : ((data[msgTEMP.topic]===\"Aus\") ? 4 : 0)))) );\nmsgArray[1].payload = {topic:msgTEMP.topic, value:msgTEMP.payload, unit:msgTEMP.unit};\n\n msgTEMP.topic = \"Kühlung\";\n msgTEMP.unit = \"\";\n msgTEMP.payload = ((data[msgTEMP.topic]===\"Automatik\") ? 0 : ((data[msgTEMP.topic]===\"Zus. Wärmeerz\") ? 1 : ((data[msgTEMP.topic]===\"Party\") ? 2 : ((data[msgTEMP.topic]===\"Ferien\") ? 3 : ((data[msgTEMP.topic]===\"Aus\") ? 4 : 0)))) );\nmsgArray[2].payload = {topic:msgTEMP.topic, value:msgTEMP.payload, unit:msgTEMP.unit};\n\n\nreturn msgArray;","outputs":3,"noerr":0,"initialize":"","finalize":"","x":1650,"y":940,"wires":[["1eb07c6a.bad5f4"],["bc467dfa.853dc"],["f66cc187.e25f4"]],"info":"Vorlauf: \"22.3°C\"\nRücklauf: \"23.0°C\"\nRückl.-Soll: \"5.0°C\"\nHeissgas: \"52.3°C\"\nAussentemperatur: \"19.4°C\"\nMitteltemperatur: \"20.9°C\"\nWarmwasser-Ist: \"54.3°C\"\nWarmwasser-Soll: \"53.7°C\"\nWärmequelle-Ein: \"20.1°C\"\nMischkreis1-Vorlauf: \"22.3°C\"\nMischkreis1 VL-Soll: \"20.0°C\"\nVorlauf max.: \"60.0°C\"\nAnsaug VD: \"23.4°C\"\nVD-Heizung: \"48.8°C\"\nÜberhitzung: \"0.9 K\"\nÜberhitzung Soll: \"20.0 K\"\nTFL1: \"27.4°C\"\nTFL2: \"27.7°C\""},{"id":"23294109.379d9e","type":"ui_button","z":"fa29a25c.7cbfc","name":"","group":"dcd69ead.815f5","order":16,"width":1,"height":1,"passthru":false,"label":"0","tooltip":"","color":"#000000","bgcolor":"#ffffff","icon":"","payload":"4","payloadType":"num","topic":"","x":510,"y":540,"wires":[["e4782c56.6ae9b"]]},{"id":"d48514a.2b2f5e8","type":"ui_button","z":"fa29a25c.7cbfc","name":"","group":"dcd69ead.815f5","order":17,"width":"1","height":1,"passthru":false,"label":"AUTO","tooltip":"","color":"","bgcolor":"#3453b2","icon":"","payload":"0","payloadType":"num","topic":"","x":510,"y":500,"wires":[["4aa1ce60.fad48"]]},{"id":"82408958.c0dbc8","type":"debug","z":"fa29a25c.7cbfc","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1930,"y":1520,"wires":[]},{"id":"8c495606.f74a08","type":"ui_text","z":"fa29a25c.7cbfc","group":"dcd69ead.815f5","order":11,"width":"1","height":"1","name":"Kühlen","label":"<font color=\"grey\"><i class=\"fa fa-snowflake-o fa-lg\"></i></font>","format":"<font size=\"-2\">{{msg.payload.value}}</font> ","layout":"col-center","x":1730,"y":1300,"wires":[]},{"id":"b9c9eb6f.c69c38","type":"ui_dropdown","z":"fa29a25c.7cbfc","name":"","label":"","tooltip":"AT-Freigabe","place":"","group":"dcd69ead.815f5","order":12,"width":"1","height":"1","passthru":false,"multiple":false,"options":[{"label":"","value":"15.0","type":"str"},{"label":"","value":"15.5","type":"str"},{"label":"","value":"16","type":"str"},{"label":"","value":"16.5","type":"str"},{"label":"","value":"17","type":"str"},{"label":"","value":"17.5","type":"str"},{"label":"","value":18,"type":"num"},{"label":"","value":"18.5","type":"str"},{"label":"","value":"19","type":"str"},{"label":"","value":"19.5","type":"str"},{"label":"","value":"20","type":"str"},{"label":"","value":"20.5","type":"str"},{"label":"","value":"21","type":"str"},{"label":"","value":"21.5","type":"str"},{"label":"","value":"22","type":"str"},{"label":"","value":"22.5","type":"str"},{"label":"","value":"23","type":"str"},{"label":"","value":"23.5","type":"str"},{"label":"","value":"24","type":"str"},{"label":"","value":"24.5","type":"str"},{"label":"","value":"25","type":"str"},{"label":"","value":"25.5","type":"str"},{"label":"","value":"26","type":"str"},{"label":"","value":"26.5","type":"str"},{"label":"","value":"27","type":"str"},{"label":"","value":"27.5","type":"str"},{"label":"","value":"28","type":"str"},{"label":"","value":"28.5","type":"str"},{"label":"","value":"29","type":"str"},{"label":"","value":"29.5","type":"str"},{"label":"","value":"30","type":"str"},{"label":"","value":"30.5","type":"str"},{"label":"","value":"31","type":"str"},{"label":"","value":"31.5","type":"str"},{"label":"","value":"32","type":"str"},{"label":"","value":"32.5","type":"str"},{"label":"","value":"33","type":"str"},{"label":"","value":"33.5","type":"str"},{"label":"","value":"34","type":"str"},{"label":"","value":"34.5","type":"str"},{"label":"","value":"35","type":"str"}],"payload":"","topic":"","x":1750,"y":1340,"wires":[["82408958.c0dbc8","a7b4cdf9.d7fd8"]]},{"id":"f66cc187.e25f4","type":"function","z":"fa29a25c.7cbfc","name":"","func":"switch(msg.payload.value) {\n case 0:\n return [{payload: {value:\"Auto\"}}];\n case 1:\n return [{payload: {value:\"Zus. Wärmeerz\"}}];\n case 2:\n return [{payload: {value:\"Party\"}}];\n case 3:\n return [{payload: {value:\"Ferien\"}}];\n case 4:\n return [{payload: {value:\"Aus\"}}];\n default:\n return [{payload: {value:\" - \"}}];\n}\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":2000,"y":1000,"wires":[[]]},{"id":"b7fb01f1.041ee","type":"function","z":"fa29a25c.7cbfc","name":"Heiz 0 auto ","func":"\nreturn [{payload: '0', topic: 'Betriebsart/Heizkreis'}];\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":850,"y":340,"wires":[["2df90ea5.4b1602"]]},{"id":"40e34e03.a879d","type":"function","z":"fa29a25c.7cbfc","name":"Heiz 4 aus","func":"\nreturn [{payload: '4', topic: 'Betriebsart/Heizkreis'}];\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":850,"y":380,"wires":[["2df90ea5.4b1602"]]},{"id":"dcc46457.dbdc08","type":"inject","z":"fa29a25c.7cbfc","name":"read","repeat":"","crontab":"","once":false,"topic":"","payload":"","payloadType":"date","x":670,"y":400,"wires":[["40e34e03.a879d"]]},{"id":"8ec80a26.501498","type":"inject","z":"fa29a25c.7cbfc","name":"read","repeat":"","crontab":"","once":false,"topic":"","payload":"","payloadType":"date","x":670,"y":360,"wires":[["b7fb01f1.041ee"]]},{"id":"93b16d83.e6a43","type":"function","z":"fa29a25c.7cbfc","name":"WW 0 auto","func":"\nreturn [{payload: '0', topic: 'Betriebsart/Warmwasser'}];\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":850,"y":420,"wires":[["2df90ea5.4b1602"]]},{"id":"c5f98fb1.3bd38","type":"function","z":"fa29a25c.7cbfc","name":"WW 4 aus","func":"\nreturn [{payload: '4', topic: 'Betriebsart/Warmwasser'}];\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":850,"y":460,"wires":[["2df90ea5.4b1602"]]},{"id":"ff7d7d52.6beb6","type":"inject","z":"fa29a25c.7cbfc","name":"read","repeat":"","crontab":"","once":false,"topic":"","payload":"","payloadType":"date","x":670,"y":440,"wires":[["93b16d83.e6a43"]]},{"id":"85fe357f.6fb788","type":"inject","z":"fa29a25c.7cbfc","name":"read","repeat":"","crontab":"","once":false,"topic":"","payload":"","payloadType":"date","x":670,"y":480,"wires":[["c5f98fb1.3bd38"]]},{"id":"4aa1ce60.fad48","type":"function","z":"fa29a25c.7cbfc","name":"Kühl 1 auto","func":"\nreturn [{payload: '1', topic: 'Betriebsart/Kühlung'}];\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":850,"y":500,"wires":[["2df90ea5.4b1602"]]},{"id":"e4782c56.6ae9b","type":"function","z":"fa29a25c.7cbfc","name":"Kühl 0 aus","func":"\nreturn [{payload: '0', topic: 'Betriebsart/Kühlung'}];\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":850,"y":540,"wires":[["2df90ea5.4b1602"]]},{"id":"4f4c23c3.dbe11c","type":"inject","z":"fa29a25c.7cbfc","name":"read","repeat":"","crontab":"","once":false,"topic":"","payload":"","payloadType":"date","x":670,"y":520,"wires":[["4aa1ce60.fad48"]]},{"id":"20bcbf17.f10d5","type":"inject","z":"fa29a25c.7cbfc","name":"read","repeat":"","crontab":"","once":false,"topic":"","payload":"","payloadType":"date","x":670,"y":560,"wires":[["e4782c56.6ae9b"]]},{"id":"511dc67e.89bce8","type":"function","z":"fa29a25c.7cbfc","name":"DEBUG","func":"\nreturn [{payload: '', topic: 'INFO/INFO'}];\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":940,"y":580,"wires":[["2df90ea5.4b1602"]]},{"id":"2df4dab9.7d4146","type":"inject","z":"fa29a25c.7cbfc","name":"read","repeat":"","crontab":"","once":false,"topic":"","payload":"","payloadType":"date","x":810,"y":580,"wires":[["511dc67e.89bce8"]]},{"id":"fe132105.f5f45","type":"function","z":"fa29a25c.7cbfc","name":"Temperaturen/min. VL Kühlung","func":"\nreturn [{payload: '190', topic: 'Temperaturen/min. VL Kühlung'}];\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1190,"y":780,"wires":[["2df90ea5.4b1602"]]},{"id":"8d9eb2bd.64a2e","type":"inject","z":"fa29a25c.7cbfc","name":"read","repeat":"","crontab":"","once":false,"topic":"","payload":"","payloadType":"date","x":990,"y":780,"wires":[["fe132105.f5f45"]]},{"id":"59c4c855.38ff48","type":"function","z":"fa29a25c.7cbfc","name":"Heiz 0 auto ","func":"\nreturn [{payload: 'Automatik', topic: 'Betriebsart/Heizkreis'}];\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1050,"y":120,"wires":[["2df90ea5.4b1602"]]},{"id":"39477fdb.01969","type":"function","z":"fa29a25c.7cbfc","name":"Heiz 4 aus","func":"\nreturn [{payload: 'Aus', topic: 'Betriebsart/Heizkreis'}];\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1050,"y":160,"wires":[["2df90ea5.4b1602"]]},{"id":"da7b1576.16aa48","type":"inject","z":"fa29a25c.7cbfc","name":"read","repeat":"","crontab":"","once":false,"topic":"","payload":"","payloadType":"date","x":890,"y":160,"wires":[["39477fdb.01969"]]},{"id":"22cc5c3.1f90ba4","type":"inject","z":"fa29a25c.7cbfc","name":"read","repeat":"","crontab":"","once":false,"topic":"","payload":"","payloadType":"date","x":890,"y":120,"wires":[["59c4c855.38ff48"]]},{"id":"62528f74.a8154","type":"tcp request","z":"fa29a25c.7cbfc","server":"192.168.178.242","port":"8889","out":"time","splitc":"300","name":"","x":840,"y":1400,"wires":[["f3f6ebd1.d99f18","ab042735.d2c6d8"]]},{"id":"f3f6ebd1.d99f18","type":"debug","z":"fa29a25c.7cbfc","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1070,"y":1560,"wires":[]},{"id":"df6630f.76e8ad","type":"debug","z":"fa29a25c.7cbfc","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1330,"y":1500,"wires":[]},{"id":"dd88f278.bc0a2","type":"inject","z":"fa29a25c.7cbfc","name":"3003 - Parameter lesen","props":[{"p":"payload"}],"repeat":"10","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[\"0x00\",\"0x00\",\"0x0b\",\"0xbb\",\"0x00\",\"0x00\",\"0x00\",\"0x01\"]","payloadType":"bin","x":550,"y":1400,"wires":[["62528f74.a8154"]]},{"id":"ab042735.d2c6d8","type":"function","z":"fa29a25c.7cbfc","name":"3003 Parameter","func":"\n\n\nfunction toInt32ArrayReadBE(buffer) {\n const i32a = new Int32Array(buffer.length / 4);\n for (let i = 2; i < i32a.length; i++) {\n i32a[i-2] = buffer.readInt32BE(i * 4);\n }\n return i32a;\n}\n\nfunction createOperationStateString(state) {\n var operatingModes = {\n '0': 'Auto',\n '1': 'Zusatzheizung',\n '2': 'Party',\n '3': 'Ferien',\n '4': 'Aus',\n 'default': 'Unknown [' + state + ']'\n };\n return (operatingModes[state] || operatingModes['default']);\n}\nfunction createCoolingOperationStateString(state) {\n var operatingModes = {\n '0': 'Aus',\n '1': 'Auto',\n 'default': 'Unknown [' + state + ']'\n };\n return (operatingModes[state] || operatingModes['default']);\n}\n\n\n\nfunction processParameters(heatpumpParameters){ //, heatpumpVisibility) {\n return {\n 'heating_temperature': heatpumpParameters[1] / 10, // #54 - returnTemperatureSetBack\n 'warmwater_temperature': heatpumpParameters[2] / 10,\n 'heating_operation_mode': heatpumpParameters[3], // #10\n 'warmwater_operation_mode': heatpumpParameters[4], // #7\n\n 'heating_operation_mode_string': createOperationStateString(heatpumpParameters[3]),\n 'warmwater_operation_mode_string': createOperationStateString(heatpumpParameters[4]),\n\n //'heating_curve_end_point': (heatpumpVisibility[207] === 1) ? heatpumpParameters[11] / 10 : 'no', // #69\n //'heating_curve_parallel_offset': (heatpumpVisibility[207] === 1) ? heatpumpParameters[12] / 10 : 'no', // #70\n 'deltaHeatingReduction': heatpumpParameters[13] / 10, // #47\n\n //'heatSourcedefrostAirThreshold': (heatpumpVisibility[97] === 1) ? heatpumpParameters[44] / 10 : 'no', // #71\n\n 'hotWaterTemperatureHysteresis': heatpumpParameters[74] / 10, // #49\n\n //'returnTemperatureHysteresis': (heatpumpVisibility[93] === 1) ? heatpumpParameters[88] / 10 : 'no', // #68\n\n //'heatSourcedefrostAirEnd': (heatpumpVisibility[105] === 1) ? heatpumpParameters[98] / 10 : 'no', // #72\n\n 'temperature_hot_water_target': heatpumpParameters[105] / 10,\n\n 'cooling_operation_mode': heatpumpParameters[108],\n 'cooling_operation_mode_string': createCoolingOperationStateString(heatpumpParameters[108]),\n\n 'cooling_release_temperature': heatpumpParameters[110] / 10,\n 'thresholdTemperatureSetBack': heatpumpParameters[111] / 10, // #48\n\n 'cooling_inlet_temp': heatpumpParameters[132] / 10,\n\n //'hotWaterCircPumpDeaerate': (heatpumpVisibility[167] === 1) ? heatpumpParameters[684] : 'no', // #61\n\n 'heatingLimit': heatpumpParameters[699], // #11\n 'thresholdHeatingLimit': heatpumpParameters[700] / 10, // #21\n\n 'cooling_start_after_hours': heatpumpParameters[850],\n 'cooling_stop_after_hours': heatpumpParameters[851],\n\n 'typeSerial': heatpumpParameters[874].toString().substr(0, 4) + '/' + heatpumpParameters[874].toString().substr(4) + '-' + heatpumpParameters[875].toString(16).toUpperCase(),\n\n 'returnTemperatureTargetMin': heatpumpParameters[979] / 10 // #63\n\n // \"possible_temperature_hot_water_limit1\": heatpumpParameters[47] / 10,\n // \"possible_temperature_hot_water_limit2\": heatpumpParameters[84] / 10,\n // \"possible_temperature_hot_water_limit3\": heatpumpParameters[973] / 10,\n };\n}\n\nmsg.payload = processParameters(toInt32ArrayReadBE(msg.payload));\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"\n","finalize":"","x":1080,"y":1400,"wires":[["df6630f.76e8ad","b81b0d6b.f2fca","1422bc7b.798104","ea66a88c.d43858","60179b3d.47ca04","ce3f1e88.ce911","cf4df84f.1fa0b8","43fb4aeb.a743e4","c4958e90.825f6","f8ddecff.6df81"]]},{"id":"3b4f8e9c.4b71e2","type":"tcp request","z":"fa29a25c.7cbfc","server":"192.168.178.242","port":"8889","out":"time","splitc":"300","name":"","x":840,"y":1440,"wires":[["f3f6ebd1.d99f18","917f746d.713ae8"]]},{"id":"9cb1f41a.577938","type":"inject","z":"fa29a25c.7cbfc","name":"3004 - Berechnungen lesen","props":[{"p":"payload"}],"repeat":"10","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[\"0x00\",\"0x00\",\"0x0b\",\"0xbc\",\"0x00\",\"0x00\",\"0x00\",\"0x01\"]","payloadType":"bin","x":560,"y":1440,"wires":[["3b4f8e9c.4b71e2"]]},{"id":"917f746d.713ae8","type":"function","z":"fa29a25c.7cbfc","name":"3004 Values","func":"\n\n\nfunction toInt32ArrayReadBE(buffer) {\n const i32a = new Int32Array(buffer.length / 4);\n for (let i = 3; i < i32a.length; i++) {\n i32a[i-3] = buffer.readInt32BE(i * 4);\n }\n return i32a;\n}\n\nfunction stateMessages(state) {\n var stateMsg = {\n '0': 'Waermepumpe laeuft',\n '1': 'Waermepumpe steht',\n '2': 'Waermepumpe kommt',\n '4': 'Fehler',\n '5': 'Abtauen',\n '7': 'Verdichter heizt auf',\n '8': 'Pumpenvorlauf',\n 'default': 'Unknown [' + state + ']'\n };\n return (stateMsg[state] || stateMsg['default']);\n}\n\n\nfunction createStateString(values) {\n let stateStr = '';\n const state1 = values[117];\n const state2 = values[118];\n const duration = values[120];\n\n // Text aus Define\n stateStr = stateMessages(state1);\n if (state2 == 0 || state2 == 2) {\n stateStr += ' seit ';\n } else if (state2 === 1) {\n stateStr += ' in ';\n }\n stateStr += duration + \" hs\";\n return stateStr;\n}\n\nfunction createHeatPumptTypeString(state) {\n var hpTypes = {\n '0': 'ERC',\n '1': 'SW1',\n '2': 'SW2',\n '3': 'WW1',\n '4': 'WW2',\n '5': 'L1I',\n '6': 'L2I',\n '7': 'L1A',\n '8': 'L2A',\n '9': 'KSW',\n '10': 'KLW',\n '11': 'SWC',\n '12': 'LWC',\n '13': 'L2G',\n '14': 'WZS',\n '15': 'L1I407',\n '16': 'L2I407',\n '17': 'L1A407',\n '18': 'L2A407',\n '19': 'L2G407',\n '20': 'LWC407',\n '21': 'L1AREV',\n '22': 'L2AREV',\n '23': 'WWC1',\n '24': 'WWC2',\n '25': 'L2G404',\n '26': 'WZW',\n '27': 'L1S',\n '28': 'L1H',\n '29': 'L2H',\n '30': 'WZWD',\n '31': 'ERC',\n '40': 'WWB_20',\n '41': 'LD5',\n '42': 'LD7',\n '43': 'SW 37_45',\n '44': 'SW 58_69',\n '45': 'SW 29_56',\n '46': 'LD5 (230V)',\n '47': 'LD7 (230 V)',\n '48': 'LD9',\n '49': 'LD5 REV',\n '50': 'LD7 REV',\n '51': 'LD5 REV 230V',\n '52': 'LD7 REV 230V',\n '53': 'LD9 REV 230V',\n '54': 'SW 291',\n '55': 'LW SEC',\n '56': 'HMD 2',\n '57': 'MSW 4',\n '58': 'MSW 6',\n '59': 'MSW 8',\n '60': 'MSW 10',\n '61': 'MSW 12',\n '62': 'MSW 14',\n '63': 'MSW 17',\n '64': 'MSW 19',\n '65': 'MSW 23',\n '66': 'MSW 26',\n '67': 'MSW 30',\n '68': 'MSW 4S',\n '69': 'MSW 6S',\n '70': 'MSW 8S',\n '71': 'MSW 10S',\n '72': 'MSW 13S',\n '73': 'MSW 16S',\n '74': 'MSW2-6S',\n '75': 'MSW4-16',\n '76': 'LD2AG',\n '77': 'LWD90V',\n '78': 'MSW3-12',\n '79': 'MSW3-12S',\n '-1': 'Unbekannter Typ',\n 'default': 'Unknown [' + state + ']'\n };\n return (hpTypes[state] || hpTypes['default']);\n}\n\n\n\nfunction processValues(heatpumpValues){//, heatpumpVisibility) {\n return {\n 'temperature_supply': heatpumpValues[10] / 10, // #15\n 'temperature_return': heatpumpValues[11] / 10, // #16\n 'temperature_target_return': heatpumpValues[12] / 10, // #17\n //'temperature_extern_return': (heatpumpVisibility[24] === 1) ? heatpumpValues[13] / 10 : 'no', // #18\n 'temperature_hot_gas': heatpumpValues[14] / 10, // #26\n 'temperature_outside': heatpumpValues[15] / 10, // #12\n 'temperature_outside_avg': heatpumpValues[16] / 10, // #13\n 'temperature_hot_water': heatpumpValues[17] / 10, // #14\n 'temperature_hot_water_target': heatpumpValues[18] / 10, // #25\n 'temperature_heat_source_in': heatpumpValues[19] / 10, // #23\n 'temperature_heat_source_out': heatpumpValues[20] / 10, // #24\n //'temperature_mixer1_flow': (heatpumpVisibility[31] === 1) ? heatpumpValues[21] / 10 : 'no', // #55\n //'temperature_mixer1_target': (heatpumpVisibility[32] === 1) ? heatpumpValues[22] / 10 : 'no', // #56\n //'temperaturw_RFV': (heatpumpVisibility[33] === 1) ? heatpumpValues[23] / 10 : 'no',\n //'temperature_mixer2_flow': (heatpumpVisibility[34] === 1) ? heatpumpValues[24] / 10 : 'no', // #57\n //'temperature_mixer2_target': (heatpumpVisibility[35] === 1) ? heatpumpValues[25] / 10 : 'no', // #48\n //'temperature_solar_collector': (heatpumpVisibility[36] === 1) ? heatpumpValues[26] / 10 : 'no', // #50\n //'temperature_solar_storage': (heatpumpVisibility[37] === 1) ? heatpumpValues[27] / 10 : 'no', // #51\n //'temperature_external_source': (heatpumpVisibility[38] === 1) ? heatpumpValues[28] / 10 : 'no',\n\n 'ASDin': heatpumpValues[29],\n 'BWTin': heatpumpValues[30],\n 'EVUin': heatpumpValues[31],\n 'HDin': heatpumpValues[32],\n 'MOTin': heatpumpValues[33],\n 'NDin': heatpumpValues[34],\n 'PEXin': heatpumpValues[35],\n 'SWTin': heatpumpValues[36],\n\n 'AVout': heatpumpValues[37],\n 'BUPout': heatpumpValues[38],\n 'HUPout': heatpumpValues[39],\n 'MA1out': heatpumpValues[40],\n 'MZ1out': heatpumpValues[41],\n 'VENout': heatpumpValues[42],\n 'VBOout': heatpumpValues[43],\n 'VD1out': heatpumpValues[44],\n 'VD2out': heatpumpValues[45],\n 'ZIPout': heatpumpValues[46],\n 'ZUPout': heatpumpValues[47],\n 'ZW1out': heatpumpValues[48],\n 'ZW2SSTout': heatpumpValues[49],\n 'ZW3SSTout': heatpumpValues[50],\n 'FP2out': heatpumpValues[51],\n 'SLPout': heatpumpValues[52],\n 'SUPout': heatpumpValues[53],\n 'MZ2out': heatpumpValues[54],\n 'MA2out': heatpumpValues[55],\n\n //'defrostValve': (heatpumpVisibility[47] === 1) ? heatpumpValues[37] : 'no', // #67\n 'hotWaterBoilerValve': heatpumpValues[38], // #9\n 'heatingSystemCircPump': (heatpumpValues[39] === 1) ? 'on' : 'off', // #27\n\n //'heatSourceMotor': (heatpumpVisibility[54] === 1) ? heatpumpValues[43] : 'no', // #64\n 'compressor1': heatpumpValues[44],\n\n //'hotWaterCircPumpExtern': (heatpumpVisibility[57] === 1) ? heatpumpValues[46] : 'no', // #28\n\n 'hours_compressor1': Math.round(heatpumpValues[56] / 3600),\n 'starts_compressor1': heatpumpValues[57],\n 'hours_compressor2': Math.round(heatpumpValues[58] / 3600),\n 'starts_compressor2': heatpumpValues[59],\n //'hours_2nd_heat_source1': (heatpumpVisibility[84] === 1) ? Math.round(heatpumpValues[60] / 3600) : 'no', // #32\n //'hours_2nd_heat_source2': (heatpumpVisibility[85] === 1) ? Math.round(heatpumpValues[61] / 3600) : 'no', // #38\n //'hours_2nd_heat_source3': (heatpumpVisibility[86] === 1) ? Math.round(heatpumpValues[62] / 3600) : 'no', // #39\n //'hours_heatpump': (heatpumpVisibility[87] === 1) ? Math.round(heatpumpValues[63] / 3600) : 'no', // #33\n //'hours_heating': (heatpumpVisibility[195] === 1) ? Math.round(heatpumpValues[64] / 3600) : 'no', // #34\n //'hours_warmwater': (heatpumpVisibility[196] === 1) ? Math.round(heatpumpValues[65] / 3600) : 'no', // #35\n //'hours_cooling': (heatpumpVisibility[197] === 1) ? Math.round(heatpumpValues[66] / 3600) : 'no',\n\n 'Time_WPein_akt': heatpumpValues[67],\n 'Time_ZWE1_akt': heatpumpValues[68],\n 'Time_ZWE2_akt': heatpumpValues[69],\n 'Timer_EinschVerz': heatpumpValues[70],\n 'Time_SSPAUS_akt': heatpumpValues[71],\n 'Time_SSPEIN_akt': heatpumpValues[72],\n 'Time_VDStd_akt': heatpumpValues[73],\n 'Time_HRM_akt': heatpumpValues[74],\n 'Time_HRW_akt': heatpumpValues[75],\n 'Time_LGS_akt': heatpumpValues[76],\n 'Time_SBW_akt': heatpumpValues[77],\n\n 'typeHeatpump': createHeatPumptTypeString(heatpumpValues[78]), // #31\n 'bivalentLevel': heatpumpValues[79], // #43\n\n 'WP_BZ_akt': heatpumpValues[80],\n\n //'firmware': utils.createFirmwareString(heatpumpValues.slice(81, 91)), // #20\n\n //'AdresseIP_akt': utils.int2ipAddress(heatpumpValues[91]),\n //'SubNetMask_akt': utils.int2ipAddress(heatpumpValues[92]),\n //'Add_Broadcast': utils.int2ipAddress(heatpumpValues[93]),\n //'Add_StdGateway': utils.int2ipAddress(heatpumpValues[94]),\n\n //'errors': utils.createErrorCodeList(heatpumpValues.slice(95, 100), heatpumpValues.slice(100, 105)), // #42 Time of first error\n\n 'error_count': heatpumpValues[105],\n\n //'switch_off': utils.createOutageCodeList(heatpumpValues.slice(111, 116), heatpumpValues.slice(106, 111)),\n\n 'Comfort_exists': heatpumpValues[116],\n\n 'heatpump_state1': heatpumpValues[117],\n 'heatpump_state2': heatpumpValues[118], // #40\n 'heatpump_state3': heatpumpValues[119],\n 'heatpump_duration': heatpumpValues[120], // #41\n 'heatpump_state_string': createStateString(heatpumpValues),\n //'heatpump_state_string': utils.createStateString(heatpumpValues),\n //'heatpump_extendet_state_string': utils.createExtendedStateString(heatpumpValues),\n\n 'ahp_Stufe': heatpumpValues[121],\n 'ahp_Temp': heatpumpValues[122],\n 'ahp_Zeit': heatpumpValues[123],\n\n 'opStateHotWater': heatpumpValues[124], // #8\n //'opStateHotWaterString': utils.createHotWaterStateString(heatpumpValues),\n 'opStateHeating': heatpumpValues[125], // #46\n 'opStateMixer1': heatpumpValues[126],\n 'opStateMixer2': heatpumpValues[127],\n 'Einst_Kurzprogramm': heatpumpValues[128],\n 'StatusSlave_1': heatpumpValues[129],\n 'StatusSlave_2': heatpumpValues[130],\n 'StatusSlave_3': heatpumpValues[131],\n 'StatusSlave_4': heatpumpValues[132],\n 'StatusSlave_5': heatpumpValues[133],\n\n 'rawDeviceTimeCalc': new Date(heatpumpValues[134] * 1000).toString(), // #22\n\n 'opStateMixer3': heatpumpValues[135],\n //'temperature_mixer3_target': (heatpumpVisibility[211] === 1) ? heatpumpValues[136] / 10 : 'no', // #60\n //'temperature_mixer3_flow': (heatpumpVisibility[210] === 1) ? heatpumpValues[137] / 10 : 'no', // #59\n\n 'MZ3out': heatpumpValues[138],\n 'MA3out': heatpumpValues[139],\n 'FP3out': heatpumpValues[140],\n\n //'heatSourceDefrostTimer': (heatpumpVisibility[219] === 1) ? heatpumpValues[141] : 'no', // #66\n\n 'Temperatur_RFV2': heatpumpValues[142] / 10,\n 'Temperatur_RFV3': heatpumpValues[143] / 10,\n 'SH_SW': heatpumpValues[144],\n 'Zaehler_BetrZeitSW': Math.round(heatpumpValues[145] / 3600),\n 'FreigabKuehl': heatpumpValues[146],\n 'AnalogIn': heatpumpValues[147],\n 'SonderZeichen': heatpumpValues[148],\n 'SH_ZIP': heatpumpValues[149],\n 'WebsrvProgrammWerteBeobarten': heatpumpValues[150],\n\n //'thermalenergy_heating': (heatpumpVisibility[0] === 1) ? heatpumpValues[151] / 10 : 'no', // #36\n //'thermalenergy_warmwater': (heatpumpVisibility[1] === 1) ? heatpumpValues[152] / 10 : 'no', // #37\n //'thermalenergy_pool': (heatpumpVisibility[2] === 1) ? heatpumpValues[153] / 10 : 'no', // #62\n 'thermalenergy_total': heatpumpValues[154] / 10,\n\n 'analogOut1': heatpumpValues[156],\n 'analogOut2': heatpumpValues[157],\n 'Time_Heissgas': heatpumpValues[158],\n 'Temp_Lueftung_Zuluft': heatpumpValues[159] / 10,\n 'Temp_Lueftung_Abluft': heatpumpValues[160] / 10,\n\n //'hours_solar': (heatpumpVisibility[248] === 1) ? Math.round(heatpumpValues[161] / 3600) : 'no', // #52\n 'analogOut3': heatpumpValues[162],\n //'analogOut4': (heatpumpVisibility[267] === 1) ? heatpumpValues[163] : 'no', // #73 - Voltage heating system circulation pump\n\n 'Out_VZU': heatpumpValues[164],\n 'Out_VAB': heatpumpValues[165],\n 'Out_VSK': heatpumpValues[166],\n 'Out_FRH': heatpumpValues[167],\n 'AnalogIn2': heatpumpValues[168],\n 'AnalogIn3': heatpumpValues[169],\n 'SAXin': heatpumpValues[170],\n 'SPLin': heatpumpValues[171],\n 'Compact_exists': heatpumpValues[172],\n 'Durchfluss_WQ': heatpumpValues[173],\n 'LIN_exists': heatpumpValues[174],\n 'LIN_TUE': heatpumpValues[175],\n 'LIN_TUE1': heatpumpValues[176],\n 'LIN_VDH': heatpumpValues[177],\n 'LIN_UH': heatpumpValues[178],\n 'LIN_UH_Soll': heatpumpValues[179],\n 'LIN_HD': heatpumpValues[180],\n 'LIN_ND': heatpumpValues[181],\n 'LIN_VDH_out': heatpumpValues[182]\n };\n}\n\nmsg.payload = processValues(toInt32ArrayReadBE(msg.payload));\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"\n","finalize":"","x":1070,"y":1440,"wires":[["df6630f.76e8ad"]]},{"id":"b81b0d6b.f2fca","type":"function","z":"fa29a25c.7cbfc","name":"3003 Parameter / warmwater_temperature","func":"return {payload: msg.payload.warmwater_temperature, name: 'warmwater_temperature'};","outputs":1,"noerr":0,"initialize":"\n","finalize":"","x":1450,"y":1240,"wires":[["11a0189c.775337"]]},{"id":"1422bc7b.798104","type":"function","z":"fa29a25c.7cbfc","name":"3003 Parameter / heating_temperature","func":"return {payload: msg.payload.heating_temperature, name: 'heating_temperature'};\n","outputs":1,"noerr":0,"initialize":"\n","finalize":"","x":1430,"y":1140,"wires":[["8fcc048a.ba5cd8"]]},{"id":"ea66a88c.d43858","type":"function","z":"fa29a25c.7cbfc","name":"3003 Parameter / warmwater_operation_mode_string","func":"return {payload: {value: msg.payload.warmwater_operation_mode_string}, name: 'warmwater_operation_mode_string'};","outputs":1,"noerr":0,"initialize":"\n","finalize":"","x":1460,"y":1200,"wires":[["e02232c1.ef414"]]},{"id":"60179b3d.47ca04","type":"function","z":"fa29a25c.7cbfc","name":"3003 Parameter / heating_operation_mode_string","func":"return {payload: {value: msg.payload.heating_operation_mode_string}, name: 'heating_operation_mode_string'};","outputs":1,"noerr":0,"initialize":"\n","finalize":"","x":1450,"y":1100,"wires":[["d45909d0.3437b8"]]},{"id":"ce3f1e88.ce911","type":"function","z":"fa29a25c.7cbfc","name":"3003 Parameter / cooling_operation_mode_string","func":"return {payload: {value: msg.payload.cooling_operation_mode_string}, name: 'cooling_operation_mode_string'};","outputs":1,"noerr":0,"initialize":"\n","finalize":"","x":1450,"y":1300,"wires":[["8c495606.f74a08"]]},{"id":"11f9cd80.904603","type":"ui_dropdown","z":"fa29a25c.7cbfc","name":"","label":"","tooltip":"Soll MK1","place":"","group":"dcd69ead.815f5","order":13,"width":"1","height":"1","passthru":false,"multiple":false,"options":[{"label":"","value":"15.0","type":"str"},{"label":"","value":"15.5","type":"str"},{"label":"","value":"16","type":"str"},{"label":"","value":"16.5","type":"str"},{"label":"","value":"17","type":"str"},{"label":"","value":"17.5","type":"str"},{"label":"","value":18,"type":"num"},{"label":"","value":"18.5","type":"str"},{"label":"","value":"19","type":"str"},{"label":"","value":"19.5","type":"str"},{"label":"","value":"20","type":"str"},{"label":"","value":"20.5","type":"str"},{"label":"","value":"21","type":"str"},{"label":"","value":"21.5","type":"str"},{"label":"","value":"22","type":"str"},{"label":"","value":"22.5","type":"str"},{"label":"","value":"23","type":"str"},{"label":"","value":"23.5","type":"str"},{"label":"","value":"24","type":"str"},{"label":"","value":"24.5","type":"str"},{"label":"","value":"25","type":"str"},{"label":"","value":"25.5","type":"str"},{"label":"","value":"26","type":"str"},{"label":"","value":"26.5","type":"str"},{"label":"","value":"27","type":"str"},{"label":"","value":"27.5","type":"str"},{"label":"","value":"28","type":"str"},{"label":"","value":"28.5","type":"str"},{"label":"","value":"29","type":"str"},{"label":"","value":"29.5","type":"str"},{"label":"","value":"30","type":"str"},{"label":"","value":"30.5","type":"str"},{"label":"","value":"31","type":"str"},{"label":"","value":"31.5","type":"str"},{"label":"","value":"32","type":"str"},{"label":"","value":"32.5","type":"str"},{"label":"","value":"33","type":"str"},{"label":"","value":"33.5","type":"str"},{"label":"","value":"34","type":"str"},{"label":"","value":"34.5","type":"str"},{"label":"","value":"35","type":"str"}],"payload":"","topic":"","x":1750,"y":1380,"wires":[["82408958.c0dbc8","cf828661.dd8848"]]},{"id":"f9c3364c.115178","type":"ui_dropdown","z":"fa29a25c.7cbfc","name":"","label":"","tooltip":"AT-Überschreitung","place":"","group":"dcd69ead.815f5","order":14,"width":"1","height":"1","passthru":false,"multiple":false,"options":[{"label":"","value":"0","type":"str"},{"label":"","value":"0.5","type":"str"},{"label":"","value":"1","type":"str"},{"label":"","value":"1.5","type":"str"},{"label":"","value":"2","type":"str"},{"label":"","value":"2.5","type":"str"},{"label":"","value":"3","type":"str"},{"label":"","value":"3.5","type":"str"},{"label":"","value":"4","type":"str"},{"label":"","value":"4.5","type":"str"},{"label":"","value":"5","type":"str"},{"label":"","value":"5.5","type":"str"},{"label":"","value":"6","type":"str"},{"label":"","value":"6.5","type":"str"},{"label":"","value":"7","type":"str"},{"label":"","value":"7.5","type":"str"},{"label":"","value":"8","type":"str"},{"label":"","value":"8.5","type":"str"},{"label":"","value":"9","type":"str"},{"label":"","value":"9.5","type":"str"},{"label":"","value":"10","type":"str"},{"label":"","value":"10.5","type":"str"},{"label":"","value":"11","type":"str"},{"label":"","value":"11.5","type":"str"},{"label":"","value":"12","type":"str"}],"payload":"","topic":"","x":1750,"y":1420,"wires":[["82408958.c0dbc8","f5851f3b.713bf"]]},{"id":"cf4df84f.1fa0b8","type":"function","z":"fa29a25c.7cbfc","name":"3003 Parameter / cooling_release_temperature","func":"return {payload: msg.payload.cooling_release_temperature, name: 'cooling_release_temperature'};","outputs":1,"noerr":0,"initialize":"\n","finalize":"","x":1460,"y":1340,"wires":[["b9c9eb6f.c69c38"]]},{"id":"43fb4aeb.a743e4","type":"function","z":"fa29a25c.7cbfc","name":"3003 Parameter / cooling_inlet_temp","func":"return {payload: msg.payload.cooling_inlet_temp, name: 'cooling_inlet_temp'};","outputs":1,"noerr":0,"initialize":"\n","finalize":"","x":1430,"y":1380,"wires":[["11f9cd80.904603"]]},{"id":"c4958e90.825f6","type":"function","z":"fa29a25c.7cbfc","name":"3003 Parameter / cooling_start_after_hours","func":"return {payload: msg.payload.cooling_start_after_hours/10, name: 'cooling_start_after_hours'};","outputs":1,"noerr":0,"initialize":"\n","finalize":"","x":1450,"y":1420,"wires":[["f9c3364c.115178"]]},{"id":"f8ddecff.6df81","type":"function","z":"fa29a25c.7cbfc","name":"3003 Parameter / cooling_stop_after_hours","func":"return {payload: msg.payload.cooling_stop_after_hours/10, name: 'cooling_stop_after_hours'};","outputs":1,"noerr":0,"initialize":"\n","finalize":"","x":1450,"y":1460,"wires":[["d233cddd.252f8"]]},{"id":"d233cddd.252f8","type":"ui_dropdown","z":"fa29a25c.7cbfc","name":"","label":"","tooltip":"AT-Unterschreitung","place":"","group":"dcd69ead.815f5","order":15,"width":"1","height":"1","passthru":false,"multiple":false,"options":[{"label":"","value":"0","type":"str"},{"label":"","value":"0.5","type":"str"},{"label":"","value":"1","type":"str"},{"label":"","value":"1.5","type":"str"},{"label":"","value":"2","type":"str"},{"label":"","value":"2.5","type":"str"},{"label":"","value":"3","type":"str"},{"label":"","value":"3.5","type":"str"},{"label":"","value":"4","type":"str"},{"label":"","value":"4.5","type":"str"},{"label":"","value":"5","type":"str"},{"label":"","value":"5.5","type":"str"},{"label":"","value":"6","type":"str"},{"label":"","value":"6.5","type":"str"},{"label":"","value":"7","type":"str"},{"label":"","value":"7.5","type":"str"},{"label":"","value":"8","type":"str"},{"label":"","value":"8.5","type":"str"},{"label":"","value":"9","type":"str"},{"label":"","value":"9.5","type":"str"},{"label":"","value":"10","type":"str"},{"label":"","value":"10.5","type":"str"},{"label":"","value":"11","type":"str"},{"label":"","value":"11.5","type":"str"},{"label":"","value":"12","type":"str"}],"payload":"","topic":"","x":1750,"y":1460,"wires":[["82408958.c0dbc8","86a8db79.d81558"]]},{"id":"4968f54.b2e2f0c","type":"inject","z":"fa29a25c.7cbfc","name":"3005 - Sichtbarkeiten lesen","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[\"0x00\",\"0x00\",\"0x0b\",\"0xbd\",\"0x00\",\"0x00\",\"0x00\",\"0x01\"]","payloadType":"bin","x":560,"y":1480,"wires":[["4d61d8eb.bcc928"]]},{"id":"4d61d8eb.bcc928","type":"tcp request","z":"fa29a25c.7cbfc","server":"192.168.178.242","port":"8889","out":"time","splitc":"300","name":"","x":840,"y":1480,"wires":[["c723f51d.e1e898"]]},{"id":"c723f51d.e1e898","type":"function","z":"fa29a25c.7cbfc","name":"3005 Visibility","func":"\n\n\nfunction toInt32ArrayReadBE(buffer) {\n const i32a = new Int32Array(buffer.length / 4);\n for (let i = 3; i < i32a.length; i++) {\n i32a[i-3] = buffer.readInt32BE(i * 4);\n }\n return i32a;\n}\n\nfunction createHeatPumptTypeString(state) {\n var hpTypes = {\n '0': 'ERC',\n '1': 'SW1',\n '2': 'SW2',\n '3': 'WW1',\n '4': 'WW2',\n '5': 'L1I',\n '6': 'L2I',\n '7': 'L1A',\n '8': 'L2A',\n '9': 'KSW',\n '10': 'KLW',\n '11': 'SWC',\n '12': 'LWC',\n '13': 'L2G',\n '14': 'WZS',\n '15': 'L1I407',\n '16': 'L2I407',\n '17': 'L1A407',\n '18': 'L2A407',\n '19': 'L2G407',\n '20': 'LWC407',\n '21': 'L1AREV',\n '22': 'L2AREV',\n '23': 'WWC1',\n '24': 'WWC2',\n '25': 'L2G404',\n '26': 'WZW',\n '27': 'L1S',\n '28': 'L1H',\n '29': 'L2H',\n '30': 'WZWD',\n '31': 'ERC',\n '40': 'WWB_20',\n '41': 'LD5',\n '42': 'LD7',\n '43': 'SW 37_45',\n '44': 'SW 58_69',\n '45': 'SW 29_56',\n '46': 'LD5 (230V)',\n '47': 'LD7 (230 V)',\n '48': 'LD9',\n '49': 'LD5 REV',\n '50': 'LD7 REV',\n '51': 'LD5 REV 230V',\n '52': 'LD7 REV 230V',\n '53': 'LD9 REV 230V',\n '54': 'SW 291',\n '55': 'LW SEC',\n '56': 'HMD 2',\n '57': 'MSW 4',\n '58': 'MSW 6',\n '59': 'MSW 8',\n '60': 'MSW 10',\n '61': 'MSW 12',\n '62': 'MSW 14',\n '63': 'MSW 17',\n '64': 'MSW 19',\n '65': 'MSW 23',\n '66': 'MSW 26',\n '67': 'MSW 30',\n '68': 'MSW 4S',\n '69': 'MSW 6S',\n '70': 'MSW 8S',\n '71': 'MSW 10S',\n '72': 'MSW 13S',\n '73': 'MSW 16S',\n '74': 'MSW2-6S',\n '75': 'MSW4-16',\n '76': 'LD2AG',\n '77': 'LWD90V',\n '78': 'MSW3-12',\n '79': 'MSW3-12S',\n '-1': 'Unbekannter Typ',\n 'default': 'Unknown [' + state + ']'\n };\n return (hpTypes[state] || hpTypes['default']);\n}\n\n\n\nfunction processValues(heatpumpValues){//, heatpumpVisibility) {\n return {\n 'temperature_supply': heatpumpValues[10] / 10, // #15\n 'temperature_return': heatpumpValues[11] / 10, // #16\n 'temperature_target_return': heatpumpValues[12] / 10, // #17\n //'temperature_extern_return': (heatpumpVisibility[24] === 1) ? heatpumpValues[13] / 10 : 'no', // #18\n 'temperature_hot_gas': heatpumpValues[14] / 10, // #26\n 'temperature_outside': heatpumpValues[15] / 10, // #12\n 'temperature_outside_avg': heatpumpValues[16] / 10, // #13\n 'temperature_hot_water': heatpumpValues[17] / 10, // #14\n 'temperature_hot_water_target': heatpumpValues[18] / 10, // #25\n 'temperature_heat_source_in': heatpumpValues[19] / 10, // #23\n 'temperature_heat_source_out': heatpumpValues[20] / 10, // #24\n //'temperature_mixer1_flow': (heatpumpVisibility[31] === 1) ? heatpumpValues[21] / 10 : 'no', // #55\n //'temperature_mixer1_target': (heatpumpVisibility[32] === 1) ? heatpumpValues[22] / 10 : 'no', // #56\n //'temperaturw_RFV': (heatpumpVisibility[33] === 1) ? heatpumpValues[23] / 10 : 'no',\n //'temperature_mixer2_flow': (heatpumpVisibility[34] === 1) ? heatpumpValues[24] / 10 : 'no', // #57\n //'temperature_mixer2_target': (heatpumpVisibility[35] === 1) ? heatpumpValues[25] / 10 : 'no', // #48\n //'temperature_solar_collector': (heatpumpVisibility[36] === 1) ? heatpumpValues[26] / 10 : 'no', // #50\n //'temperature_solar_storage': (heatpumpVisibility[37] === 1) ? heatpumpValues[27] / 10 : 'no', // #51\n //'temperature_external_source': (heatpumpVisibility[38] === 1) ? heatpumpValues[28] / 10 : 'no',\n\n 'ASDin': heatpumpValues[29],\n 'BWTin': heatpumpValues[30],\n 'EVUin': heatpumpValues[31],\n 'HDin': heatpumpValues[32],\n 'MOTin': heatpumpValues[33],\n 'NDin': heatpumpValues[34],\n 'PEXin': heatpumpValues[35],\n 'SWTin': heatpumpValues[36],\n\n 'AVout': heatpumpValues[37],\n 'BUPout': heatpumpValues[38],\n 'HUPout': heatpumpValues[39],\n 'MA1out': heatpumpValues[40],\n 'MZ1out': heatpumpValues[41],\n 'VENout': heatpumpValues[42],\n 'VBOout': heatpumpValues[43],\n 'VD1out': heatpumpValues[44],\n 'VD2out': heatpumpValues[45],\n 'ZIPout': heatpumpValues[46],\n 'ZUPout': heatpumpValues[47],\n 'ZW1out': heatpumpValues[48],\n 'ZW2SSTout': heatpumpValues[49],\n 'ZW3SSTout': heatpumpValues[50],\n 'FP2out': heatpumpValues[51],\n 'SLPout': heatpumpValues[52],\n 'SUPout': heatpumpValues[53],\n 'MZ2out': heatpumpValues[54],\n 'MA2out': heatpumpValues[55],\n\n //'defrostValve': (heatpumpVisibility[47] === 1) ? heatpumpValues[37] : 'no', // #67\n 'hotWaterBoilerValve': heatpumpValues[38], // #9\n 'heatingSystemCircPump': (heatpumpValues[39] === 1) ? 'on' : 'off', // #27\n\n //'heatSourceMotor': (heatpumpVisibility[54] === 1) ? heatpumpValues[43] : 'no', // #64\n 'compressor1': heatpumpValues[44],\n\n //'hotWaterCircPumpExtern': (heatpumpVisibility[57] === 1) ? heatpumpValues[46] : 'no', // #28\n\n 'hours_compressor1': Math.round(heatpumpValues[56] / 3600),\n 'starts_compressor1': heatpumpValues[57],\n 'hours_compressor2': Math.round(heatpumpValues[58] / 3600),\n 'starts_compressor2': heatpumpValues[59],\n //'hours_2nd_heat_source1': (heatpumpVisibility[84] === 1) ? Math.round(heatpumpValues[60] / 3600) : 'no', // #32\n //'hours_2nd_heat_source2': (heatpumpVisibility[85] === 1) ? Math.round(heatpumpValues[61] / 3600) : 'no', // #38\n //'hours_2nd_heat_source3': (heatpumpVisibility[86] === 1) ? Math.round(heatpumpValues[62] / 3600) : 'no', // #39\n //'hours_heatpump': (heatpumpVisibility[87] === 1) ? Math.round(heatpumpValues[63] / 3600) : 'no', // #33\n //'hours_heating': (heatpumpVisibility[195] === 1) ? Math.round(heatpumpValues[64] / 3600) : 'no', // #34\n //'hours_warmwater': (heatpumpVisibility[196] === 1) ? Math.round(heatpumpValues[65] / 3600) : 'no', // #35\n //'hours_cooling': (heatpumpVisibility[197] === 1) ? Math.round(heatpumpValues[66] / 3600) : 'no',\n\n 'Time_WPein_akt': heatpumpValues[67],\n 'Time_ZWE1_akt': heatpumpValues[68],\n 'Time_ZWE2_akt': heatpumpValues[69],\n 'Timer_EinschVerz': heatpumpValues[70],\n 'Time_SSPAUS_akt': heatpumpValues[71],\n 'Time_SSPEIN_akt': heatpumpValues[72],\n 'Time_VDStd_akt': heatpumpValues[73],\n 'Time_HRM_akt': heatpumpValues[74],\n 'Time_HRW_akt': heatpumpValues[75],\n 'Time_LGS_akt': heatpumpValues[76],\n 'Time_SBW_akt': heatpumpValues[77],\n\n 'typeHeatpump': createHeatPumptTypeString(heatpumpValues[78]), // #31\n 'bivalentLevel': heatpumpValues[79], // #43\n\n 'WP_BZ_akt': heatpumpValues[80],\n\n //'firmware': utils.createFirmwareString(heatpumpValues.slice(81, 91)), // #20\n\n //'AdresseIP_akt': utils.int2ipAddress(heatpumpValues[91]),\n //'SubNetMask_akt': utils.int2ipAddress(heatpumpValues[92]),\n //'Add_Broadcast': utils.int2ipAddress(heatpumpValues[93]),\n //'Add_StdGateway': utils.int2ipAddress(heatpumpValues[94]),\n\n //'errors': utils.createErrorCodeList(heatpumpValues.slice(95, 100), heatpumpValues.slice(100, 105)), // #42 Time of first error\n\n 'error_count': heatpumpValues[105],\n\n //'switch_off': utils.createOutageCodeList(heatpumpValues.slice(111, 116), heatpumpValues.slice(106, 111)),\n\n 'Comfort_exists': heatpumpValues[116],\n\n 'heatpump_state1': heatpumpValues[117],\n 'heatpump_state2': heatpumpValues[118], // #40\n 'heatpump_state3': heatpumpValues[119],\n 'heatpump_duration': heatpumpValues[120], // #41\n //'heatpump_state_string': utils.createStateString(heatpumpValues),\n //'heatpump_extendet_state_string': utils.createExtendedStateString(heatpumpValues),\n\n 'ahp_Stufe': heatpumpValues[121],\n 'ahp_Temp': heatpumpValues[122],\n 'ahp_Zeit': heatpumpValues[123],\n\n 'opStateHotWater': heatpumpValues[124], // #8\n //'opStateHotWaterString': utils.createHotWaterStateString(heatpumpValues),\n 'opStateHeating': heatpumpValues[125], // #46\n 'opStateMixer1': heatpumpValues[126],\n 'opStateMixer2': heatpumpValues[127],\n 'Einst_Kurzprogramm': heatpumpValues[128],\n 'StatusSlave_1': heatpumpValues[129],\n 'StatusSlave_2': heatpumpValues[130],\n 'StatusSlave_3': heatpumpValues[131],\n 'StatusSlave_4': heatpumpValues[132],\n 'StatusSlave_5': heatpumpValues[133],\n\n 'rawDeviceTimeCalc': new Date(heatpumpValues[134] * 1000).toString(), // #22\n\n 'opStateMixer3': heatpumpValues[135],\n //'temperature_mixer3_target': (heatpumpVisibility[211] === 1) ? heatpumpValues[136] / 10 : 'no', // #60\n //'temperature_mixer3_flow': (heatpumpVisibility[210] === 1) ? heatpumpValues[137] / 10 : 'no', // #59\n\n 'MZ3out': heatpumpValues[138],\n 'MA3out': heatpumpValues[139],\n 'FP3out': heatpumpValues[140],\n\n //'heatSourceDefrostTimer': (heatpumpVisibility[219] === 1) ? heatpumpValues[141] : 'no', // #66\n\n 'Temperatur_RFV2': heatpumpValues[142] / 10,\n 'Temperatur_RFV3': heatpumpValues[143] / 10,\n 'SH_SW': heatpumpValues[144],\n 'Zaehler_BetrZeitSW': Math.round(heatpumpValues[145] / 3600),\n 'FreigabKuehl': heatpumpValues[146],\n 'AnalogIn': heatpumpValues[147],\n 'SonderZeichen': heatpumpValues[148],\n 'SH_ZIP': heatpumpValues[149],\n 'WebsrvProgrammWerteBeobarten': heatpumpValues[150],\n\n //'thermalenergy_heating': (heatpumpVisibility[0] === 1) ? heatpumpValues[151] / 10 : 'no', // #36\n //'thermalenergy_warmwater': (heatpumpVisibility[1] === 1) ? heatpumpValues[152] / 10 : 'no', // #37\n //'thermalenergy_pool': (heatpumpVisibility[2] === 1) ? heatpumpValues[153] / 10 : 'no', // #62\n 'thermalenergy_total': heatpumpValues[154] / 10,\n\n 'analogOut1': heatpumpValues[156],\n 'analogOut2': heatpumpValues[157],\n 'Time_Heissgas': heatpumpValues[158],\n 'Temp_Lueftung_Zuluft': heatpumpValues[159] / 10,\n 'Temp_Lueftung_Abluft': heatpumpValues[160] / 10,\n\n //'hours_solar': (heatpumpVisibility[248] === 1) ? Math.round(heatpumpValues[161] / 3600) : 'no', // #52\n 'analogOut3': heatpumpValues[162],\n //'analogOut4': (heatpumpVisibility[267] === 1) ? heatpumpValues[163] : 'no', // #73 - Voltage heating system circulation pump\n\n 'Out_VZU': heatpumpValues[164],\n 'Out_VAB': heatpumpValues[165],\n 'Out_VSK': heatpumpValues[166],\n 'Out_FRH': heatpumpValues[167],\n 'AnalogIn2': heatpumpValues[168],\n 'AnalogIn3': heatpumpValues[169],\n 'SAXin': heatpumpValues[170],\n 'SPLin': heatpumpValues[171],\n 'Compact_exists': heatpumpValues[172],\n 'Durchfluss_WQ': heatpumpValues[173],\n 'LIN_exists': heatpumpValues[174],\n 'LIN_TUE': heatpumpValues[175],\n 'LIN_TUE1': heatpumpValues[176],\n 'LIN_VDH': heatpumpValues[177],\n 'LIN_UH': heatpumpValues[178],\n 'LIN_UH_Soll': heatpumpValues[179],\n 'LIN_HD': heatpumpValues[180],\n 'LIN_ND': heatpumpValues[181],\n 'LIN_VDH_out': heatpumpValues[182]\n };\n}\n\nmsg.payload = processValues(toInt32ArrayReadBE(msg.payload));\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"\n","finalize":"","x":1080,"y":1480,"wires":[["df6630f.76e8ad"]]},{"id":"84b3fc1e.5e75f","type":"comment","z":"fa29a25c.7cbfc","name":"Heizung","info":"","x":380,"y":340,"wires":[]},{"id":"83863f80.a8a89","type":"comment","z":"fa29a25c.7cbfc","name":"WW","info":"","x":370,"y":420,"wires":[]},{"id":"dc720db6.b3291","type":"comment","z":"fa29a25c.7cbfc","name":"Kühlen","info":"","x":370,"y":500,"wires":[]},{"id":"7372b859.99d888","type":"debug","z":"fa29a25c.7cbfc","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1690,"y":780,"wires":[]},{"id":"e31b4e6a.bbe98","type":"function","z":"fa29a25c.7cbfc","name":"","func":"// Allocating buffer space of 8 bytes \nvar buff = Buffer.from([\"0x00\",\"0x00\",\"0x0b\",\"0xba\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\"]);\n\n// Function Number\nbuff.writeInt32BE(1,4);\n// Function Value\nbuff.writeInt32BE(msg.payload*10,8);\n\n//var value = buff.readInt32BE(8);\n//return {payload: value}\nreturn {payload: buff};\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1940,"y":1180,"wires":[["3eb8836.d98ff7c","58b6a457.ddfc9c"]]},{"id":"3eb8836.d98ff7c","type":"debug","z":"fa29a25c.7cbfc","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":2110,"y":1180,"wires":[]},{"id":"58e0b170.c72df","type":"function","z":"fa29a25c.7cbfc","name":"","func":"// Allocating buffer space of 8 bytes \nvar buff = Buffer.from([\"0x00\",\"0x00\",\"0x0b\",\"0xba\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\"]);\n\n// Function Number\nbuff.writeInt32BE(2,4);\n// Function Value\nbuff.writeInt32BE(msg.payload*10,8);\n\n//var value = buff.readInt32BE(8);\n//return {payload: value}\nreturn {payload: buff};\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1940,"y":1280,"wires":[["58b6a457.ddfc9c"]]},{"id":"a7b4cdf9.d7fd8","type":"function","z":"fa29a25c.7cbfc","name":"","func":"// Allocating buffer space of 8 bytes \nvar buff = Buffer.from([\"0x00\",\"0x00\",\"0x0b\",\"0xba\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\"]);\n\n// Function Number\nbuff.writeInt32BE(110,4);\n// Function Value\nbuff.writeInt32BE(msg.payload*10,8);\n\n//var value = buff.readInt32BE(8);\n//return {payload: value}\nreturn {payload: buff};\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1940,"y":1340,"wires":[["58b6a457.ddfc9c"]]},{"id":"cf828661.dd8848","type":"function","z":"fa29a25c.7cbfc","name":"","func":"// Allocating buffer space of 8 bytes \nvar buff = Buffer.from([\"0x00\",\"0x00\",\"0x0b\",\"0xba\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\"]);\n\n// Function Number\nbuff.writeInt32BE(132,4);\n// Function Value\nbuff.writeInt32BE(msg.payload*10,8);\n\n//var value = buff.readInt32BE(8);\n//return {payload: value}\nreturn {payload: buff};\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1940,"y":1380,"wires":[["58b6a457.ddfc9c"]]},{"id":"f5851f3b.713bf","type":"function","z":"fa29a25c.7cbfc","name":"","func":"// Allocating buffer space of 8 bytes \nvar buff = Buffer.from([\"0x00\",\"0x00\",\"0x0b\",\"0xba\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\"]);\n\n// Function Number\nbuff.writeInt32BE(850,4);\n// Function Value\nbuff.writeInt32BE(msg.payload*10,8);\n\n//var value = buff.readInt32BE(8);\n//return {payload: value}\nreturn {payload: buff};\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1940,"y":1420,"wires":[["58b6a457.ddfc9c"]]},{"id":"86a8db79.d81558","type":"function","z":"fa29a25c.7cbfc","name":"","func":"// Allocating buffer space of 8 bytes \nvar buff = Buffer.from([\"0x00\",\"0x00\",\"0x0b\",\"0xba\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\",\"0x00\"]);\n\n// Function Number\nbuff.writeInt32BE(851,4);\n// Function Value\nbuff.writeInt32BE(msg.payload*10,8);\n\n//var value = buff.readInt32BE(8);\n//return {payload: value}\nreturn {payload: buff};\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1940,"y":1460,"wires":[["58b6a457.ddfc9c"]]},{"id":"58b6a457.ddfc9c","type":"tcp request","z":"fa29a25c.7cbfc","server":"192.168.178.242","port":"8889","out":"time","splitc":"300","name":"","x":2220,"y":1360,"wires":[["43c03e5c.36059"]]},{"id":"36ca4fd2.71f57","type":"tcp out","z":"fa29a25c.7cbfc","d":true,"host":"192.168.178.242","port":"8889","beserver":"client","base64":true,"end":true,"name":"","x":2260,"y":1440,"wires":[]},{"id":"43c03e5c.36059","type":"function","z":"fa29a25c.7cbfc","name":"3003 Parameter lesen","func":"\nvar buff = Buffer.from([\"0x00\",\"0x00\",\"0x0b\",\"0xbb\",\"0x00\",\"0x00\",\"0x00\",\"0x01\"]);\nreturn {payload: buff};\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":2460,"y":1640,"wires":[["62528f74.a8154"]]},{"id":"7bcff61e.0faa08","type":"ui_text","z":"fa29a25c.7cbfc","group":"dcd69ead.815f5","order":7,"width":"1","height":1,"name":"WW Temp","label":"","format":"<font size=\"-2\">{{msg.payload.value}}</font> ","layout":"row-center","x":1250,"y":680,"wires":[]},{"id":"7d15228a.b8d87c","type":"function","z":"fa29a25c.7cbfc","name":"","func":"return [{payload: {value: \"Akt: \" + msg.payload[\"Warmwasser-Ist\"]}}];\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1100,"y":680,"wires":[["7bcff61e.0faa08"]]},{"id":"851c8108.07914","type":"ui_text","z":"fa29a25c.7cbfc","group":"dcd69ead.815f5","order":2,"width":"1","height":1,"name":"Außen Temp","label":"","format":"<font size=\"-2\">{{msg.payload.value}}</font> ","layout":"row-center","x":1250,"y":720,"wires":[]},{"id":"25ae45bc.2985da","type":"function","z":"fa29a25c.7cbfc","name":"","func":"return [{payload: {value: \"Akt: \" + msg.payload[\"Aussentemperatur\"]}}];\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1100,"y":720,"wires":[["851c8108.07914"]]},{"id":"6999ab92.ece544","type":"ui_text","z":"fa29a25c.7cbfc","group":"dcd69ead.815f5","order":18,"width":"4","height":1,"name":"Betriebszustand","label":"<font size=\"-1\">Betriebszustand:</font> ","format":"<font size=\"-1\">{{msg.payload[\"Betriebszustand\"]}}</font> ","layout":"row-center","x":2240,"y":940,"wires":[]},{"id":"32d996f.561cc6a","type":"comment","z":"fa29a25c.7cbfc","name":"Feedback damit UI wieder up 2 Date ist","info":"","x":2590,"y":1560,"wires":[]},{"id":"44b23f1f.2651f","type":"ui_group","z":"","name":"Betriebsstunden","tab":"cf3fa388.e24678","order":7,"disp":true,"width":"5","collapse":true},{"id":"8caa79a6.f022e8","type":"ui_group","z":"","name":"Anlagenstatus","tab":"cf3fa388.e24678","order":8,"disp":true,"width":"5","collapse":true},{"id":"42a351d9.6a495","type":"ui_group","z":"","name":"Wärmemenge","tab":"cf3fa388.e24678","order":6,"disp":true,"width":"5","collapse":true},{"id":"10a7e784.311798","type":"ui_group","z":"","name":"Temperaturen","tab":"cf3fa388.e24678","order":5,"disp":true,"width":"5","collapse":true},{"id":"78baf6f1.83d9","type":"ui_group","z":"","name":"Umgebung / WP","tab":"cf3fa388.e24678","order":2,"disp":true,"width":"7","collapse":true},{"id":"29ca9eb5.1e0a92","type":"ui_group","z":"","name":"Temperatur Charts","tab":"cf3fa388.e24678","order":4,"disp":true,"width":"7","collapse":true},{"id":"7e83652e.2fa2cc","type":"ui_group","z":"","name":"Default","tab":"","disp":true,"width":"6","collapse":true},{"id":"3a286454.35f89c","type":"ui_group","z":"","name":"Ausgänge","tab":"cf3fa388.e24678","order":8,"disp":true,"width":"6","collapse":false},{"id":"dcd69ead.815f5","type":"ui_group","z":"","name":"Novelan","tab":"1ef4b8e0.ef208f","order":1,"disp":false,"width":"7","collapse":false},{"id":"cf3fa388.e24678","type":"ui_tab","z":"","name":"Novelan","icon":"timeline","order":6,"disabled":false,"hidden":false},{"id":"1ef4b8e0.ef208f","type":"ui_tab","z":"","name":"Smart Home","icon":"format_align_justify","order":1,"disabled":false,"hidden":false}]
RAW Paste Data