Hallo liebe Community,
entschuldigung, dass ich mich nicht komplett vorstelle, aber das würde hier den Rahmen sprengen  .
.
Nur soviel:
Meine Name ist Martin und ich bin vor drei Wochen auf das Thema „Smart-Home“ gestoßen. Einen alten Pi3b hatte ich noch rumfliegen, also ioBroker-Image mit Node Red drauf und leeeesssen…
Ich habe einige HUE Lampen (inkl. Bridge), Eltakos FT55, natürlich einen Homee (EnOcean) und noch eine Osram Steckdose im Fundus. Wie ich zu alldem gekommen bin werde ich wohl bei Gelegenheit ein einem anderen Thread berichten.
Ich habe keinen Plan von Linux, Java, Json…, aber etwas Logik zwischen den Ohren ist vorhanden  .
.
Um es kurz zu machen… es läuft alles (irgendwie  ), aber z.Z. bekomme ich im LOG von ioBroker eine merkwürdige Warnung. Auch im Debug von NR taucht diese auf.
), aber z.Z. bekomme ich im LOG von ioBroker eine merkwürdige Warnung. Auch im Debug von NR taucht diese auf.

Hier die Attribute:
[
{
„id“: 40,
„node_id“: 40,
„instance“: 0,
„minimum“: 0,
„maximum“: 1,
„current_value“: 0,
„target_value“: 0,
„last_value“: 0,
„unit“: „“,
„step_value“: 1,
„editable“: 1,
„type“: 1,
„state“: 1,
„last_changed“: 12345555,
„changed_by“: 1,
„changed_by_id“: 0,
„based_on“: 1,
„data“: „“
},
{
„id“: 41,
„node_id“: 40,
„instance“: 0,
„minimum“: 0,
„maximum“: 100,
„current_value“: 0,
„target_value“: 0,
„last_value“: 0,
„unit“: „%25“,
„step_value“: 1,
„editable“: 1,
„type“: 2,
„state“: 1,
„last_changed“: 12345555,
„changed_by“: 1,
„changed_by_id“: 0,
„based_on“: 1,
„data“: „“
},
{
„id“: 42,
„node_id“: 40,
„instance“: 0,
„minimum“: 153,
„maximum“: 500,
„current_value“: 0,
„target_value“: 0,
„last_value“: 0,
„unit“: „K“,
„step_value“: 1,
„editable“: 1,
„type“: 42,
„state“: 1,
„last_changed“: 12345555,
„changed_by“: 1,
„changed_by_id“: 0,
„based_on“: 1,
„data“: „“
},
{
„id“: 43,
„node_id“: 40,
„instance“: 0,
„minimum“: 0,
„maximum“: 16777215,
„current_value“: 0,
„target_value“: 0,
„last_value“: 0,
„unit“: „“,
„step_value“: 1,
„editable“: 1,
„type“: 23,
„state“: 1,
„last_changed“: 12345555,
„changed_by“: 1,
„changed_by_id“: 0,
„based_on“: 1,
„data“: „7001020%3B16419669%3B12026363%3B16525995“
},
{
„id“: 44,
„node_id“: 40,
„instance“: 1,
„minimum“: 0,
„maximum“: 255,
„current_value“: 0,
„target_value“: 0,
„last_value“: 0,
„unit“: „RED“,
„step_value“: 1,
„editable“: 1,
„type“: 2,
„state“: 1,
„last_changed“: 12345555,
„changed_by“: 1,
„changed_by_id“: 0,
„based_on“: 1,
„data“: „“
},
{
„id“: 45,
„node_id“: 40,
„instance“: 2,
„minimum“: 0,
„maximum“: 255,
„current_value“: 0,
„target_value“: 0,
„last_value“: 0,
„unit“: „Green“,
„step_value“: 1,
„editable“: 1,
„type“: 2,
„state“: 1,
„last_changed“: 12345555,
„changed_by“: 1,
„changed_by_id“: 0,
„based_on“: 1,
„data“: „“
},
{
„id“: 46,
„node_id“: 40,
„instance“: 3,
„minimum“: 0,
„maximum“: 255,
„current_value“: 0,
„target_value“: 0,
„last_value“: 0,
„unit“: „BLUE“,
„step_value“: 1,
„editable“: 1,
„type“: 2,
„state“: 1,
„last_changed“: 12345555,
„changed_by“: 1,
„changed_by_id“: 0,
„based_on“: 1,
„data“: „“
}
]
Da ich noch keine Dateien hochladen darf, hier der ganze Flow als Text:
[
    {
        "id": "f9b79a00.9de488",
        "type": "tab",
        "label": "Ambiente Wohnzimmer",
        "disabled": false,
        "info": ""
    },
    {
        "id": "3e3d0127.83c34e",
        "type": "hue-light",
        "z": "f9b79a00.9de488",
        "name": "Hue color candle 2",
        "bridge": "c42cfbe5.b177b8",
        "lightid": "3",
        "colornamer": true,
        "skipevents": false,
        "x": 470,
        "y": 640,
        "wires": [
            [
                "271a303.30232d"
            ]
        ]
    },
    {
        "id": "ac232dee.3c8eb8",
        "type": "function",
        "z": "f9b79a00.9de488",
        "name": "Rückkanal on off mit Hex",
        "func": "if (msg.payload.on === true ){msg.payload.on =1}else msg.payload.on=0; \nnode.send({payload:{\"id\":40,\"value\":msg.payload.on}})\nnode.send({payload:{\"id\":41,\"value\":msg.payload.brightness}})\nnode.send({payload:{\"id\":42,\"value\":msg.payload.colorTemp}})\nnode.send({payload:{\"id\":44,\"value\":msg.payload.rgb[0]}})\nnode.send({payload:{\"id\":45,\"value\":msg.payload.rgb[1]}})\nnode.send({payload:{\"id\":46,\"value\":msg.payload.rgb[2]}})\n\n\nif( msg.payload.hex){\nvar test = msg.payload.hex.split('');\nvar ausgabe = \"\";\numr(i = test[5]);\nZahl1 = ausgabe*1;\numr(i = test[4]);\nZahl2 = ausgabe*16;\numr(i = test[3]);\nZahl3 = ausgabe*256;\numr(i = test[2]);\nZahl4 = ausgabe*4096;\numr(i = test[1]);\nZahl5 = ausgabe*65536;\numr(i = test[0]);\nZahl6 = ausgabe*1048576;\nnode.send({payload: {\"id\":43,\"value\":Zahl1+Zahl2+Zahl3+Zahl4+Zahl5+Zahl6}})}\nfunction umr(){\n    switch(i){\n\t\tcase \"1\": ausgabe =1;break;\n\t\tcase \"2\": ausgabe =2;break;\n\t\tcase \"3\": ausgabe = 3;break;\n\t\tcase \"4\": ausgabe= 4;break;\n\t\tcase \"5\": ausgabe= 5;break;\n\t\tcase \"6\": ausgabe = 6;break;\n\t\tcase \"7\": ausgabe =7;break;   \n\t\tcase \"8\": ausgabe = 8;break;\n\t\tcase \"9\": ausgabe = 9;break;\n\t\tcase \"a\": ausgabe =10; break;\n\t\tcase \"b\": ausgabe = 11; break;\n\t\tcase \"c\": ausgabe  = 12; break;\n\t\tcase \"d\": ausgabe =13; break;\n\t\tcase \"e\": ausgabe =14; break;\n\t\tcase \"f\": ausgabe =15; break;\n}}",
        "outputs": 1,
        "noerr": 0,
        "x": 850,
        "y": 640,
        "wires": [
            [
                "619bef5b.1e47f8"
            ]
        ]
    },
    {
        "id": "271a303.30232d",
        "type": "switch",
        "z": "f9b79a00.9de488",
        "name": "",
        "property": "payload.reachable",
        "propertyType": "msg",
        "rules": [
            {
                "t": "true"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 650,
        "y": 640,
        "wires": [
            [
                "ac232dee.3c8eb8"
            ]
        ]
    },
    {
        "id": "619bef5b.1e47f8",
        "type": "homeeDevice",
        "z": "f9b79a00.9de488",
        "virtual-homee": "",
        "name": "Wohnz Ambi 2",
        "nodeId": "40",
        "profile": "1002",
        "icon": "",
        "attributes": "[{\"id\":40,\"node_id\":40,\"instance\":0,\"minimum\":0,\"maximum\":1,\"current_value\":0,\"target_value\":0,\"last_value\":0,\"unit\":\"\",\"step_value\":1,\"editable\":1,\"type\":1,\"state\":1,\"last_changed\":12345555,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\"},{\"id\":41,\"node_id\":40,\"instance\":0,\"minimum\":0,\"maximum\":100,\"current_value\":0,\"target_value\":0,\"last_value\":0,\"unit\":\"%25\",\"step_value\":1,\"editable\":1,\"type\":2,\"state\":1,\"last_changed\":12345555,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\"},{\"id\":42,\"node_id\":40,\"instance\":0,\"minimum\":153,\"maximum\":500,\"current_value\":0,\"target_value\":0,\"last_value\":0,\"unit\":\"K\",\"step_value\":1,\"editable\":1,\"type\":42,\"state\":1,\"last_changed\":12345555,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\"},{\"id\":43,\"node_id\":40,\"instance\":0,\"minimum\":0,\"maximum\":16777215,\"current_value\":0,\"target_value\":0,\"last_value\":0,\"unit\":\"\",\"step_value\":1,\"editable\":1,\"type\":23,\"state\":1,\"last_changed\":12345555,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"7001020%3B16419669%3B12026363%3B16525995\"},{\"id\":44,\"node_id\":40,\"instance\":1,\"minimum\":0,\"maximum\":255,\"current_value\":0,\"target_value\":0,\"last_value\":0,\"unit\":\"RED\",\"step_value\":1,\"editable\":1,\"type\":2,\"state\":1,\"last_changed\":12345555,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\"},{\"id\":45,\"node_id\":40,\"instance\":2,\"minimum\":0,\"maximum\":255,\"current_value\":0,\"target_value\":0,\"last_value\":0,\"unit\":\"Green\",\"step_value\":1,\"editable\":1,\"type\":2,\"state\":1,\"last_changed\":12345555,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\"},{\"id\":46,\"node_id\":40,\"instance\":3,\"minimum\":0,\"maximum\":255,\"current_value\":0,\"target_value\":0,\"last_value\":0,\"unit\":\"BLUE\",\"step_value\":1,\"editable\":1,\"type\":2,\"state\":1,\"last_changed\":12345555,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\"}]",
        "x": 80,
        "y": 640,
        "wires": [
            [
                "e16a909a.f43a78"
            ]
        ]
    },
    {
        "id": "e16a909a.f43a78",
        "type": "function",
        "z": "f9b79a00.9de488",
        "name": "RGB Funktion",
        "func": "if (msg.payload.attributeId === 44){flow.set(\"red\",msg.payload.targetValue)}\nif (msg.payload.attributeId === 45){flow.set(\"green\",msg.payload.targetValue)}\nif (msg.payload.attributeId === 46){flow.set(\"blue\",msg.payload.targetValue)}\nvar red = flow.get(\"red\")||0;\nvar green = flow.get(\"green\")||0;\nvar blue = flow.get(\"blue\")||0;\nif (msg.payload.attributeId === 43){\nvar zahl= msg.payload.targetValue;\nvar ausgabe =\"\";\nrest(i = zahl%16);\nzahl6 = ausgabe;\nzahl = Math.floor(zahl/16);\nrest(i = zahl%16);\nzahl5 = ausgabe;\nzahl = Math.floor(zahl/16);\nrest(i = zahl%16);\nzahl4 = ausgabe;\nzahl = Math.floor(zahl/16);\nrest(i = zahl%16);\nzahl3 = ausgabe;\nzahl = Math.floor(zahl/16);\nrest(i = zahl%16);\nzahl2 = ausgabe;\nzahl = Math.floor(zahl/16);\nrest(i = zahl);\nzahl1 = ausgabe;\n\nausgabe2 = zahl1+zahl2+zahl3+zahl4+zahl5+zahl6;\n    node.send({payload:{\"hex\":ausgabe2}});\n}\n\nfunction rest(){\n    switch(i)\n\t\t{\n\t\t    \n\t\tcase 1: ausgabe =\"1\";break;\n\t\tcase 2: ausgabe =\"2\";break;\n\t\tcase 3: ausgabe = \"3\";break;\n\t\tcase 4: ausgabe= \"4\";break;\n\t\tcase 5: ausgabe= \"5\";break;\n\t\tcase 6: ausgabe = \"6\";break;\n\t\tcase 7: ausgabe =\"7\";break;   \n\t\tcase 8: ausgabe = \"8\";break;\n\t\tcase 9: ausgabe = \"9\";break;\n\t\tcase 10: ausgabe =\"A\"; break;\n\t\tcase 11: ausgabe = \"B\"; break;\n\t\tcase 12: ausgabe  = \"C\"; break;\n\t\tcase 13: ausgabe =\"D\"; break;\n\t\tcase 14: ausgabe =\"E\"; break;\n\t\tcase 15: ausgabe =\"F\"; break;\n}}\n\nif (msg.payload.attributeId === 40){node.send({payload:{\"on\":msg.payload.targetValue}})}\nif (msg.payload.attributeId === 41){node.send({payload:{\"brightness\":msg.payload.targetValue}})}\nif (msg.payload.attributeId === 42){node.send({payload:{\"colorTemp\":msg.payload.targetValue}})}\nif ((msg.payload.attributeId === 44)||(msg.payload.attributeId === 45)||(msg.payload.attributeId === 46)){node.send({payload:{rgb:{\"0\":red,\"1\":green,\"2\":blue}}})}",
        "outputs": 1,
        "noerr": 0,
        "x": 260,
        "y": 640,
        "wires": [
            [
                "3e3d0127.83c34e"
            ]
        ]
    },
    {
        "id": "48b705ba.fb05bc",
        "type": "hue-light",
        "z": "f9b79a00.9de488",
        "name": "Wohnz Ambi 1",
        "bridge": "c42cfbe5.b177b8",
        "lightid": "4",
        "colornamer": true,
        "skipevents": false,
        "x": 460,
        "y": 260,
        "wires": [
            [
                "9a06a2a8.f850c8"
            ]
        ]
    },
    {
        "id": "bea58376.d66078",
        "type": "function",
        "z": "f9b79a00.9de488",
        "name": "Rückkanal on off mit Hex",
        "func": "if (msg.payload.on === true ){msg.payload.on =1}else msg.payload.on=0; \nnode.send({payload:{\"id\":30,\"value\":msg.payload.on}})\nnode.send({payload:{\"id\":31,\"value\":msg.payload.brightness}})\nnode.send({payload:{\"id\":32,\"value\":msg.payload.colorTemp}})\nnode.send({payload:{\"id\":34,\"value\":msg.payload.rgb[0]}})\nnode.send({payload:{\"id\":35,\"value\":msg.payload.rgb[1]}})\nnode.send({payload:{\"id\":36,\"value\":msg.payload.rgb[2]}})\n\n\nif( msg.payload.hex){\nvar test = msg.payload.hex.split('');\nvar ausgabe = \"\";\numr(i = test[5]);\nZahl1 = ausgabe*1;\numr(i = test[4]);\nZahl2 = ausgabe*16;\numr(i = test[3]);\nZahl3 = ausgabe*256;\numr(i = test[2]);\nZahl4 = ausgabe*4096;\numr(i = test[1]);\nZahl5 = ausgabe*65536;\numr(i = test[0]);\nZahl6 = ausgabe*1048576;\nnode.send({payload: {\"id\":33,\"value\":Zahl1+Zahl2+Zahl3+Zahl4+Zahl5+Zahl6}})}\nfunction umr(){\n    switch(i){\n\t\tcase \"1\": ausgabe =1;break;\n\t\tcase \"2\": ausgabe =2;break;\n\t\tcase \"3\": ausgabe = 3;break;\n\t\tcase \"4\": ausgabe= 4;break;\n\t\tcase \"5\": ausgabe= 5;break;\n\t\tcase \"6\": ausgabe = 6;break;\n\t\tcase \"7\": ausgabe =7;break;   \n\t\tcase \"8\": ausgabe = 8;break;\n\t\tcase \"9\": ausgabe = 9;break;\n\t\tcase \"a\": ausgabe =10; break;\n\t\tcase \"b\": ausgabe = 11; break;\n\t\tcase \"c\": ausgabe  = 12; break;\n\t\tcase \"d\": ausgabe =13; break;\n\t\tcase \"e\": ausgabe =14; break;\n\t\tcase \"f\": ausgabe =15; break;\n}}",
        "outputs": 1,
        "noerr": 0,
        "x": 850,
        "y": 260,
        "wires": [
            [
                "16be5f7e.779649"
            ]
        ]
    },
    {
        "id": "9a06a2a8.f850c8",
        "type": "switch",
        "z": "f9b79a00.9de488",
        "name": "",
        "property": "payload.reachable",
        "propertyType": "msg",
        "rules": [
            {
                "t": "true"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 650,
        "y": 260,
        "wires": [
            [
                "bea58376.d66078"
            ]
        ]
    },
    {
        "id": "16be5f7e.779649",
        "type": "homeeDevice",
        "z": "f9b79a00.9de488",
        "virtual-homee": "",
        "name": "Wohnz Ambi 1",
        "nodeId": "41",
        "profile": "1002",
        "icon": "",
        "attributes": "[{\"id\":30,\"node_id\":41,\"instance\":0,\"minimum\":0,\"maximum\":1,\"current_value\":0,\"target_value\":0,\"last_value\":0,\"unit\":\"\",\"step_value\":1,\"editable\":1,\"type\":1,\"state\":1,\"last_changed\":12345555,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\"},{\"id\":31,\"node_id\":41,\"instance\":0,\"minimum\":0,\"maximum\":100,\"current_value\":0,\"target_value\":0,\"last_value\":0,\"unit\":\"%25\",\"step_value\":1,\"editable\":1,\"type\":2,\"state\":1,\"last_changed\":12345555,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\"},{\"id\":32,\"node_id\":41,\"instance\":0,\"minimum\":153,\"maximum\":500,\"current_value\":0,\"target_value\":0,\"last_value\":0,\"unit\":\"K\",\"step_value\":1,\"editable\":1,\"type\":42,\"state\":1,\"last_changed\":12345555,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\"},{\"id\":33,\"node_id\":41,\"instance\":0,\"minimum\":0,\"maximum\":16777215,\"current_value\":0,\"target_value\":0,\"last_value\":0,\"unit\":\"\",\"step_value\":1,\"editable\":1,\"type\":23,\"state\":1,\"last_changed\":12345555,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"7001020%3B16419669%3B12026363%3B16525995\"},{\"id\":34,\"node_id\":41,\"instance\":1,\"minimum\":0,\"maximum\":255,\"current_value\":0,\"target_value\":0,\"last_value\":0,\"unit\":\"RED\",\"step_value\":1,\"editable\":1,\"type\":2,\"state\":1,\"last_changed\":12345555,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\"},{\"id\":35,\"node_id\":41,\"instance\":2,\"minimum\":0,\"maximum\":255,\"current_value\":0,\"target_value\":0,\"last_value\":0,\"unit\":\"Green\",\"step_value\":1,\"editable\":1,\"type\":2,\"state\":1,\"last_changed\":12345555,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\"},{\"id\":36,\"node_id\":41,\"instance\":3,\"minimum\":0,\"maximum\":255,\"current_value\":0,\"target_value\":0,\"last_value\":0,\"unit\":\"BLUE\",\"step_value\":1,\"editable\":1,\"type\":2,\"state\":1,\"last_changed\":12345555,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\"}]",
        "x": 80,
        "y": 260,
        "wires": [
            [
                "5704af00.280f18"
            ]
        ]
    },
    {
        "id": "5704af00.280f18",
        "type": "function",
        "z": "f9b79a00.9de488",
        "name": "RGB Funktion",
        "func": "if (msg.payload.attributeId === 34){flow.set(\"red\",msg.payload.targetValue)}\nif (msg.payload.attributeId === 35){flow.set(\"green\",msg.payload.targetValue)}\nif (msg.payload.attributeId === 36){flow.set(\"blue\",msg.payload.targetValue)}\nvar red = flow.get(\"red\")||0;\nvar green = flow.get(\"green\")||0;\nvar blue = flow.get(\"blue\")||0;\nif (msg.payload.attributeId === 33){\nvar zahl= msg.payload.targetValue;\nvar ausgabe =\"\";\nrest(i = zahl%16);\nzahl6 = ausgabe;\nzahl = Math.floor(zahl/16);\nrest(i = zahl%16);\nzahl5 = ausgabe;\nzahl = Math.floor(zahl/16);\nrest(i = zahl%16);\nzahl4 = ausgabe;\nzahl = Math.floor(zahl/16);\nrest(i = zahl%16);\nzahl3 = ausgabe;\nzahl = Math.floor(zahl/16);\nrest(i = zahl%16);\nzahl2 = ausgabe;\nzahl = Math.floor(zahl/16);\nrest(i = zahl);\nzahl1 = ausgabe;\n\nausgabe2 = zahl1+zahl2+zahl3+zahl4+zahl5+zahl6;\n    node.send({payload:{\"hex\":ausgabe2}});\n}\n\nfunction rest(){\n    switch(i)\n\t\t{\n\t\t    \n\t\tcase 1: ausgabe =\"1\";break;\n\t\tcase 2: ausgabe =\"2\";break;\n\t\tcase 3: ausgabe = \"3\";break;\n\t\tcase 4: ausgabe= \"4\";break;\n\t\tcase 5: ausgabe= \"5\";break;\n\t\tcase 6: ausgabe = \"6\";break;\n\t\tcase 7: ausgabe =\"7\";break;   \n\t\tcase 8: ausgabe = \"8\";break;\n\t\tcase 9: ausgabe = \"9\";break;\n\t\tcase 10: ausgabe =\"A\"; break;\n\t\tcase 11: ausgabe = \"B\"; break;\n\t\tcase 12: ausgabe  = \"C\"; break;\n\t\tcase 13: ausgabe =\"D\"; break;\n\t\tcase 14: ausgabe =\"E\"; break;\n\t\tcase 15: ausgabe =\"F\"; break;\n}}\n\nif (msg.payload.attributeId === 30){node.send({payload:{\"on\":msg.payload.targetValue}})}\nif (msg.payload.attributeId === 31){node.send({payload:{\"brightness\":msg.payload.targetValue}})}\nif (msg.payload.attributeId === 32){node.send({payload:{\"colorTemp\":msg.payload.targetValue}})}\nif ((msg.payload.attributeId === 34)||(msg.payload.attributeId === 35)||(msg.payload.attributeId === 36)){node.send({payload:{rgb:{\"0\":red,\"1\":green,\"2\":blue}}})}",
        "outputs": 1,
        "noerr": 0,
        "x": 260,
        "y": 260,
        "wires": [
            [
                "48b705ba.fb05bc"
            ]
        ]
    },
    {
        "id": "ceb8e67d.203248",
        "type": "ioBroker in",
        "z": "f9b79a00.9de488",
        "name": "Taster Wohnzimmer.ButtonState",
        "topic": "homee.0.TwoButtonRemote-4.ButtonState-45",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "x": 130,
        "y": 20,
        "wires": [
            [
                "e8d052ba.e010c8"
            ]
        ]
    },
    {
        "id": "e8d052ba.e010c8",
        "type": "function",
        "z": "f9b79a00.9de488",
        "name": "Umwandeln des Tastersignal ",
        "func": "//var taster = 45;// hier kommt die Attribut ID des Tasters hin\nif (msg.payload == 0){\nreturn {payload: true}}",
        "outputs": 1,
        "noerr": 0,
        "x": 400,
        "y": 20,
        "wires": [
            [
                "e5bfddc5.f19df"
            ]
        ]
    },
    {
        "id": "e5bfddc5.f19df",
        "type": "ioBroker get",
        "z": "f9b79a00.9de488",
        "name": "Wohnz Ambi 1 L.on",
        "topic": "hue.0.Wohnz_Ambi_1_L.on",
        "attrname": "payload",
        "payloadType": "value",
        "x": 630,
        "y": 20,
        "wires": [
            [
                "157be286.e606f5"
            ]
        ]
    },
    {
        "id": "157be286.e606f5",
        "type": "switch",
        "z": "f9b79a00.9de488",
        "name": "Licht",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "eq",
                "v": "true",
                "vt": "str"
            },
            {
                "t": "else"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 810,
        "y": 20,
        "wires": [
            [
                "c52e2a4.7074758"
            ],
            [
                "38aadbcb.ebd52c"
            ]
        ]
    },
    {
        "id": "c52e2a4.7074758",
        "type": "change",
        "z": "f9b79a00.9de488",
        "name": "false",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "false",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 110,
        "y": 180,
        "wires": [
            [
                "55c6d785.c7df3"
            ]
        ]
    },
    {
        "id": "38aadbcb.ebd52c",
        "type": "change",
        "z": "f9b79a00.9de488",
        "name": "true",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "true",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 110,
        "y": 220,
        "wires": [
            [
                "55c6d785.c7df3"
            ]
        ]
    },
    {
        "id": "55c6d785.c7df3",
        "type": "template",
        "z": "f9b79a00.9de488",
        "name": "ON/OFF",
        "field": "payload",
        "fieldType": "msg",
        "format": "handlebars",
        "syntax": "mustache",
        "template": "{\"on\":{{payload}}}",
        "output": "json",
        "x": 260,
        "y": 200,
        "wires": [
            [
                "48b705ba.fb05bc"
            ]
        ]
    },
    {
        "id": "82b5eab.0245e18",
        "type": "ioBroker in",
        "z": "f9b79a00.9de488",
        "name": "Taster Wohnzimmer.ButtonState",
        "topic": "homee.0.TwoButtonRemote-4.ButtonState-45",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "x": 130,
        "y": 400,
        "wires": [
            [
                "87abbe2c.11312"
            ]
        ]
    },
    {
        "id": "87abbe2c.11312",
        "type": "function",
        "z": "f9b79a00.9de488",
        "name": "Umwandeln des Tastersignal ",
        "func": "//var taster = 45;// hier kommt die Attribut ID des Tasters hin\nif (msg.payload == 0){\nreturn {payload: true}}",
        "outputs": 1,
        "noerr": 0,
        "x": 400,
        "y": 400,
        "wires": [
            [
                "d9a8d9db.9b8e38"
            ]
        ]
    },
    {
        "id": "d9a8d9db.9b8e38",
        "type": "ioBroker get",
        "z": "f9b79a00.9de488",
        "name": "Wohnz Ambi 2 L.on",
        "topic": "hue.0.Wohnz_Ambi_2_L.on",
        "attrname": "payload",
        "payloadType": "value",
        "x": 630,
        "y": 400,
        "wires": [
            [
                "ead1c891.72b238"
            ]
        ]
    },
    {
        "id": "ead1c891.72b238",
        "type": "switch",
        "z": "f9b79a00.9de488",
        "name": "Licht",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "eq",
                "v": "true",
                "vt": "str"
            },
            {
                "t": "else"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 810,
        "y": 400,
        "wires": [
            [
                "23555c2.56ef024"
            ],
            [
                "cdc286b0.f4f8f"
            ]
        ]
    },
    {
        "id": "23555c2.56ef024",
        "type": "change",
        "z": "f9b79a00.9de488",
        "name": "false",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "false",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 110,
        "y": 560,
        "wires": [
            [
                "b092bf63.2117"
            ]
        ]
    },
    {
        "id": "cdc286b0.f4f8f",
        "type": "change",
        "z": "f9b79a00.9de488",
        "name": "true",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "true",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 110,
        "y": 600,
        "wires": [
            [
                "b092bf63.2117"
            ]
        ]
    },
    {
        "id": "b092bf63.2117",
        "type": "template",
        "z": "f9b79a00.9de488",
        "name": "ON/OFF",
        "field": "payload",
        "fieldType": "msg",
        "format": "handlebars",
        "syntax": "mustache",
        "template": "{\"on\":{{payload}}}",
        "output": "json",
        "x": 260,
        "y": 580,
        "wires": [
            [
                "3e3d0127.83c34e"
            ]
        ]
    },
    {
        "id": "1670eda1.b0a7ca",
        "type": "ioBroker in",
        "z": "f9b79a00.9de488",
        "name": "TA Flur rechts",
        "topic": "homee.0.TwoButtonRemote-2.ButtonState-33",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "x": 70,
        "y": 80,
        "wires": [
            [
                "45aaa548.5a09ac"
            ]
        ]
    },
    {
        "id": "45aaa548.5a09ac",
        "type": "function",
        "z": "f9b79a00.9de488",
        "name": "TA unten",
        "func": "if (msg.payload == 1){\nreturn {payload: true}}",
        "outputs": 1,
        "noerr": 0,
        "x": 220,
        "y": 80,
        "wires": [
            [
                "e5bfddc5.f19df"
            ]
        ]
    },
    {
        "id": "5cce2f7e.67de1",
        "type": "ioBroker in",
        "z": "f9b79a00.9de488",
        "name": "TA Flur rechts",
        "topic": "homee.0.TwoButtonRemote-2.ButtonState-33",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "x": 70,
        "y": 460,
        "wires": [
            [
                "b9fefb72.47136"
            ]
        ]
    },
    {
        "id": "b9fefb72.47136",
        "type": "function",
        "z": "f9b79a00.9de488",
        "name": "TA unten",
        "func": "if (msg.payload == 1){\nreturn {payload: true}}",
        "outputs": 1,
        "noerr": 0,
        "x": 220,
        "y": 460,
        "wires": [
            [
                "d9a8d9db.9b8e38"
            ]
        ]
    },
    {
        "id": "c42cfbe5.b177b8",
        "type": "hue-bridge",
        "z": "",
        "name": "Philips hue",
        "bridge": "192.168.0.32",
        "key": "AprsORsvtUZGtwx9vfvZUcNZZWibj18Yd8iqC8aT",
        "interval": "1000",
        "disableupdates": false
    }
]
Viiiieelen Dank an alle hier. Ihr macht das wirklich super! Einem Laien so etwas zu ermöglichen verlangt nach Respekt.
Ich hoffe ich habe mich mit meinem ersten Thread nicht gleich ins Aus geschossen und darf weitere Fragen stellen?
MfG
Martin
Edit: sehe gerade wie lang das geworden ist  . Evtl. hat noch jemand Tipps zum Umgang mit Foren?
. Evtl. hat noch jemand Tipps zum Umgang mit Foren?



