LG Therma V Modbus Register ALL with Waveshare RS485 to Modbus TCP Adapter - RS485 to RJ45 Ethernet, TCP/IP to serial, rail-mount support, with POE
-
-
Save moench13/c7e8239a7f21b7926e2d3b140bbe8e4d to your computer and use it in GitHub Desktop.
LG Therma V Modbus Register ALL with Waveshare RS485 to Modbus TCP Adapter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "e7ef1d57bc3f3a09", | |
"type": "tab", | |
"label": "LG Therma V ModBus", | |
"disabled": true, | |
"info": "", | |
"env": [] | |
}, | |
{ | |
"id": "3e61c82e89871c68", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "CoilRegister", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "Coil", | |
"adr": "0", | |
"quantity": "1", | |
"rate": "10", | |
"rateUnit": "s", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 1370, | |
"y": 100, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "5e074e52da6f071c", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Operation Mode", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "0", | |
"quantity": "1", | |
"rate": "5", | |
"rateUnit": "s", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 1120, | |
"y": 560, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "ea5d58c4cfcfc85c", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Control method (Circuit 1/2)", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "1", | |
"quantity": "1", | |
"rate": "5", | |
"rateUnit": "s", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 1080, | |
"y": 620, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "180f7fe6291a9ca1", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Target temp Circuit 1", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "2", | |
"quantity": "1", | |
"rate": "1", | |
"rateUnit": "m", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 1110, | |
"y": 720, | |
"wires": [ | |
[ | |
"ef285e9b31102406" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "3c6b9428d6d6ec07", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Room Air Temp. Circuit 1", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "3", | |
"quantity": "1", | |
"rate": "5", | |
"rateUnit": "s", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 1090, | |
"y": 780, | |
"wires": [ | |
[ | |
"0baad8ae848c64f6" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "cd11dc58c06030b2", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Shift value (Target) in Auto Mode Circuit 1", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "4", | |
"quantity": "1", | |
"rate": "5", | |
"rateUnit": "s", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 1040, | |
"y": 840, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "91d892bebb9229d3", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Target temp Circuit 2", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "5", | |
"quantity": "1", | |
"rate": "1", | |
"rateUnit": "m", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 1110, | |
"y": 940, | |
"wires": [ | |
[ | |
"f5ab79345b024efd" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "a8f887237834be85", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Room Air Temp. Circuit 2", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "6", | |
"quantity": "1", | |
"rate": "5", | |
"rateUnit": "s", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 1090, | |
"y": 1000, | |
"wires": [ | |
[ | |
"1be86b69e1249837" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "d9418a3dde56b99f", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Shift value (Target) in Auto Mode Circuit 2", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "7", | |
"quantity": "1", | |
"rate": "5", | |
"rateUnit": "s", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 1040, | |
"y": 1060, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "51d6a8c647f5fd7e", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Hotwater DHW Target temp.", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "8", | |
"quantity": "1", | |
"rate": "5", | |
"rateUnit": "s", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 1080, | |
"y": 1160, | |
"wires": [ | |
[ | |
"b58f97816e49581e" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "5aeca691cc4853ba", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Energy state", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "9", | |
"quantity": "1", | |
"rate": "5", | |
"rateUnit": "s", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 1130, | |
"y": 1220, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "17eff1c9388003eb", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Current Flow rate", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "InputRegister", | |
"adr": "8", | |
"quantity": "1", | |
"rate": "1", | |
"rateUnit": "s", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 200, | |
"y": 680, | |
"wires": [ | |
[ | |
"c622137e45d429a5" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "da3533dba2b9a21f", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "ODU operation Cycle", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "InputRegister", | |
"adr": "1", | |
"quantity": "1", | |
"rate": "1", | |
"rateUnit": "s", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 180, | |
"y": 200, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "98063e6aadc1faf5", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Error Code", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "InputRegister", | |
"adr": "0", | |
"quantity": "1", | |
"rate": "1", | |
"rateUnit": "s", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 220, | |
"y": 140, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "ce3491892280ad1d", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Water inlet temp.", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "InputRegister", | |
"adr": "2", | |
"quantity": "1", | |
"rate": "2", | |
"rateUnit": "s", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 200, | |
"y": 280, | |
"wires": [ | |
[ | |
"3e273a5e12c539bc" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "3dcfe1116af810d1", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Water outlet temp.", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "InputRegister", | |
"adr": "3", | |
"quantity": "1", | |
"rate": "2", | |
"rateUnit": "s", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 190, | |
"y": 340, | |
"wires": [ | |
[ | |
"34b0dc6462799c8e" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "99e344f5638b2a58", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Backup heater outlet temp.", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "InputRegister", | |
"adr": "4", | |
"quantity": "1", | |
"rate": "1", | |
"rateUnit": "m", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 170, | |
"y": 420, | |
"wires": [ | |
[ | |
"c43a8e81175c7def" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "609e48400cacb054", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "DHW tank water temp.", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "InputRegister", | |
"adr": "5", | |
"quantity": "1", | |
"rate": "1", | |
"rateUnit": "m", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 180, | |
"y": 500, | |
"wires": [ | |
[ | |
"84cdfbbcf79d426c" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "956d750fa84a44cf", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Solar collector temp.", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "InputRegister", | |
"adr": "6", | |
"quantity": "1", | |
"rate": "1", | |
"rateUnit": "m", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 190, | |
"y": 560, | |
"wires": [ | |
[ | |
"b92b9235feb3d8bd" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "d5d583ca9efbe5d0", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Room air temp. (Circuit 1)", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "InputRegister", | |
"adr": "7", | |
"quantity": "1", | |
"rate": "1", | |
"rateUnit": "m", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 170, | |
"y": 620, | |
"wires": [ | |
[ | |
"1c53ee7f548f0158" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "5e328ea38daf48c7", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Flow temp. (Circuit 2)", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "InputRegister", | |
"adr": "9", | |
"quantity": "1", | |
"rate": "1", | |
"rateUnit": "m", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 180, | |
"y": 740, | |
"wires": [ | |
[ | |
"cfe0074dc2b75383" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "c6ec82cc639aecf5", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Room air temp. (Circuit 2)", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "InputRegister", | |
"adr": "10", | |
"quantity": "1", | |
"rate": "1", | |
"rateUnit": "m", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 170, | |
"y": 800, | |
"wires": [ | |
[ | |
"ea84a83de701dd11" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "5bb9448953ecc0af", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Energy State input", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "InputRegister", | |
"adr": "11", | |
"quantity": "1", | |
"rate": "1", | |
"rateUnit": "m", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 190, | |
"y": 880, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "6c823ebfac2c2e75", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Outdoor Air temp.", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "InputRegister", | |
"adr": "12", | |
"quantity": "1", | |
"rate": "1", | |
"rateUnit": "m", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 190, | |
"y": 960, | |
"wires": [ | |
[ | |
"14c698309849fd99" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "035702330701076b", | |
"type": "modbus-read", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "DiskretesRegister", | |
"topic": "", | |
"showStatusActivities": false, | |
"logIOActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "Input", | |
"adr": "0", | |
"quantity": "11", | |
"rate": "10", | |
"rateUnit": "s", | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"server": "4155f4f0b7863613", | |
"useIOFile": false, | |
"ioFile": "", | |
"useIOForPayload": false, | |
"emptyMsgOnFail": false, | |
"x": 1360, | |
"y": 200, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "3e273a5e12c539bc", | |
"type": "convert", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"convertTo": "number", | |
"x": 490, | |
"y": 280, | |
"wires": [ | |
[ | |
"77f232ba7f7096b4" | |
] | |
] | |
}, | |
{ | |
"id": "34b0dc6462799c8e", | |
"type": "convert", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"convertTo": "number", | |
"x": 490, | |
"y": 340, | |
"wires": [ | |
[ | |
"5dd1ecd44148e7cf" | |
] | |
] | |
}, | |
{ | |
"id": "c622137e45d429a5", | |
"type": "convert", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"convertTo": "number", | |
"x": 490, | |
"y": 680, | |
"wires": [ | |
[ | |
"ead7ad294bd3a4d1" | |
] | |
] | |
}, | |
{ | |
"id": "5dd1ecd44148e7cf", | |
"type": "function", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "#/10", | |
"func": "msg.payload = msg.payload/10;\nreturn msg;", | |
"outputs": 1, | |
"noerr": 0, | |
"initialize": "", | |
"finalize": "", | |
"libs": [], | |
"x": 670, | |
"y": 340, | |
"wires": [ | |
[ | |
"59e6e0bb86f78082" | |
] | |
] | |
}, | |
{ | |
"id": "77f232ba7f7096b4", | |
"type": "function", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "#/10", | |
"func": "msg.payload = msg.payload/10;\nreturn msg;", | |
"outputs": 1, | |
"noerr": 0, | |
"initialize": "", | |
"finalize": "", | |
"libs": [], | |
"x": 670, | |
"y": 280, | |
"wires": [ | |
[ | |
"1f101089615eb568" | |
] | |
] | |
}, | |
{ | |
"id": "ead7ad294bd3a4d1", | |
"type": "function", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "#/10", | |
"func": "msg.payload = msg.payload/10;\nreturn msg;", | |
"outputs": 1, | |
"noerr": 0, | |
"initialize": "", | |
"finalize": "", | |
"libs": [], | |
"x": 670, | |
"y": 680, | |
"wires": [ | |
[ | |
"551f677277f7f615" | |
] | |
] | |
}, | |
{ | |
"id": "14c698309849fd99", | |
"type": "convert", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"convertTo": "number", | |
"x": 490, | |
"y": 960, | |
"wires": [ | |
[ | |
"fb750f3105fde42e" | |
] | |
] | |
}, | |
{ | |
"id": "fb750f3105fde42e", | |
"type": "function", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "#/10", | |
"func": "msg.payload = msg.payload/10;\nreturn msg;", | |
"outputs": 1, | |
"noerr": 0, | |
"initialize": "", | |
"finalize": "", | |
"libs": [], | |
"x": 670, | |
"y": 960, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "ea84a83de701dd11", | |
"type": "convert", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"convertTo": "number", | |
"x": 490, | |
"y": 800, | |
"wires": [ | |
[ | |
"f9ede0b8ffb4718a" | |
] | |
] | |
}, | |
{ | |
"id": "f9ede0b8ffb4718a", | |
"type": "function", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "#/10", | |
"func": "msg.payload = msg.payload/10;\nreturn msg;", | |
"outputs": 1, | |
"noerr": 0, | |
"initialize": "", | |
"finalize": "", | |
"libs": [], | |
"x": 670, | |
"y": 800, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "cfe0074dc2b75383", | |
"type": "convert", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"convertTo": "number", | |
"x": 490, | |
"y": 740, | |
"wires": [ | |
[ | |
"81dd22ee506cd1bb" | |
] | |
] | |
}, | |
{ | |
"id": "81dd22ee506cd1bb", | |
"type": "function", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "#/10", | |
"func": "msg.payload = msg.payload/10;\nreturn msg;", | |
"outputs": 1, | |
"noerr": 0, | |
"initialize": "", | |
"finalize": "", | |
"libs": [], | |
"x": 670, | |
"y": 740, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "1c53ee7f548f0158", | |
"type": "convert", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"convertTo": "number", | |
"x": 490, | |
"y": 620, | |
"wires": [ | |
[ | |
"7154192abe8e6768" | |
] | |
] | |
}, | |
{ | |
"id": "7154192abe8e6768", | |
"type": "function", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "#/10", | |
"func": "msg.payload = msg.payload/10;\nreturn msg;", | |
"outputs": 1, | |
"noerr": 0, | |
"initialize": "", | |
"finalize": "", | |
"libs": [], | |
"x": 670, | |
"y": 620, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "b92b9235feb3d8bd", | |
"type": "convert", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"convertTo": "number", | |
"x": 490, | |
"y": 560, | |
"wires": [ | |
[ | |
"14a0563a5ee8372b" | |
] | |
] | |
}, | |
{ | |
"id": "14a0563a5ee8372b", | |
"type": "function", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "#/10", | |
"func": "msg.payload = msg.payload/10;\nreturn msg;", | |
"outputs": 1, | |
"noerr": 0, | |
"initialize": "", | |
"finalize": "", | |
"libs": [], | |
"x": 670, | |
"y": 560, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "c43a8e81175c7def", | |
"type": "convert", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"convertTo": "number", | |
"x": 490, | |
"y": 420, | |
"wires": [ | |
[ | |
"20a875e580d28e42" | |
] | |
] | |
}, | |
{ | |
"id": "20a875e580d28e42", | |
"type": "function", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "#/10", | |
"func": "msg.payload = msg.payload/10;\nreturn msg;", | |
"outputs": 1, | |
"noerr": 0, | |
"initialize": "", | |
"finalize": "", | |
"libs": [], | |
"x": 670, | |
"y": 420, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "84cdfbbcf79d426c", | |
"type": "convert", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"convertTo": "number", | |
"x": 490, | |
"y": 500, | |
"wires": [ | |
[ | |
"7efc12e596d674fc" | |
] | |
] | |
}, | |
{ | |
"id": "7efc12e596d674fc", | |
"type": "function", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "#/10", | |
"func": "msg.payload = msg.payload/10;\nreturn msg;", | |
"outputs": 1, | |
"noerr": 0, | |
"initialize": "", | |
"finalize": "", | |
"libs": [], | |
"x": 670, | |
"y": 500, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "ef285e9b31102406", | |
"type": "convert", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"convertTo": "number", | |
"x": 1350, | |
"y": 720, | |
"wires": [ | |
[ | |
"c949cc054c8db7e0" | |
] | |
] | |
}, | |
{ | |
"id": "c949cc054c8db7e0", | |
"type": "function", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "#/10", | |
"func": "msg.payload = msg.payload/10;\nreturn msg;", | |
"outputs": 1, | |
"noerr": 0, | |
"initialize": "", | |
"finalize": "", | |
"libs": [], | |
"x": 1530, | |
"y": 720, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "0baad8ae848c64f6", | |
"type": "convert", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"convertTo": "number", | |
"x": 1350, | |
"y": 780, | |
"wires": [ | |
[ | |
"9c6fe2b3820ea27e" | |
] | |
] | |
}, | |
{ | |
"id": "9c6fe2b3820ea27e", | |
"type": "function", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "#/10", | |
"func": "msg.payload = msg.payload/10;\nreturn msg;", | |
"outputs": 1, | |
"noerr": 0, | |
"initialize": "", | |
"finalize": "", | |
"libs": [], | |
"x": 1530, | |
"y": 780, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "f5ab79345b024efd", | |
"type": "convert", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"convertTo": "number", | |
"x": 1350, | |
"y": 940, | |
"wires": [ | |
[ | |
"0c34eb5fd0d91724" | |
] | |
] | |
}, | |
{ | |
"id": "0c34eb5fd0d91724", | |
"type": "function", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "#/10", | |
"func": "msg.payload = msg.payload/10;\nreturn msg;", | |
"outputs": 1, | |
"noerr": 0, | |
"initialize": "", | |
"finalize": "", | |
"libs": [], | |
"x": 1530, | |
"y": 940, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "1be86b69e1249837", | |
"type": "convert", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"convertTo": "number", | |
"x": 1350, | |
"y": 1000, | |
"wires": [ | |
[ | |
"8dc0373eb114bf7b" | |
] | |
] | |
}, | |
{ | |
"id": "8dc0373eb114bf7b", | |
"type": "function", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "#/10", | |
"func": "msg.payload = msg.payload/10;\nreturn msg;", | |
"outputs": 1, | |
"noerr": 0, | |
"initialize": "", | |
"finalize": "", | |
"libs": [], | |
"x": 1530, | |
"y": 1000, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "20b35f69fc6b288f", | |
"type": "modbus-write", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Control method (Circuit 1/2) input", | |
"showStatusActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "1", | |
"quantity": "1", | |
"server": "4155f4f0b7863613", | |
"emptyMsgOnFail": false, | |
"keepMsgProperties": false, | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"x": 1800, | |
"y": 620, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "131a42f667b0461a", | |
"type": "modbus-write", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "ON/OFF Heatpump", | |
"showStatusActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "Coil", | |
"adr": "0", | |
"quantity": "1", | |
"server": "4155f4f0b7863613", | |
"emptyMsgOnFail": false, | |
"keepMsgProperties": false, | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"x": 1790, | |
"y": 120, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "66093e1c7c9c875f", | |
"type": "inject", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"props": [ | |
{ | |
"p": "payload" | |
} | |
], | |
"repeat": "", | |
"crontab": "", | |
"once": false, | |
"onceDelay": 0.1, | |
"topic": "", | |
"payload": "true", | |
"payloadType": "bool", | |
"x": 1610, | |
"y": 100, | |
"wires": [ | |
[ | |
"131a42f667b0461a" | |
] | |
] | |
}, | |
{ | |
"id": "2083208ddabf5d7d", | |
"type": "inject", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"props": [ | |
{ | |
"p": "payload" | |
} | |
], | |
"repeat": "", | |
"crontab": "", | |
"once": false, | |
"onceDelay": 0.1, | |
"topic": "", | |
"payload": "false", | |
"payloadType": "bool", | |
"x": 1610, | |
"y": 140, | |
"wires": [ | |
[ | |
"131a42f667b0461a" | |
] | |
] | |
}, | |
{ | |
"id": "7829c55351d32947", | |
"type": "modbus-write", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "ON/OFF Silent Mode Set", | |
"showStatusActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "Coil", | |
"adr": "2", | |
"quantity": "1", | |
"server": "4155f4f0b7863613", | |
"emptyMsgOnFail": false, | |
"keepMsgProperties": false, | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"x": 1810, | |
"y": 240, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "1c7446bce7a33d99", | |
"type": "inject", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"props": [ | |
{ | |
"p": "payload" | |
} | |
], | |
"repeat": "", | |
"crontab": "", | |
"once": false, | |
"onceDelay": 0.1, | |
"topic": "", | |
"payload": "true", | |
"payloadType": "bool", | |
"x": 1530, | |
"y": 220, | |
"wires": [ | |
[ | |
"7829c55351d32947" | |
] | |
] | |
}, | |
{ | |
"id": "8f553442aac98a05", | |
"type": "inject", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"props": [ | |
{ | |
"p": "payload" | |
} | |
], | |
"repeat": "", | |
"crontab": "", | |
"once": false, | |
"onceDelay": 0.1, | |
"topic": "", | |
"payload": "false", | |
"payloadType": "bool", | |
"x": 1530, | |
"y": 260, | |
"wires": [ | |
[ | |
"7829c55351d32947" | |
] | |
] | |
}, | |
{ | |
"id": "c73ceee6e88afede", | |
"type": "modbus-write", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "ON/OFF Hotwater DHW", | |
"showStatusActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "Coil", | |
"adr": "1", | |
"quantity": "1", | |
"server": "4155f4f0b7863613", | |
"emptyMsgOnFail": false, | |
"keepMsgProperties": false, | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"x": 1810, | |
"y": 180, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "c2cf211f6b2fe3fe", | |
"type": "modbus-write", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "ON/OFF Trigger Disinfection", | |
"showStatusActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "Coil", | |
"adr": "3", | |
"quantity": "1", | |
"server": "4155f4f0b7863613", | |
"emptyMsgOnFail": false, | |
"keepMsgProperties": false, | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"x": 1820, | |
"y": 300, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "1a902ab819d78e44", | |
"type": "modbus-write", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "ON/OFF Emergency Stop", | |
"showStatusActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "Coil", | |
"adr": "4", | |
"quantity": "1", | |
"server": "4155f4f0b7863613", | |
"emptyMsgOnFail": false, | |
"keepMsgProperties": false, | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"x": 1810, | |
"y": 360, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "333e3aadfa60d224", | |
"type": "function", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "COP-Calc", | |
"func": "var waterFLOW = global.get('waterFLOW');\nif(waterFLOW <= 5)\n{\n waterFLOW = 0\n}\nelse(waterFLOW >= 6)\n{\n waterFLOW = waterFLOW\n}\nvar waterQM = waterFLOW*60;\nvar waterIN = global.get('waterIN');\nvar waterOUT = global.get('waterOUT');\nvar waterDT = waterOUT-waterIN;\nvar powerHP = global.get('powerHP');\nvar waterCAP = 4181/3600\n\nmsg.payload = waterQM*waterCAP*waterDT/powerHP;\nmsg.payload = (msg.payload).toFixed(2);\nmsg.payload = Number(msg.payload)\n\nif(msg.payload <= 0)\n{\n msg.payload = 0\n}\nelse(msg.payload >= 1)\n{\n msg.payload = msg.payload\n}\n\nreturn msg;", | |
"outputs": 1, | |
"noerr": 0, | |
"initialize": "", | |
"finalize": "", | |
"libs": [], | |
"x": 1070, | |
"y": 100, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "1d4f7f70786443d9", | |
"type": "inject", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "every 10sec.", | |
"props": [ | |
{ | |
"p": "payload" | |
}, | |
{ | |
"p": "topic", | |
"vt": "str" | |
} | |
], | |
"repeat": "10", | |
"crontab": "", | |
"once": false, | |
"onceDelay": 0.1, | |
"topic": "", | |
"payload": "", | |
"payloadType": "date", | |
"x": 900, | |
"y": 100, | |
"wires": [ | |
[ | |
"333e3aadfa60d224" | |
] | |
] | |
}, | |
{ | |
"id": "cc4b88c74c2a8f73", | |
"type": "comment", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Input Register (0x02)", | |
"info": "", | |
"x": 190, | |
"y": 80, | |
"wires": [] | |
}, | |
{ | |
"id": "e516ae7704f3e1c7", | |
"type": "comment", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Coil Register (0x01)", | |
"info": "", | |
"x": 1350, | |
"y": 60, | |
"wires": [] | |
}, | |
{ | |
"id": "f20c7fc13f075637", | |
"type": "comment", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Discrete Register (0x02)", | |
"info": "", | |
"x": 1340, | |
"y": 160, | |
"wires": [] | |
}, | |
{ | |
"id": "0157265e0a876dfa", | |
"type": "comment", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Coil Register (0x01) input", | |
"info": "", | |
"x": 1810, | |
"y": 60, | |
"wires": [] | |
}, | |
{ | |
"id": "03d31af561d58790", | |
"type": "modbus-write", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "ON/OFF Trigger Emergency Operation", | |
"showStatusActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "Coil", | |
"adr": "4", | |
"quantity": "1", | |
"server": "4155f4f0b7863613", | |
"emptyMsgOnFail": false, | |
"keepMsgProperties": false, | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"x": 1850, | |
"y": 420, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "3ed0caba2e8044f1", | |
"type": "comment", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Holding Register (0x03)", | |
"info": "", | |
"x": 1100, | |
"y": 500, | |
"wires": [] | |
}, | |
{ | |
"id": "96445763091b8e70", | |
"type": "comment", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Holding Register (0x03) input", | |
"info": "", | |
"x": 1780, | |
"y": 500, | |
"wires": [] | |
}, | |
{ | |
"id": "8becc1a40c13cce0", | |
"type": "modbus-write", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Operation Mode", | |
"showStatusActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "0", | |
"quantity": "1", | |
"server": "4155f4f0b7863613", | |
"emptyMsgOnFail": false, | |
"keepMsgProperties": false, | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"x": 1740, | |
"y": 560, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "af34d39816f7c359", | |
"type": "modbus-write", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Target temp Circuit 1 input", | |
"showStatusActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "2", | |
"quantity": "1", | |
"server": "4155f4f0b7863613", | |
"emptyMsgOnFail": false, | |
"keepMsgProperties": false, | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"x": 1780, | |
"y": 720, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "f81e7a5be910bf12", | |
"type": "modbus-write", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Room Air Temp. Circuit 1 input", | |
"showStatusActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "3", | |
"quantity": "1", | |
"server": "4155f4f0b7863613", | |
"emptyMsgOnFail": false, | |
"keepMsgProperties": false, | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"x": 1790, | |
"y": 780, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "65073125ce23d097", | |
"type": "modbus-write", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Shift value (Target) in Auto Mode Circuit 1 input", | |
"showStatusActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "4", | |
"quantity": "1", | |
"server": "4155f4f0b7863613", | |
"emptyMsgOnFail": false, | |
"keepMsgProperties": false, | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"x": 1840, | |
"y": 840, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "5f70338b54f0317c", | |
"type": "modbus-write", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Target temp Circuit 2 input", | |
"showStatusActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "5", | |
"quantity": "1", | |
"server": "4155f4f0b7863613", | |
"emptyMsgOnFail": false, | |
"keepMsgProperties": false, | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"x": 1780, | |
"y": 940, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "d9127e93267db71c", | |
"type": "modbus-write", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Room Air Temp. Circuit 2 input", | |
"showStatusActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "6", | |
"quantity": "1", | |
"server": "4155f4f0b7863613", | |
"emptyMsgOnFail": false, | |
"keepMsgProperties": false, | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"x": 1790, | |
"y": 1000, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "ef97e1612c21ed29", | |
"type": "modbus-write", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Shift value (Target) in Auto Mode Circuit 2 input", | |
"showStatusActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "7", | |
"quantity": "1", | |
"server": "4155f4f0b7863613", | |
"emptyMsgOnFail": false, | |
"keepMsgProperties": false, | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"x": 1840, | |
"y": 1060, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "e14b84d70b921e8d", | |
"type": "modbus-write", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Hotwater DHW Target temp. input", | |
"showStatusActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "8", | |
"quantity": "1", | |
"server": "4155f4f0b7863613", | |
"emptyMsgOnFail": false, | |
"keepMsgProperties": false, | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"x": 1800, | |
"y": 1160, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "52f628df1f4440c9", | |
"type": "modbus-write", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "Energy state input", | |
"showStatusActivities": false, | |
"showErrors": false, | |
"showWarnings": true, | |
"unitid": "1", | |
"dataType": "HoldingRegister", | |
"adr": "9", | |
"quantity": "1", | |
"server": "4155f4f0b7863613", | |
"emptyMsgOnFail": false, | |
"keepMsgProperties": false, | |
"delayOnStart": false, | |
"startDelayTime": "", | |
"x": 1750, | |
"y": 1220, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "b58f97816e49581e", | |
"type": "convert", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "", | |
"convertTo": "number", | |
"x": 1350, | |
"y": 1160, | |
"wires": [ | |
[ | |
"2d70d487f035c574" | |
] | |
] | |
}, | |
{ | |
"id": "2d70d487f035c574", | |
"type": "function", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "#/10", | |
"func": "msg.payload = msg.payload/10;\nreturn msg;", | |
"outputs": 1, | |
"noerr": 0, | |
"initialize": "", | |
"finalize": "", | |
"libs": [], | |
"x": 1530, | |
"y": 1160, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "4885698e1d51ab01", | |
"type": "comment", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "COP Calc", | |
"info": "", | |
"x": 1080, | |
"y": 60, | |
"wires": [] | |
}, | |
{ | |
"id": "551f677277f7f615", | |
"type": "change", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "global.WaterFLOW", | |
"rules": [ | |
{ | |
"t": "move", | |
"p": "payload", | |
"pt": "msg", | |
"to": "waterFLOW", | |
"tot": "global" | |
} | |
], | |
"action": "", | |
"property": "", | |
"from": "", | |
"to": "", | |
"reg": false, | |
"x": 1050, | |
"y": 400, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "59e6e0bb86f78082", | |
"type": "change", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "global.WaterOUT", | |
"rules": [ | |
{ | |
"t": "move", | |
"p": "payload", | |
"pt": "msg", | |
"to": "waterOUT", | |
"tot": "global" | |
} | |
], | |
"action": "", | |
"property": "", | |
"from": "", | |
"to": "", | |
"reg": false, | |
"x": 1050, | |
"y": 340, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "1f101089615eb568", | |
"type": "change", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "global.WaterIN", | |
"rules": [ | |
{ | |
"t": "move", | |
"p": "payload", | |
"pt": "msg", | |
"to": "waterIN", | |
"tot": "global" | |
} | |
], | |
"action": "", | |
"property": "", | |
"from": "", | |
"to": "", | |
"reg": false, | |
"x": 1060, | |
"y": 280, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "b13b9fee4cdfe2e2", | |
"type": "change", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "global.powerHP", | |
"rules": [ | |
{ | |
"t": "move", | |
"p": "payload", | |
"pt": "msg", | |
"to": "powerHP", | |
"tot": "global" | |
} | |
], | |
"action": "", | |
"property": "", | |
"from": "", | |
"to": "", | |
"reg": false, | |
"x": 1060, | |
"y": 220, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "bbbdf4ee07fa2860", | |
"type": "inject", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "every 1 sec.", | |
"props": [ | |
{ | |
"p": "topic", | |
"v": "3000", | |
"vt": "num" | |
} | |
], | |
"repeat": "1", | |
"crontab": "", | |
"once": false, | |
"onceDelay": 0.1, | |
"topic": "", | |
"x": 810, | |
"y": 220, | |
"wires": [ | |
[ | |
"b13b9fee4cdfe2e2" | |
] | |
] | |
}, | |
{ | |
"id": "150d9a4c4664b862", | |
"type": "comment", | |
"z": "e7ef1d57bc3f3a09", | |
"name": "you need the power of the Heatpump from a Powermeter", | |
"info": "", | |
"x": 930, | |
"y": 180, | |
"wires": [] | |
}, | |
{ | |
"id": "4155f4f0b7863613", | |
"type": "modbus-client", | |
"name": "Waveshare LG", | |
"clienttype": "tcp", | |
"bufferCommands": true, | |
"stateLogEnabled": false, | |
"queueLogEnabled": false, | |
"failureLogEnabled": true, | |
"tcpHost": "10.0.0.212", | |
"tcpPort": "502", | |
"tcpType": "DEFAULT", | |
"serialPort": "/dev/ttyUSB", | |
"serialType": "RTU-BUFFERD", | |
"serialBaudrate": "9600", | |
"serialDatabits": "8", | |
"serialStopbits": "1", | |
"serialParity": "none", | |
"serialConnectionDelay": "100", | |
"serialAsciiResponseStartDelimiter": "0x3A", | |
"unit_id": "1", | |
"commandDelay": "1", | |
"clientTimeout": "1000", | |
"reconnectOnTimeout": true, | |
"reconnectTimeout": "2000", | |
"parallelUnitIdsAllowed": true, | |
"showWarnings": true, | |
"showLogs": true | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment