[SOLVED] Change Temp with Nodered on 2 heating controllers

Hi,

i control my openhab2 with Nodered.
Now have the following requirement, which I can not do this:

In one room I have 2 Homematic heating controllers. I would like, if a heater is changed, that this temperature is also transferred to the other heater.

For this I have created the following Flow:


[{"id":"243dfed4.b2c72a","type":"openhab2-in","z":"310f6987.505a6e","name":"","controller":"ce8959a.db84d28","itemname":"Stube_Heizung_Seite_SetTemperature","x":245,"y":123,"wires":[["3cda13a.9a475ec","328e565e.25dc52"],[]]},{"id":"3cda13a.9a475ec","type":"openhab2-out","z":"310f6987.505a6e","name":"","controller":"ce8959a.db84d28","itemname":"Stube_Heizung_Strasse_SetTemperature","topic":"ItemCommand","payload":"","x":666,"y":117,"wires":[["7bf7a666.54f068"]]},{"id":"328e565e.25dc52","type":"debug","z":"310f6987.505a6e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":309,"y":244,"wires":[]},{"id":"7bf7a666.54f068","type":"debug","z":"310f6987.505a6e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":694,"y":246,"wires":[]},{"id":"55dc42b8.fc75bc","type":"openhab2-in","z":"310f6987.505a6e","name":"","controller":"ce8959a.db84d28","itemname":"Stube_Heizung_Strasse_SetTemperature","x":237,"y":390,"wires":[["d79078db.380fd8","d52c12de.39f19"],[]]},{"id":"d79078db.380fd8","type":"openhab2-out","z":"310f6987.505a6e","name":"","controller":"ce8959a.db84d28","itemname":"Stube_Heizung_Seite_SetTemperature","topic":"ItemCommand","payload":"","x":638,"y":384,"wires":[["6f4e07a5.00ccf8"]]},{"id":"d52c12de.39f19","type":"debug","z":"310f6987.505a6e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":291,"y":511,"wires":[]},{"id":"6f4e07a5.00ccf8","type":"debug","z":"310f6987.505a6e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":676,"y":513,"wires":[]},{"id":"ce8959a.db84d28","type":"openhab2-controller","z":"","name":"openhab2","protocol":"http","host":"localhost","port":"8080","path":"","username":"","password":""}]

But as soon as I change the temperature, it will be changed in a LOOP.

How can I prevent this?

Thank you.
greeting
Hermann

Use rbe nodes:

[
    {
        "id": "242e73db.f9362c",
        "type": "openhab2-in",
        "z": "a38d290c.fb04b",
        "name": "",
        "controller": "52c1ae49.97daf8",
        "itemname": "Stube_Heizung_Seite_SetTemperature",
        "x": 290,
        "y": 140,
        "wires": [
            [
                "b4a53e18.571d38",
                "67979708.c79f58"
            ],
            []
        ]
    },
    {
        "id": "e4617b71.d2788",
        "type": "openhab2-out",
        "z": "a38d290c.fb04b",
        "name": "",
        "controller": "52c1ae49.97daf8",
        "itemname": "Stube_Heizung_Strasse_SetTemperature",
        "topic": "ItemCommand",
        "payload": "",
        "x": 900,
        "y": 120,
        "wires": [
            [
                "85d56664.950aa"
            ]
        ]
    },
    {
        "id": "b4a53e18.571d38",
        "type": "debug",
        "z": "a38d290c.fb04b",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "x": 354,
        "y": 261,
        "wires": []
    },
    {
        "id": "85d56664.950aa",
        "type": "debug",
        "z": "a38d290c.fb04b",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "x": 739,
        "y": 263,
        "wires": []
    },
    {
        "id": "d291b01d.53bde",
        "type": "openhab2-in",
        "z": "a38d290c.fb04b",
        "name": "",
        "controller": "52c1ae49.97daf8",
        "itemname": "Stube_Heizung_Strasse_SetTemperature",
        "x": 282,
        "y": 407,
        "wires": [
            [
                "739c2402.262edc",
                "3bd727d.63db8d8"
            ],
            []
        ]
    },
    {
        "id": "5b17e189.16f7",
        "type": "openhab2-out",
        "z": "a38d290c.fb04b",
        "name": "",
        "controller": "52c1ae49.97daf8",
        "itemname": "Stube_Heizung_Seite_SetTemperature",
        "topic": "ItemCommand",
        "payload": "",
        "x": 840,
        "y": 400,
        "wires": [
            [
                "5b73f99b.9eb62"
            ]
        ]
    },
    {
        "id": "739c2402.262edc",
        "type": "debug",
        "z": "a38d290c.fb04b",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "x": 336,
        "y": 528,
        "wires": []
    },
    {
        "id": "5b73f99b.9eb62",
        "type": "debug",
        "z": "a38d290c.fb04b",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "x": 721,
        "y": 530,
        "wires": []
    },
    {
        "id": "67979708.c79f58",
        "type": "rbe",
        "z": "a38d290c.fb04b",
        "name": "",
        "func": "rbe",
        "gap": "",
        "start": "",
        "inout": "out",
        "property": "payload",
        "x": 590,
        "y": 120,
        "wires": [
            [
                "e4617b71.d2788"
            ]
        ]
    },
    {
        "id": "3bd727d.63db8d8",
        "type": "rbe",
        "z": "a38d290c.fb04b",
        "name": "",
        "func": "rbe",
        "gap": "",
        "start": "",
        "inout": "out",
        "property": "payload",
        "x": 570,
        "y": 400,
        "wires": [
            [
                "5b17e189.16f7"
            ]
        ]
    },
    {
        "id": "52c1ae49.97daf8",
        "type": "openhab2-controller",
        "z": "",
        "name": "openhab2",
        "protocol": "http",
        "host": "localhost",
        "port": "8080",
        "path": "",
        "username": "",
        "password": ""
    }
]

Great.

Thanks. It works now.

Regards
Hermann