it does´t run
[
{
"id": "b2964c3aa7426115",
"type": "tab",
"label": "Flow 3",
"disabled": false,
"info": ""
},
{
"id": "110f04cc138a0e07",
"type": "openhab2-in",
"z": "b2964c3aa7426115",
"name": "Ist_Temp",
"controller": "2341e6d1c1f117f5",
"itemname": "ThermostatDurchgangszimmer_ActualTemperature",
"x": 230,
"y": 160,
"wires": [
[
"54236c96a417792b"
],
[]
]
},
{
"id": "b1147b809f6e4e95",
"type": "openhab2-in",
"z": "b2964c3aa7426115",
"name": "Soll_Temp",
"controller": "2341e6d1c1f117f5",
"itemname": "ThermostatDurchgangszimmer_SetTemperature",
"x": 240,
"y": 240,
"wires": [
[
"afcc40e1aa707e49"
],
[]
]
},
{
"id": "54236c96a417792b",
"type": "function",
"z": "b2964c3aa7426115",
"name": "",
"func": "global.set(\"Ist_Temp_DZ\",msg.temp1);\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 510,
"y": 160,
"wires": [
[
"52824f7e12ac7a94",
"29bce0cc076928f8"
]
]
},
{
"id": "52824f7e12ac7a94",
"type": "debug",
"z": "b2964c3aa7426115",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 830,
"y": 160,
"wires": []
},
{
"id": "afcc40e1aa707e49",
"type": "function",
"z": "b2964c3aa7426115",
"name": "",
"func": "global.set(\"Soll_Temp_DZ\",msg.temp2);\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 500,
"y": 240,
"wires": [
[
"52824f7e12ac7a94",
"29bce0cc076928f8"
]
]
},
{
"id": "29bce0cc076928f8",
"type": "change",
"z": "b2964c3aa7426115",
"name": "",
"rules": [
{
"t": "change",
"p": "Ist_Temp_DZ",
"pt": "global",
"from": " °C",
"fromt": "str",
"to": "",
"tot": "str"
},
{
"t": "change",
"p": "Soll_Temp_DZ",
"pt": "global",
"from": " °C",
"fromt": "str",
"to": "",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "$number($globalContext(Ist_Temp_DZ)) - $number($globalContext(Soll_Temp_DZ))",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 850,
"y": 320,
"wires": [
[
"40d8a5b513354c8d"
]
]
},
{
"id": "40d8a5b513354c8d",
"type": "debug",
"z": "b2964c3aa7426115",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 1170,
"y": 320,
"wires": []
},
{
"id": "2341e6d1c1f117f5",
"type": "openhab2-controller",
"name": "Ziegler",
"protocol": "http",
"host": "192.168.178.40",
"port": "8080",
"path": "",
"username": "oh.NODERED.uPzMpvN5MI0C7cRpW9uNkqwWxx3XetWukNOAwEuYuvyd0CyiEj3oraUSQpqun8C0Bn2zUgXtZQs7AQ5ntky5pQ",
"password": ""
}
][
{
"id": "b2964c3aa7426115",
"type": "tab",
"label": "Flow 3",
"disabled": false,
"info": ""
},
{
"id": "110f04cc138a0e07",
"type": "openhab2-in",
"z": "b2964c3aa7426115",
"name": "Ist_Temp",
"controller": "2341e6d1c1f117f5",
"itemname": "ThermostatDurchgangszimmer_ActualTemperature",
"x": 230,
"y": 160,
"wires": [
[
"54236c96a417792b"
],
[]
]
},
{
"id": "b1147b809f6e4e95",
"type": "openhab2-in",
"z": "b2964c3aa7426115",
"name": "Soll_Temp",
"controller": "2341e6d1c1f117f5",
"itemname": "ThermostatDurchgangszimmer_SetTemperature",
"x": 240,
"y": 240,
"wires": [
[
"afcc40e1aa707e49"
],
[]
]
},
{
"id": "54236c96a417792b",
"type": "function",
"z": "b2964c3aa7426115",
"name": "",
"func": "global.set(\"Ist_Temp_DZ\",msg.temp1);\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 510,
"y": 160,
"wires": [
[
"52824f7e12ac7a94",
"29bce0cc076928f8"
]
]
},
{
"id": "52824f7e12ac7a94",
"type": "debug",
"z": "b2964c3aa7426115",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 830,
"y": 160,
"wires": []
},
{
"id": "afcc40e1aa707e49",
"type": "function",
"z": "b2964c3aa7426115",
"name": "",
"func": "global.set(\"Soll_Temp_DZ\",msg.temp2);\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 500,
"y": 240,
"wires": [
[
"52824f7e12ac7a94",
"29bce0cc076928f8"
]
]
},
{
"id": "29bce0cc076928f8",
"type": "change",
"z": "b2964c3aa7426115",
"name": "",
"rules": [
{
"t": "change",
"p": "Ist_Temp_DZ",
"pt": "global",
"from": " °C",
"fromt": "str",
"to": "",
"tot": "str"
},
{
"t": "change",
"p": "Soll_Temp_DZ",
"pt": "global",
"from": " °C",
"fromt": "str",
"to": "",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "$number($globalContext(Ist_Temp_DZ)) - $number($globalContext(Soll_Temp_DZ))",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 850,
"y": 320,
"wires": [
[
"40d8a5b513354c8d"
]
]
},
{
"id": "40d8a5b513354c8d",
"type": "debug",
"z": "b2964c3aa7426115",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 1170,
"y": 320,
"wires": []
},
{
"id": "2341e6d1c1f117f5",
"type": "openhab2-controller",
"name": "Ziegler",
"protocol": "http",
"host": "192.168.178.40",
"port": "8080",
"path": "",
"username": "oh.NODERED.uPzMpvN5MI0C7cRpW9uNkqwWxx3XetWukNOAwEuYuvyd0CyiEj3oraUSQpqun8C0Bn2zUgXtZQs7AQ5ntky5pQ",
"password": ""
}
]