here is the code of my nodered.
unfortunately I can only read out I am still looking for the white register of the boost mode and the setpiont of ph and redox
[
{
"id": "618881f6ac67f894",
"type": "tab",
"label": "X valley",
"disabled": false,
"info": "",
"env": []
},
{
"id": "8540ac185c4f0b5c",
"type": "modbus-read",
"z": "618881f6ac67f894",
"name": "",
"topic": "",
"showStatusActivities": false,
"logIOActivities": false,
"showErrors": false,
"showWarnings": true,
"unitid": "1",
"dataType": "InputRegister",
"adr": "258",
"quantity": "1",
"rate": "10",
"rateUnit": "s",
"delayOnStart": false,
"startDelayTime": "",
"server": "4a874db92373c071",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"emptyMsgOnFail": false,
"x": 250,
"y": 220,
"wires": [
[
"eb7ef75e92679c2f"
],
[]
]
},
{
"id": "d45189fa80d3d138",
"type": "comment",
"z": "618881f6ac67f894",
"name": "pH Waarde Zwembad (258)",
"info": "",
"x": 300,
"y": 180,
"wires": []
},
{
"id": "5793be3be6a7dd43",
"type": "debug",
"z": "618881f6ac67f894",
"name": "debug 4",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 960,
"y": 100,
"wires": []
},
{
"id": "cf588a1fb85903b3",
"type": "modbus-read",
"z": "618881f6ac67f894",
"name": "",
"topic": "",
"showStatusActivities": false,
"logIOActivities": false,
"showErrors": false,
"showWarnings": true,
"unitid": "1",
"dataType": "InputRegister",
"adr": "262",
"quantity": "1",
"rate": "500",
"rateUnit": "ms",
"delayOnStart": false,
"startDelayTime": "",
"server": "4a874db92373c071",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"emptyMsgOnFail": false,
"x": 250,
"y": 100,
"wires": [
[
"57cc04d605365961"
],
[]
]
},
{
"id": "57cc04d605365961",
"type": "function",
"z": "618881f6ac67f894",
"name": "function 4",
"func": "msg.payload = msg.payload / 10;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 600,
"y": 100,
"wires": [
[
"5793be3be6a7dd43"
]
]
},
{
"id": "dca10515cbd93b57",
"type": "comment",
"z": "618881f6ac67f894",
"name": "Water Temperatuur Zwembad (262)",
"info": "",
"x": 320,
"y": 60,
"wires": []
},
{
"id": "eb7ef75e92679c2f",
"type": "function",
"z": "618881f6ac67f894",
"name": "function 5",
"func": "msg.payload = msg.payload / 100;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 600,
"y": 220,
"wires": [
[
"6bd9fc6ce913243a"
]
]
},
{
"id": "8bb62b999eff31d9",
"type": "modbus-read",
"z": "618881f6ac67f894",
"name": "",
"topic": "",
"showStatusActivities": false,
"logIOActivities": false,
"showErrors": false,
"showWarnings": true,
"unitid": "1",
"dataType": "InputRegister",
"adr": "259",
"quantity": "1",
"rate": "10",
"rateUnit": "s",
"delayOnStart": false,
"startDelayTime": "",
"server": "4a874db92373c071",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"emptyMsgOnFail": false,
"x": 250,
"y": 340,
"wires": [
[
"e924bfc049eebdef"
],
[]
]
},
{
"id": "532dcaf323292c93",
"type": "comment",
"z": "618881f6ac67f894",
"name": "Rodux Sensor (259)",
"info": "",
"x": 270,
"y": 300,
"wires": []
},
{
"id": "201cd07d0c2ca092",
"type": "modbus-read",
"z": "618881f6ac67f894",
"name": "",
"topic": "",
"showStatusActivities": false,
"logIOActivities": false,
"showErrors": false,
"showWarnings": true,
"unitid": "1",
"dataType": "InputRegister",
"adr": "257",
"quantity": "1",
"rate": "10",
"rateUnit": "s",
"delayOnStart": false,
"startDelayTime": "",
"server": "4a874db92373c071",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"emptyMsgOnFail": false,
"x": 250,
"y": 460,
"wires": [
[
"855b18d3038c2974"
],
[]
]
},
{
"id": "5a2bfab46dca6801",
"type": "comment",
"z": "618881f6ac67f894",
"name": "Hydrolysis (257)",
"info": "",
"x": 260,
"y": 420,
"wires": []
},
{
"id": "855b18d3038c2974",
"type": "function",
"z": "618881f6ac67f894",
"name": "function 6",
"func": "msg.payload = msg.payload / 10;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 580,
"y": 460,
"wires": [
[
"1eaef61f7ae507dd"
]
]
},
{
"id": "6bd9fc6ce913243a",
"type": "openhab2-out2",
"z": "618881f6ac67f894",
"name": "",
"controller": "6d29cbc8a3dbce62",
"itemname": "Zwemspa_Sugar_Valley_PH",
"topic": "ItemUpdate",
"payload": "",
"onlywhenchanged": false,
"x": 1020,
"y": 220,
"wires": [
[]
]
},
{
"id": "e924bfc049eebdef",
"type": "openhab2-out2",
"z": "618881f6ac67f894",
"name": "",
"controller": "6d29cbc8a3dbce62",
"itemname": "Zwemspa_Sugar_Valley_Rodux",
"topic": "ItemUpdate",
"payload": "",
"onlywhenchanged": false,
"x": 1030,
"y": 340,
"wires": [
[]
]
},
{
"id": "1eaef61f7ae507dd",
"type": "openhab2-out2",
"z": "618881f6ac67f894",
"name": "",
"controller": "6d29cbc8a3dbce62",
"itemname": "Zwemspa_Sugar_Valley_Hydrolysis",
"topic": "ItemUpdate",
"payload": "",
"onlywhenchanged": false,
"x": 1040,
"y": 460,
"wires": [
[]
]
},
{
"id": "8f5bcd6107c34e12",
"type": "comment",
"z": "618881f6ac67f894",
"name": "Pool Target PH (1284)",
"info": "",
"x": 280,
"y": 620,
"wires": []
},
{
"id": "7ef11bb47471170c",
"type": "comment",
"z": "618881f6ac67f894",
"name": "Pool Target Redox (1288)",
"info": "",
"x": 290,
"y": 760,
"wires": []
},
{
"id": "2e3d0e9dd3ebed73",
"type": "comment",
"z": "618881f6ac67f894",
"name": "Pool Filtration (1057)",
"info": "",
"x": 270,
"y": 860,
"wires": []
},
{
"id": "933ce1153517a269",
"type": "comment",
"z": "618881f6ac67f894",
"name": "Pool Filtration mode (1041)",
"info": "",
"x": 290,
"y": 980,
"wires": []
},
{
"id": "01e94f6f2bfd0cab",
"type": "debug",
"z": "618881f6ac67f894",
"name": "debug 11",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 980,
"y": 660,
"wires": []
},
{
"id": "a0e76710700e84fa",
"type": "modbus-read",
"z": "618881f6ac67f894",
"name": "",
"topic": "",
"showStatusActivities": false,
"logIOActivities": false,
"showErrors": false,
"showWarnings": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "1284",
"quantity": "1",
"rate": "500",
"rateUnit": "ms",
"delayOnStart": false,
"startDelayTime": "",
"server": "4a874db92373c071",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"emptyMsgOnFail": false,
"x": 250,
"y": 660,
"wires": [
[
"723055f85d83ac73"
],
[]
]
},
{
"id": "723055f85d83ac73",
"type": "function",
"z": "618881f6ac67f894",
"name": "function 35",
"func": "msg.payload = msg.payload / 100;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 590,
"y": 660,
"wires": [
[
"01e94f6f2bfd0cab"
]
]
},
{
"id": "960ae8868fffdaad",
"type": "debug",
"z": "618881f6ac67f894",
"name": "debug 12",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 980,
"y": 800,
"wires": []
},
{
"id": "e1f222950981c090",
"type": "modbus-read",
"z": "618881f6ac67f894",
"name": "",
"topic": "",
"showStatusActivities": false,
"logIOActivities": false,
"showErrors": false,
"showWarnings": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "1288",
"quantity": "1",
"rate": "500",
"rateUnit": "ms",
"delayOnStart": false,
"startDelayTime": "",
"server": "4a874db92373c071",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"emptyMsgOnFail": false,
"x": 250,
"y": 800,
"wires": [
[
"960ae8868fffdaad"
],
[]
]
},
{
"id": "1424f8d71512dd56",
"type": "debug",
"z": "618881f6ac67f894",
"name": "debug 13",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 1000,
"y": 900,
"wires": []
},
{
"id": "48c8116905002b2f",
"type": "modbus-read",
"z": "618881f6ac67f894",
"name": "",
"topic": "",
"showStatusActivities": false,
"logIOActivities": false,
"showErrors": false,
"showWarnings": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "1057",
"quantity": "1",
"rate": "500",
"rateUnit": "ms",
"delayOnStart": false,
"startDelayTime": "",
"server": "4a874db92373c071",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"emptyMsgOnFail": false,
"x": 250,
"y": 900,
"wires": [
[
"1424f8d71512dd56"
],
[]
]
},
{
"id": "ab076dab24091524",
"type": "debug",
"z": "618881f6ac67f894",
"name": "debug 14",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 1000,
"y": 1020,
"wires": []
},
{
"id": "e92fb0055f7b6121",
"type": "modbus-read",
"z": "618881f6ac67f894",
"name": "",
"topic": "",
"showStatusActivities": false,
"logIOActivities": false,
"showErrors": false,
"showWarnings": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "1041",
"quantity": "1",
"rate": "500",
"rateUnit": "ms",
"delayOnStart": false,
"startDelayTime": "",
"server": "4a874db92373c071",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"emptyMsgOnFail": false,
"x": 270,
"y": 1020,
"wires": [
[
"ab076dab24091524"
],
[]
]
},
{
"id": "4a874db92373c071",
"type": "modbus-client",
"name": "x valley sugar modbus RS485",
"clienttype": "tcp",
"bufferCommands": true,
"stateLogEnabled": false,
"queueLogEnabled": false,
"failureLogEnabled": true,
"tcpHost": "192.168.2.220",
"tcpPort": "8899",
"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
},
{
"id": "6d29cbc8a3dbce62",
"type": "openhab2-controller2",
"name": "Openhab 3",
"protocol": "http",
"host": "localhost",
"port": "8080",
"path": "",
"username": "",
"password": "",
"ohversion": "v3",
"token": ""
}
]