[
    {
        "id": "d57a004150ca1256",
        "type": "tab",
        "label": "Dimmer und NS-Panel",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "3d9a81777a231bb3",
        "type": "mqtt out",
        "z": "d57a004150ca1256",
        "name": "",
        "topic": "",
        "qos": "",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "0ddb07c65cbb68bc",
        "x": 1510,
        "y": 280,
        "wires": []
    },
    {
        "id": "88298a3b070ca734",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "Schalter2",
        "label": "{{Dimmname}}",
        "tooltip": "",
        "group": "b39a769e1a5ab2d0",
        "order": 4,
        "width": 6,
        "height": 1,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "topicType": "str",
        "style": "",
        "onvalue": "on",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "off",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "animate": true,
        "x": 860,
        "y": 280,
        "wires": [
            [
                "098215c2b4e43673",
                "dab7e1938b096cdf",
                "787018dc03a61e04"
            ]
        ]
    },
    {
        "id": "21a37640bb5245ed",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "dimmer0 value/name",
        "links": [
            "ee271eb64628fc0a"
        ],
        "x": 285,
        "y": 200,
        "wires": [
            [
                "d574990631572840"
            ]
        ]
    },
    {
        "id": "d0e4a2bb97b253bb",
        "type": "change",
        "z": "d57a004150ca1256",
        "name": "on=global dimmer",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "on",
                "fromt": "str",
                "to": "\"dimmer0\"",
                "tot": "global"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1050,
        "y": 200,
        "wires": [
            [
                "f8b39cf27759ef6a"
            ]
        ]
    },
    {
        "id": "f8b39cf27759ef6a",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set topic & payload",
        "func": "msg.topic = \"pkw/cmnd/PekawayMOTA/driver15\";\nvar value = parseInt(msg.payload)*40;\n\nmsg.payload = \"pwm,0,\" + value;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1260,
        "y": 200,
        "wires": [
            [
                "3d9a81777a231bb3",
                "f3895f028c57a2cb"
            ]
        ]
    },
    {
        "id": "098215c2b4e43673",
        "type": "change",
        "z": "d57a004150ca1256",
        "name": "on=global dimmer",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "on",
                "fromt": "str",
                "to": "\"dimmer1\"",
                "tot": "global"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1050,
        "y": 280,
        "wires": [
            [
                "8f8e5f707dc2fb27"
            ]
        ]
    },
    {
        "id": "8f8e5f707dc2fb27",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set topic & payload",
        "func": "msg.topic = \"pkw/cmnd/PekawayMOTA/driver15\";\nvar value = parseInt(msg.payload)*40;\n\nmsg.payload = \"pwm,1,\" + value;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1250,
        "y": 280,
        "wires": [
            [
                "3d9a81777a231bb3",
                "f3895f028c57a2cb"
            ]
        ]
    },
    {
        "id": "ca9ae1df76fa6ef0",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "dimmer1 value/name",
        "links": [
            "c6b55fd009e69ef0"
        ],
        "x": 285,
        "y": 280,
        "wires": [
            [
                "2660c7c5b38cdb10"
            ]
        ]
    },
    {
        "id": "279fe0867a0d974c",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "dimmer2 value/name",
        "links": [
            "325d9614f6237827"
        ],
        "x": 285,
        "y": 360,
        "wires": [
            [
                "4bfff94c24051c27"
            ]
        ]
    },
    {
        "id": "a19eef4183480cbb",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "dimmer3 value/name",
        "links": [
            "31f94e298e95c2b4"
        ],
        "x": 285,
        "y": 440,
        "wires": [
            [
                "61e152c5573308ba"
            ]
        ]
    },
    {
        "id": "04442cb358132216",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "dimmer4 value/name",
        "links": [
            "9d8da021cba66085"
        ],
        "x": 285,
        "y": 520,
        "wires": [
            [
                "ab0e838d6c6edcd0"
            ]
        ]
    },
    {
        "id": "7baa7e97deaddfcc",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "dimmer5 value/name",
        "links": [
            "3b589471ad93efe2"
        ],
        "x": 285,
        "y": 600,
        "wires": [
            [
                "3c9a514a134e1a74"
            ]
        ]
    },
    {
        "id": "2128d6f55d3bdc58",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "dimmer6 value/name",
        "links": [
            "6ce111f8c4860e01",
            "59bc7984826f39a5",
            "1f6e570f8238f9f9"
        ],
        "x": 285,
        "y": 680,
        "wires": [
            [
                "a45e82c8a6ad2f16"
            ]
        ]
    },
    {
        "id": "9f82a7d1839c4b57",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "dimmer7 value/name",
        "links": [
            "fa4a585a780c2772"
        ],
        "x": 285,
        "y": 800,
        "wires": [
            [
                "51e7923396d7ce98"
            ]
        ]
    },
    {
        "id": "63dd7904646de1a2",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "Schalter3",
        "label": "{{Dimmname}}",
        "tooltip": "",
        "group": "b39a769e1a5ab2d0",
        "order": 6,
        "width": 6,
        "height": 1,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "topicType": "str",
        "style": "",
        "onvalue": "on",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "off",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "animate": true,
        "x": 860,
        "y": 360,
        "wires": [
            [
                "19736a73a59043c4",
                "dab7e1938b096cdf",
                "2459809bc4a93c67"
            ]
        ]
    },
    {
        "id": "d120520577b1a719",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "Schalter4",
        "label": "{{Dimmname}}",
        "tooltip": "",
        "group": "b39a769e1a5ab2d0",
        "order": 8,
        "width": 6,
        "height": 1,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "topicType": "str",
        "style": "",
        "onvalue": "on",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "off",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "animate": true,
        "x": 860,
        "y": 440,
        "wires": [
            [
                "b295393d0866e777",
                "dab7e1938b096cdf",
                "8e2d0ada13276916"
            ]
        ]
    },
    {
        "id": "9bcfade8a9dde12f",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "Schalter5",
        "label": "{{Dimmname}}",
        "tooltip": "",
        "group": "b39a769e1a5ab2d0",
        "order": 10,
        "width": 6,
        "height": 1,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "topicType": "str",
        "style": "",
        "onvalue": "on",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "off",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "animate": true,
        "x": 860,
        "y": 520,
        "wires": [
            [
                "c99fe85ff89d547b",
                "dab7e1938b096cdf",
                "133ce26a17d45010"
            ]
        ]
    },
    {
        "id": "3f0e8fe3d60cb6fa",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "Schalter6",
        "label": "{{Dimmname}}",
        "tooltip": "",
        "group": "b39a769e1a5ab2d0",
        "order": 12,
        "width": 6,
        "height": 1,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "topicType": "str",
        "style": "",
        "onvalue": "on",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "off",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "animate": true,
        "x": 860,
        "y": 600,
        "wires": [
            [
                "1d3588780a7f505f",
                "dab7e1938b096cdf",
                "579c9c99ed8e1026",
                "c4112063471f0d44"
            ]
        ]
    },
    {
        "id": "726e8a4aba7ddf23",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "Schalter7",
        "label": "{{Dimmname}}",
        "tooltip": "",
        "group": "b39a769e1a5ab2d0",
        "order": 14,
        "width": 6,
        "height": 1,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "topicType": "str",
        "style": "",
        "onvalue": "on",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "off",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "animate": true,
        "x": 860,
        "y": 680,
        "wires": [
            [
                "e59517c35697c9df",
                "dab7e1938b096cdf",
                "045447d75b4645a4"
            ]
        ]
    },
    {
        "id": "51d311b607149e15",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "Schalter8",
        "label": "{{Dimmname}}",
        "tooltip": "",
        "group": "b39a769e1a5ab2d0",
        "order": 16,
        "width": 6,
        "height": 1,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "topicType": "str",
        "style": "",
        "onvalue": "on",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "off",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "animate": true,
        "className": "",
        "x": 840,
        "y": 820,
        "wires": [
            [
                "dab7e1938b096cdf",
                "0ae359ccd9d27a6c",
                "27ad848761ffa55f",
                "b1c0bc16bb1bb80d"
            ]
        ]
    },
    {
        "id": "19736a73a59043c4",
        "type": "change",
        "z": "d57a004150ca1256",
        "name": "on=global dimmer",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "on",
                "fromt": "str",
                "to": "\"dimmer2\"",
                "tot": "global"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1050,
        "y": 360,
        "wires": [
            [
                "195f9fd1eaac882e"
            ]
        ]
    },
    {
        "id": "195f9fd1eaac882e",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set topic & payload",
        "func": "msg.topic = \"pkw/cmnd/PekawayMOTA/driver15\";\nvar value = parseInt(msg.payload)*40;\n\nmsg.payload = \"pwm,2,\" + value;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1250,
        "y": 360,
        "wires": [
            [
                "3d9a81777a231bb3",
                "f3895f028c57a2cb"
            ]
        ]
    },
    {
        "id": "b295393d0866e777",
        "type": "change",
        "z": "d57a004150ca1256",
        "name": "on=global dimmer",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "on",
                "fromt": "str",
                "to": "\"dimmer3\"",
                "tot": "global"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1050,
        "y": 440,
        "wires": [
            [
                "5dad8e000fe80ef0"
            ]
        ]
    },
    {
        "id": "5dad8e000fe80ef0",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set topic & payload",
        "func": "msg.topic = \"pkw/cmnd/PekawayMOTA/driver15\";\nvar value = parseInt(msg.payload)*40;\n\nmsg.payload = \"pwm,3,\" + value;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1250,
        "y": 440,
        "wires": [
            [
                "3d9a81777a231bb3",
                "f3895f028c57a2cb"
            ]
        ]
    },
    {
        "id": "c99fe85ff89d547b",
        "type": "change",
        "z": "d57a004150ca1256",
        "name": "on=global dimmer",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "on",
                "fromt": "str",
                "to": "\"dimmer4\"",
                "tot": "global"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1050,
        "y": 520,
        "wires": [
            [
                "1c67492b869c44e8"
            ]
        ]
    },
    {
        "id": "1c67492b869c44e8",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set topic & payload",
        "func": "msg.topic = \"pkw/cmnd/PekawayMOTA/driver15\";\nvar value = parseInt(msg.payload)*40;\n\nmsg.payload = \"pwm,4,\" + value;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1250,
        "y": 520,
        "wires": [
            [
                "3d9a81777a231bb3",
                "f3895f028c57a2cb"
            ]
        ]
    },
    {
        "id": "1d3588780a7f505f",
        "type": "change",
        "z": "d57a004150ca1256",
        "name": "on=global dimmer",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "on",
                "fromt": "str",
                "to": "\"dimmer5\"",
                "tot": "global"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1050,
        "y": 600,
        "wires": [
            [
                "a2e1062f99b3a7a4"
            ]
        ]
    },
    {
        "id": "a2e1062f99b3a7a4",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set topic & payload",
        "func": "msg.topic = \"pkw/cmnd/PekawayMOTA/driver15\";\nvar value = parseInt(msg.payload)*40;\n\nmsg.payload = \"pwm,5,\" + value;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1250,
        "y": 600,
        "wires": [
            [
                "3d9a81777a231bb3",
                "f3895f028c57a2cb"
            ]
        ]
    },
    {
        "id": "e59517c35697c9df",
        "type": "change",
        "z": "d57a004150ca1256",
        "name": "on=global dimmer",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "on",
                "fromt": "str",
                "to": "\"dimmer6\"",
                "tot": "global"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1050,
        "y": 680,
        "wires": [
            [
                "8492d1e1dab6c572"
            ]
        ]
    },
    {
        "id": "8492d1e1dab6c572",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set topic & payload",
        "func": "msg.topic = \"pkw/cmnd/PekawayMOTA/driver15\";\nvar value = parseInt(msg.payload)*40;\n\nmsg.payload = \"pwm,6,\" + value;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1250,
        "y": 680,
        "wires": [
            [
                "3d9a81777a231bb3",
                "f3895f028c57a2cb"
            ]
        ]
    },
    {
        "id": "788dfb3c0339e05b",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "Schalter1",
        "label": "{{Dimmname}}",
        "tooltip": "",
        "group": "b39a769e1a5ab2d0",
        "order": 2,
        "width": 6,
        "height": 1,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "topicType": "str",
        "style": "",
        "onvalue": "on",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "off",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "animate": true,
        "className": "",
        "x": 860,
        "y": 200,
        "wires": [
            [
                "dab7e1938b096cdf",
                "d0e4a2bb97b253bb",
                "9043023704bd1331"
            ]
        ]
    },
    {
        "id": "d574990631572840",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "",
        "func": "msg.Dimmname = global.get(\"Ndimmer0\");\nvar check = global.get(\"dimmone\");\nmsg.payload = check;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 440,
        "y": 200,
        "wires": [
            [
                "788dfb3c0339e05b",
                "68c05598e257537d"
            ]
        ]
    },
    {
        "id": "dab7e1938b096cdf",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "save relay status",
        "func": "var check2 = flow.get(\"Rupdate\");\n\n\nif (check2 != true)\n{\n\nmsg.payload = { \"dimmone\":global.get(\"dimmone\"),\n\"dimmtwo\":global.get(\"dimmtwo\"),\n\"dimmthree\":global.get(\"dimmthree\"),\n\"dimmfour\":global.get(\"dimmfour\"),\n\"dimmfive\":global.get(\"dimmfive\"),\n\"dimmsix\":global.get(\"dimmsix\"),\n\"dimmseven\":global.get(\"dimmseven\"),\n\"dimmeight\":global.get(\"dimmeight\")\n}\nreturn msg;\n}",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1030,
        "y": 880,
        "wires": [
            [
                "0b18069d4e944ea5",
                "50b305b73faf0484"
            ]
        ]
    },
    {
        "id": "0b18069d4e944ea5",
        "type": "file",
        "z": "d57a004150ca1256",
        "name": "",
        "filename": "pekaway/SwDimmstatusload",
        "filenameType": "str",
        "appendNewline": true,
        "createDir": false,
        "overwriteFile": "true",
        "encoding": "none",
        "x": 1350,
        "y": 880,
        "wires": [
            []
        ]
    },
    {
        "id": "85b8dc45db356a4e",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "globalVariable set Dimmone",
        "func": "\nvar check2 = flow.get(\"Rupdate\");\n \n\nvar check = global.get(\"dimmone\");\n\n\nif(check2 === \"on\")\n{\n    return\n}\nelse\n{\nif (check === \"on\")\n   { \n   check= \"off\"; \n   global.set(\"dimmone\", \"off\");\n       \n   }\n    else\n    {\n    check = \"on\"; \n      global.set(\"dimmone\", \"on\");\n    }\n    \nmsg.payload = check;\nreturn msg;\n}\n\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 660,
        "y": 180,
        "wires": [
            [
                "788dfb3c0339e05b",
                "68c05598e257537d"
            ]
        ]
    },
    {
        "id": "2660c7c5b38cdb10",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "",
        "func": "msg.Dimmname = global.get(\"Ndimmer1\");\nvar check = global.get(\"dimmtwo\");\nmsg.payload = check;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 440,
        "y": 280,
        "wires": [
            [
                "88298a3b070ca734",
                "f340836088e48005"
            ]
        ]
    },
    {
        "id": "4bfff94c24051c27",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "",
        "func": "msg.Dimmname = global.get(\"Ndimmer2\");\nvar check = global.get(\"dimmthree\");\nmsg.payload = check;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 440,
        "y": 360,
        "wires": [
            [
                "63dd7904646de1a2",
                "25b5dd37dee6c538"
            ]
        ]
    },
    {
        "id": "61e152c5573308ba",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "",
        "func": "msg.Dimmname = global.get(\"Ndimmer3\");\nvar check = global.get(\"dimmfour\");\nmsg.payload = check;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 440,
        "y": 440,
        "wires": [
            [
                "d120520577b1a719",
                "3954871fd2163431"
            ]
        ]
    },
    {
        "id": "ab0e838d6c6edcd0",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "",
        "func": "msg.Dimmname = global.get(\"Ndimmer4\");\nvar check = global.get(\"dimmfive\");\nmsg.payload = check;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 440,
        "y": 520,
        "wires": [
            [
                "9bcfade8a9dde12f",
                "f942ee7ce3e13488"
            ]
        ]
    },
    {
        "id": "3c9a514a134e1a74",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "",
        "func": "msg.Dimmname = global.get(\"Ndimmer5\");\nvar check = global.get(\"dimmsix\");\nmsg.payload = check;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 440,
        "y": 600,
        "wires": [
            [
                "3f0e8fe3d60cb6fa",
                "c2441a63719c7ac7"
            ]
        ]
    },
    {
        "id": "a45e82c8a6ad2f16",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "",
        "func": "msg.Dimmname = global.get(\"Ndimmer6\");\nvar check = global.get(\"dimmseven\");\nmsg.payload = check;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 440,
        "y": 700,
        "wires": [
            [
                "726e8a4aba7ddf23",
                "218ed71b70572de9"
            ]
        ]
    },
    {
        "id": "51e7923396d7ce98",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "",
        "func": "msg.Dimmname = global.get(\"Ndimmer7\");\nvar check = global.get(\"seven\");\nmsg.payload = check;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 440,
        "y": 820,
        "wires": [
            [
                "51d311b607149e15"
            ]
        ]
    },
    {
        "id": "efb9c55a01e0f3dc",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "globalVariable set Dimmtwo",
        "func": "\nvar check2 = flow.get(\"Rupdate\");\n \n\nvar check = global.get(\"dimmtwo\");\n\n\nif(check2 === \"on\")\n{\n    return\n}\nelse\n{\nif (check === \"on\")\n   { \n   check= \"off\"; \n   global.set(\"dimmtwo\", \"off\");\n       \n   }\n    else\n    {\n    check = \"on\"; \n      global.set(\"dimmtwo\", \"on\");\n    }\n    \nmsg.payload = check;\nreturn msg;\n}\n\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 660,
        "y": 260,
        "wires": [
            [
                "88298a3b070ca734",
                "f340836088e48005"
            ]
        ]
    },
    {
        "id": "7e3e9c5c43135dfe",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "globalVariable set Dimmothree",
        "func": "\nvar check2 = flow.get(\"Rupdate\");\n \n\nvar check = global.get(\"dimmthree\");\n\n\nif(check2 === \"on\")\n{\n    return\n}\nelse\n{\nif (check === \"on\")\n   { \n   check= \"off\"; \n   global.set(\"dimmthree\", \"off\");\n       \n   }\n    else\n    {\n    check = \"on\"; \n      global.set(\"dimmthree\", \"on\");\n    }\n    \nmsg.payload = check;\nreturn msg;\n}\n\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 660,
        "y": 340,
        "wires": [
            [
                "63dd7904646de1a2",
                "25b5dd37dee6c538"
            ]
        ]
    },
    {
        "id": "96a41a164854e0f0",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "globalVariable set Dimmfour",
        "func": "\nvar check2 = flow.get(\"Rupdate\");\n \n\nvar check = global.get(\"dimmfour\");\n\n\nif(check2 === \"on\")\n{\n    return\n}\nelse\n{\nif (check === \"on\")\n   { \n   check= \"off\"; \n   global.set(\"dimmfour\", \"off\");\n       \n   }\n    else\n    {\n    check = \"on\"; \n      global.set(\"dimmfour\", \"on\");\n    }\n    \nmsg.payload = check;\nreturn msg;\n}\n\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 660,
        "y": 420,
        "wires": [
            [
                "d120520577b1a719",
                "3954871fd2163431"
            ]
        ]
    },
    {
        "id": "a220001caa6a07c5",
        "type": "file in",
        "z": "d57a004150ca1256",
        "name": "",
        "filename": "pekaway/SwDimmstatusload",
        "filenameType": "str",
        "format": "utf8",
        "chunk": false,
        "sendError": false,
        "encoding": "none",
        "allProps": false,
        "x": 190,
        "y": 1360,
        "wires": [
            [
                "98e5e6cc09dd523e"
            ]
        ]
    },
    {
        "id": "9043023704bd1331",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set Global",
        "func": "global.set(\"dimmone\", msg.payload);\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1020,
        "y": 160,
        "wires": [
            []
        ]
    },
    {
        "id": "787018dc03a61e04",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set Global",
        "func": "global.set(\"dimmtwo\", msg.payload);\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1020,
        "y": 240,
        "wires": [
            []
        ]
    },
    {
        "id": "2459809bc4a93c67",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set Global",
        "func": "global.set(\"dimmthree\", msg.payload);\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1020,
        "y": 320,
        "wires": [
            []
        ]
    },
    {
        "id": "8e2d0ada13276916",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set Global",
        "func": "global.set(\"dimmfour\", msg.payload);\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1020,
        "y": 400,
        "wires": [
            []
        ]
    },
    {
        "id": "133ce26a17d45010",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set Global",
        "func": "global.set(\"dimmfive\", msg.payload);\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1020,
        "y": 480,
        "wires": [
            []
        ]
    },
    {
        "id": "579c9c99ed8e1026",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set Global",
        "func": "global.set(\"dimmsix\", msg.payload);\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1030,
        "y": 560,
        "wires": [
            []
        ]
    },
    {
        "id": "045447d75b4645a4",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set Global",
        "func": "global.set(\"dimmseven\", msg.payload);\nreturn msg;",
        "outputs": 1,
        "timeout": "",
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1030,
        "y": 640,
        "wires": [
            []
        ]
    },
    {
        "id": "0ae359ccd9d27a6c",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set Global",
        "func": "global.set(\"dimmeight\", msg.payload);\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1030,
        "y": 780,
        "wires": [
            []
        ]
    },
    {
        "id": "5ce787e47938665f",
        "type": "inject",
        "z": "d57a004150ca1256",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": true,
        "onceDelay": "10",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 110,
        "y": 1320,
        "wires": [
            [
                "a220001caa6a07c5"
            ]
        ]
    },
    {
        "id": "98e5e6cc09dd523e",
        "type": "debug",
        "z": "d57a004150ca1256",
        "name": "",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 70,
        "y": 1400,
        "wires": []
    },
    {
        "id": "1ba01d02ab5d2908",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "pekaway display dimmer",
        "links": [
            "8d2726e6672c69f0"
        ],
        "x": 335,
        "y": 240,
        "wires": [
            [
                "d574990631572840",
                "51e7923396d7ce98",
                "a45e82c8a6ad2f16",
                "3c9a514a134e1a74",
                "ab0e838d6c6edcd0",
                "4bfff94c24051c27",
                "2660c7c5b38cdb10",
                "61e152c5573308ba"
            ]
        ]
    },
    {
        "id": "b0d69023682e769a",
        "type": "mqtt in",
        "z": "d57a004150ca1256",
        "name": "",
        "topic": "pkw/tele/PekawayMOTA/SENSOR",
        "qos": "2",
        "datatype": "auto",
        "broker": "0ddb07c65cbb68bc",
        "nl": false,
        "rap": true,
        "rh": 0,
        "inputs": 0,
        "x": 140,
        "y": 1220,
        "wires": [
            [
                "109117482e77de47",
                "81b153a6f2d372a6"
            ]
        ]
    },
    {
        "id": "0c60cb526e409f3a",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "Switch1",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "Switch2",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "Switch3",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "Switch4",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "Switch5",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "Switch6",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "Switch7",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "Switch8",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 8,
        "x": 190,
        "y": 1080,
        "wires": [
            [
                "00bf5f5bf5fcd914",
                "9bd03c497b16e3c0"
            ],
            [
                "72b3bfeb69bfd335",
                "57cb3e2ed4cf0990"
            ],
            [
                "d933605e790331ee",
                "1257c5f7af76e348"
            ],
            [
                "821f736b6930c08a",
                "82fa64615c8345ad"
            ],
            [
                "755e0729d9466c04",
                "1e1fbcfe4112142a"
            ],
            [
                "560e349482b9a2f5",
                "23406916c0a6f954"
            ],
            [
                "397bf1337e8d1c8b",
                "3471add0257e4e87"
            ],
            [
                "11f36597f3c92c24",
                "081fe4e7dede1b77",
                "f208553f8c505d73"
            ]
        ]
    },
    {
        "id": "109117482e77de47",
        "type": "split",
        "z": "d57a004150ca1256",
        "name": "",
        "splt": ",",
        "spltType": "str",
        "arraySplt": 1,
        "arraySpltType": "len",
        "stream": false,
        "addname": "",
        "x": 90,
        "y": 1180,
        "wires": [
            [
                "0c60cb526e409f3a",
                "0b5c03d3af373524"
            ]
        ]
    },
    {
        "id": "00bf5f5bf5fcd914",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 330,
        "y": 840,
        "wires": [
            [
                "85b8dc45db356a4e"
            ]
        ]
    },
    {
        "id": "5aec1baa32de7f6f",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "globalVariable set Dimmseven",
        "func": "\nvar check2 = flow.get(\"Rupdate\");\n \n\nvar check = global.get(\"dimmseven\");\n\n\nif(check2 === \"on\")\n{\n    return\n}\nelse\n{\nif (check === \"on\")\n   { \n   check= \"off\"; \n   global.set(\"dimmseven\", \"off\");\n       \n   }\n    else\n    {\n    check = \"on\"; \n      global.set(\"dimmseven\", \"on\");\n    }\n    \nmsg.payload = check;\nreturn msg;\n}\n\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 650,
        "y": 660,
        "wires": [
            [
                "726e8a4aba7ddf23",
                "218ed71b70572de9"
            ]
        ]
    },
    {
        "id": "72b3bfeb69bfd335",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 330,
        "y": 860,
        "wires": [
            [
                "efb9c55a01e0f3dc"
            ]
        ]
    },
    {
        "id": "d933605e790331ee",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 330,
        "y": 880,
        "wires": [
            [
                "7e3e9c5c43135dfe"
            ]
        ]
    },
    {
        "id": "821f736b6930c08a",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 330,
        "y": 900,
        "wires": [
            [
                "96a41a164854e0f0"
            ]
        ]
    },
    {
        "id": "755e0729d9466c04",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 330,
        "y": 920,
        "wires": [
            [
                "f703a507aa3fe918"
            ]
        ]
    },
    {
        "id": "560e349482b9a2f5",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 330,
        "y": 940,
        "wires": [
            [
                "6e5da5dafef1e9d4"
            ]
        ]
    },
    {
        "id": "397bf1337e8d1c8b",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "ON",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 330,
        "y": 960,
        "wires": [
            [
                "5aec1baa32de7f6f"
            ]
        ]
    },
    {
        "id": "04bb98259fac9fc5",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "globalVariable set dimmeight",
        "func": "\nvar check2 = flow.get(\"Rupdate\");\n \n\nvar check = global.get(\"seven\");\n\n/*\nif(check2 === \"on\")\n{\n    return\n}\nelse\n{*/\nif (check === true)\n   { \n   check= \"off\"; \n  global.set(\"seven\", false);\n       \n   }\n    else\n    {\n    check = \"on\"; \n  global.set(\"seven\", true);\n    }\n    \nmsg.payload = check;\nreturn msg;\n//}\n\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 640,
        "y": 800,
        "wires": [
            [
                "51d311b607149e15"
            ]
        ]
    },
    {
        "id": "f703a507aa3fe918",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "globalVariable set dimmfive",
        "func": "\nvar check2 = flow.get(\"Rupdate\");\n \n\nvar check = global.get(\"dimmfive\");\n\n\nif(check2 === \"on\")\n{\n    return\n}\nelse\n{\nif (check === \"on\")\n   { \n   check= \"off\"; \n   global.set(\"dimmfive\", \"off\");\n       \n   }\n    else\n    {\n    check = \"on\"; \n      global.set(\"dimmfive\", \"on\");\n    }\n    \nmsg.payload = check;\nreturn msg;\n}\n\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 660,
        "y": 500,
        "wires": [
            [
                "9bcfade8a9dde12f",
                "f942ee7ce3e13488"
            ]
        ]
    },
    {
        "id": "6e5da5dafef1e9d4",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "globalVariable set dimmsix",
        "func": "\nvar check2 = flow.get(\"Rupdate\");\n \n\nvar check = global.get(\"dimmsix\");\n\n\nif(check2 === \"on\")\n{\n    return\n}\nelse\n{\nif (check === \"on\")\n   { \n   check= \"off\"; \n   global.set(\"dimmsix\", \"off\");\n       \n   }\n    else\n    {\n    check = \"on\"; \n      global.set(\"dimmsix\", \"on\");\n    }\n    \nmsg.payload = check;\nreturn msg;\n}\n\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 660,
        "y": 580,
        "wires": [
            [
                "3f0e8fe3d60cb6fa",
                "c2441a63719c7ac7"
            ]
        ]
    },
    {
        "id": "759545f589d78c4e",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "true",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 330,
        "y": 980,
        "wires": [
            [
                "7487aa725ceed724"
            ]
        ]
    },
    {
        "id": "dde4fd7bb23b40b3",
        "type": "comment",
        "z": "d57a004150ca1256",
        "name": "Node \"link in\" \"change tab 1 dimmer names\" Init Flow deaktiviert. Blinkt sonst bei jedm Seitenwechsel prüfen hat sich vermutlich erledigt",
        "info": "",
        "x": 710,
        "y": 100,
        "wires": []
    },
    {
        "id": "81b153a6f2d372a6",
        "type": "debug",
        "z": "d57a004150ca1256",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 170,
        "y": 1260,
        "wires": []
    },
    {
        "id": "0b5c03d3af373524",
        "type": "debug",
        "z": "d57a004150ca1256",
        "name": "",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 210,
        "y": 1180,
        "wires": []
    },
    {
        "id": "badbe1d469bbd89f",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set ON",
        "func": "\n\nvar check = flow.get(\"Rupdate\");\n\n\nif (check === \"ON\")\n   { \n   check= \"OFF\"; \n\n   }\n    else\n    {\n    check === \"ON\"; \n    }\n    msg.payload = \"ON\";\n    return msg;\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 1200,
        "wires": [
            [
                "95a23ed31830e076",
                "d48e1d333aae2203"
            ]
        ]
    },
    {
        "id": "afd5352f2bdad32f",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set OFF",
        "func": "\n\nvar check = flow.get(\"Rupdate\");\n\n\nif (check === \"OFF\")\n   { \n   check= \"ON\"; \n\n   }\n    else\n    {\n    check === \"OFF\"; \n    }\n    msg.payload = \"OFF\";\n    return msg;\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 1220,
        "wires": [
            [
                "95a23ed31830e076",
                "d48e1d333aae2203"
            ]
        ]
    },
    {
        "id": "82fa64615c8345ad",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "ON",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 510,
        "y": 1140,
        "wires": [
            [
                "badbe1d469bbd89f"
            ],
            [
                "afd5352f2bdad32f"
            ]
        ]
    },
    {
        "id": "c6912276a30a8494",
        "type": "link out",
        "z": "d57a004150ca1256",
        "name": "Dimmwert 4",
        "mode": "link",
        "links": [
            "4896e98db77c2f91",
            "58c36389a4b42520"
        ],
        "x": 1395,
        "y": 1220,
        "wires": []
    },
    {
        "id": "1257c5f7af76e348",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "ON",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 510,
        "y": 1100,
        "wires": [
            [
                "0439239b8a7e786a"
            ],
            [
                "baafef40f7e162e0"
            ]
        ]
    },
    {
        "id": "57cb3e2ed4cf0990",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "ON",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 510,
        "y": 1060,
        "wires": [
            [
                "cacc76fc4b0e2986"
            ],
            [
                "a419defe48328ede"
            ]
        ]
    },
    {
        "id": "9bd03c497b16e3c0",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "ON",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 510,
        "y": 1020,
        "wires": [
            [
                "275c1b9ef939bca2"
            ],
            [
                "6890fc9bff42d47e"
            ]
        ]
    },
    {
        "id": "3471add0257e4e87",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "ON",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 510,
        "y": 1260,
        "wires": [
            [
                "bcae13764d6a0a1e"
            ],
            [
                "a3442597a8dea58b"
            ]
        ]
    },
    {
        "id": "23406916c0a6f954",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "ON",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 510,
        "y": 1220,
        "wires": [
            [
                "fba70054e098a21f"
            ],
            [
                "5d970ea177bfa441"
            ]
        ]
    },
    {
        "id": "1e1fbcfe4112142a",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "ON",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 510,
        "y": 1180,
        "wires": [
            [
                "c7111a6bb89d076c"
            ],
            [
                "ded362456d22e68b"
            ]
        ]
    },
    {
        "id": "0439239b8a7e786a",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set ON",
        "func": "\n\nvar check = flow.get(\"Rupdate\");\n\n\nif (check === \"ON\")\n   { \n   check= \"OFF\"; \n\n   }\n    else\n    {\n    check === \"ON\"; \n    }\n    msg.payload = \"ON\";\n    return msg;\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 1140,
        "wires": [
            [
                "a98fa53f3f0c66ef",
                "706112bf0801e090"
            ]
        ]
    },
    {
        "id": "baafef40f7e162e0",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set OFF",
        "func": "\n\nvar check = flow.get(\"Rupdate\");\n\n\nif (check === \"OFF\")\n   { \n   check= \"ON\"; \n\n   }\n    else\n    {\n    check === \"OFF\"; \n    }\n    msg.payload = \"OFF\";\n    return msg;\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 1160,
        "wires": [
            [
                "a98fa53f3f0c66ef",
                "706112bf0801e090"
            ]
        ]
    },
    {
        "id": "cacc76fc4b0e2986",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set ON",
        "func": "\n\nvar check = flow.get(\"Rupdate\");\n\n\nif (check === \"ON\")\n   { \n   check= \"OFF\"; \n\n   }\n    else\n    {\n    check === \"ON\"; \n    }\n    msg.payload = \"ON\";\n    return msg;\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 1080,
        "wires": [
            [
                "33dd55487c9396ce",
                "be6756c469a4f699"
            ]
        ]
    },
    {
        "id": "a419defe48328ede",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set OFF",
        "func": "\n\nvar check = flow.get(\"Rupdate\");\n\n\nif (check === \"OFF\")\n   { \n   check= \"ON\"; \n\n   }\n    else\n    {\n    check === \"OFF\"; \n    }\n    msg.payload = \"OFF\";\n    return msg;\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 1100,
        "wires": [
            [
                "33dd55487c9396ce",
                "be6756c469a4f699"
            ]
        ]
    },
    {
        "id": "275c1b9ef939bca2",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set ON",
        "func": "\n\nvar check = flow.get(\"Rupdate\");\n\n\nif (check === \"ON\")\n   { \n   check= \"OFF\"; \n\n   }\n    else\n    {\n    check === \"ON\"; \n    }\n    msg.payload = \"ON\";\n    return msg;\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 1020,
        "wires": [
            [
                "d1df495522a13c28",
                "7a227927367acd58"
            ]
        ]
    },
    {
        "id": "6890fc9bff42d47e",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set OFF",
        "func": "\n\nvar check = flow.get(\"Rupdate\");\n\n\nif (check === \"OFF\")\n   { \n   check= \"ON\"; \n\n   }\n    else\n    {\n    check === \"OFF\"; \n    }\n    msg.payload = \"OFF\";\n    return msg;\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 1040,
        "wires": [
            [
                "d1df495522a13c28",
                "7a227927367acd58"
            ]
        ]
    },
    {
        "id": "bcae13764d6a0a1e",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set ON",
        "func": "\n\nvar check = flow.get(\"Rupdate\");\n\n\nif (check === \"ON\")\n   { \n   check= \"OFF\"; \n\n   }\n    else\n    {\n    check === \"ON\"; \n    }\n    msg.payload = \"ON\";\n    return msg;\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 1380,
        "wires": [
            [
                "91ee0cab2d4a623b",
                "ac71f5be5523cdda"
            ]
        ]
    },
    {
        "id": "a3442597a8dea58b",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set OFF",
        "func": "\n\nvar check = flow.get(\"Rupdate\");\n\n\nif (check === \"OFF\")\n   { \n   check= \"ON\"; \n\n   }\n    else\n    {\n    check === \"OFF\"; \n    }\n    msg.payload = \"OFF\";\n    return msg;\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 1400,
        "wires": [
            [
                "91ee0cab2d4a623b",
                "ac71f5be5523cdda"
            ]
        ]
    },
    {
        "id": "fba70054e098a21f",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set ON",
        "func": "\n\nvar check = flow.get(\"Rupdate\");\n\n\nif (check === \"ON\")\n   { \n   check= \"OFF\"; \n\n   }\n    else\n    {\n    check === \"ON\"; \n    }\n    msg.payload = \"ON\";\n    return msg;\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 1320,
        "wires": [
            [
                "1dbb41465536bf23",
                "023b92592f612d56"
            ]
        ]
    },
    {
        "id": "5d970ea177bfa441",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set OFF",
        "func": "\n\nvar check = flow.get(\"Rupdate\");\n\n\nif (check === \"OFF\")\n   { \n   check= \"ON\"; \n\n   }\n    else\n    {\n    check === \"OFF\"; \n    }\n    msg.payload = \"OFF\";\n    return msg;\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 1340,
        "wires": [
            [
                "1dbb41465536bf23",
                "023b92592f612d56"
            ]
        ]
    },
    {
        "id": "c7111a6bb89d076c",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set ON",
        "func": "\n\nvar check = flow.get(\"Rupdate\");\n\n\nif (check === \"ON\")\n   { \n   check= \"OFF\"; \n\n   }\n    else\n    {\n    check === \"ON\"; \n    }\n    msg.payload = \"ON\";\n    return msg;\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 1260,
        "wires": [
            [
                "ceca74a99136b8bf",
                "ee2281a89895b9b9"
            ]
        ]
    },
    {
        "id": "ded362456d22e68b",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set OFF",
        "func": "\n\nvar check = flow.get(\"Rupdate\");\n\n\nif (check === \"OFF\")\n   { \n   check= \"ON\"; \n\n   }\n    else\n    {\n    check === \"OFF\"; \n    }\n    msg.payload = \"OFF\";\n    return msg;\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 1280,
        "wires": [
            [
                "ceca74a99136b8bf",
                "ee2281a89895b9b9"
            ]
        ]
    },
    {
        "id": "0c74cb6940eab82c",
        "type": "link out",
        "z": "d57a004150ca1256",
        "name": "Dimmwert 1",
        "mode": "link",
        "links": [
            "a4c0fd66546e7864",
            "a89305dfadcb88fd"
        ],
        "x": 1395,
        "y": 1040,
        "wires": []
    },
    {
        "id": "0b93da73f887866f",
        "type": "link out",
        "z": "d57a004150ca1256",
        "name": "Dimmwert 2",
        "mode": "link",
        "links": [
            "1db51e9f7fe5ebea",
            "d612a24656ba46a5"
        ],
        "x": 1395,
        "y": 1100,
        "wires": []
    },
    {
        "id": "6f1df022fd61603a",
        "type": "link out",
        "z": "d57a004150ca1256",
        "name": "Dimmwert 3",
        "mode": "link",
        "links": [
            "09bf8b5862924eed",
            "014e9748229e5f0e"
        ],
        "x": 1395,
        "y": 1160,
        "wires": []
    },
    {
        "id": "6d86a0811edde768",
        "type": "link out",
        "z": "d57a004150ca1256",
        "name": "Dimmwert 7",
        "mode": "link",
        "links": [
            "d4e73c36b453526a",
            "5199c88a06232e45"
        ],
        "x": 1395,
        "y": 1400,
        "wires": []
    },
    {
        "id": "013331aa7737c66c",
        "type": "link out",
        "z": "d57a004150ca1256",
        "name": "Dimmwert 5",
        "mode": "link",
        "links": [
            "77683cc8a2a2dd71",
            "fa086633b025d2f8"
        ],
        "x": 1395,
        "y": 1280,
        "wires": []
    },
    {
        "id": "1023caf1d1868fb6",
        "type": "link out",
        "z": "d57a004150ca1256",
        "name": "Dimmwert 6",
        "mode": "link",
        "links": [
            "2530d817d07d6ef2",
            "49a329b46a50b0db"
        ],
        "x": 1395,
        "y": 1340,
        "wires": []
    },
    {
        "id": "50b305b73faf0484",
        "type": "debug",
        "z": "d57a004150ca1256",
        "name": "",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 1410,
        "y": 920,
        "wires": []
    },
    {
        "id": "f3895f028c57a2cb",
        "type": "debug",
        "z": "d57a004150ca1256",
        "name": "",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 1570,
        "y": 360,
        "wires": []
    },
    {
        "id": "255576c32c9e71d5",
        "type": "comment",
        "z": "d57a004150ca1256",
        "name": "node-red-contrib-time-based-dimmer 0.8.2",
        "info": "",
        "x": 1220,
        "y": 1000,
        "wires": []
    },
    {
        "id": "f643f2f5e9accc71",
        "type": "comment",
        "z": "d57a004150ca1256",
        "name": "node-red-contrib-time-based-dimmer 0.8.2 installieren",
        "info": "",
        "x": 760,
        "y": 40,
        "wires": []
    },
    {
        "id": "21ce4ce6fab62cc8",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Schalter Dimm1",
        "links": [
            "82cca8f674dc9aec",
            "cd82c2eddfce3352",
            "ebbbf8c67fc8a459"
        ],
        "x": 155,
        "y": 840,
        "wires": [
            [
                "00bf5f5bf5fcd914"
            ]
        ]
    },
    {
        "id": "f9fa34dbdc093639",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Schalter Dimm2",
        "links": [
            "26fd39bc665c038f",
            "ffb96ed18d63672b",
            "ca3313a753dfb76e"
        ],
        "x": 155,
        "y": 860,
        "wires": [
            [
                "72b3bfeb69bfd335"
            ]
        ]
    },
    {
        "id": "9079c75e92a9f45e",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Schalter Dimm3",
        "links": [
            "f7d9e906a8f2437e",
            "6d69564540e4e4b5",
            "1b80d81a008b08b7"
        ],
        "x": 155,
        "y": 880,
        "wires": [
            [
                "d933605e790331ee"
            ]
        ]
    },
    {
        "id": "a99f6f7a568c12a7",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Schalter Dimm4",
        "links": [
            "68ca82d60414e78e",
            "4d34960b66d92a3c",
            "e25163eb509a911f"
        ],
        "x": 155,
        "y": 900,
        "wires": [
            [
                "821f736b6930c08a"
            ]
        ]
    },
    {
        "id": "69be46a44a9fc718",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Schalter Dimm5",
        "links": [
            "a7f0799e8062116b",
            "f8339283d23e29f7",
            "c924da094987a6ec"
        ],
        "x": 155,
        "y": 920,
        "wires": [
            [
                "755e0729d9466c04"
            ]
        ]
    },
    {
        "id": "5ef77c48798d8b82",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Schalter Dimm6",
        "links": [
            "1e98b597a4596aef",
            "f779eb1858f1b363",
            "013415034e7c7f8b"
        ],
        "x": 155,
        "y": 940,
        "wires": [
            [
                "560e349482b9a2f5"
            ]
        ]
    },
    {
        "id": "821abd86ded8c19f",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Schalter Dimm7",
        "links": [
            "92910a51b0434993",
            "328248e619b7ae56",
            "e37b82247b5cc2cf"
        ],
        "x": 155,
        "y": 960,
        "wires": [
            [
                "397bf1337e8d1c8b"
            ]
        ]
    },
    {
        "id": "2ae74a7185aac6f5",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Schalter Dimm8",
        "links": [
            "e9c6e0260918b764",
            "5cab520695835d50",
            "8827920e143a3128",
            "629ecb740dddf4be"
        ],
        "x": 155,
        "y": 980,
        "wires": [
            [
                "759545f589d78c4e"
            ]
        ]
    },
    {
        "id": "66862ef28a23956f",
        "type": "comment",
        "z": "d57a004150ca1256",
        "name": "von Telegram",
        "info": "",
        "x": 130,
        "y": 820,
        "wires": []
    },
    {
        "id": "11f36597f3c92c24",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "ON",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 510,
        "y": 1300,
        "wires": [
            [
                "f636f9495477881e"
            ],
            [
                "047a994772ee9f26"
            ]
        ]
    },
    {
        "id": "f636f9495477881e",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set ON",
        "func": "\n\nvar check = flow.get(\"Rupdate\");\n\n\nif (check === \"ON\")\n   { \n   check= \"OFF\"; \n\n   }\n    else\n    {\n    check === \"ON\"; \n    }\n    msg.payload = \"ON\";\n    return msg;\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 1440,
        "wires": [
            [
                "701e3dd02009089c"
            ]
        ]
    },
    {
        "id": "047a994772ee9f26",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set OFF",
        "func": "\n\nvar check = flow.get(\"Rupdate\");\n\n\nif (check === \"OFF\")\n   { \n   check= \"ON\"; \n\n   }\n    else\n    {\n    check === \"OFF\"; \n    }\n    msg.payload = \"OFF\";\n    return msg;\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 1480,
        "wires": [
            [
                "701e3dd02009089c"
            ]
        ]
    },
    {
        "id": "7a227927367acd58",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "LED",
        "label": "1",
        "tooltip": "",
        "group": "fbfd5aec5fbf99ad",
        "order": 1,
        "width": 1,
        "height": 1,
        "passthru": false,
        "decouple": "true",
        "topic": "topic",
        "topicType": "msg",
        "style": "",
        "onvalue": "OFF",
        "onvalueType": "str",
        "onicon": "fa-fire fa-2x",
        "oncolor": "Red",
        "offvalue": "ON",
        "offvalueType": "str",
        "officon": "fa-fire fa-2x",
        "offcolor": "Grey",
        "animate": true,
        "x": 970,
        "y": 1060,
        "wires": [
            []
        ]
    },
    {
        "id": "be6756c469a4f699",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "LED",
        "label": "2",
        "tooltip": "",
        "group": "fbfd5aec5fbf99ad",
        "order": 1,
        "width": 1,
        "height": 1,
        "passthru": false,
        "decouple": "true",
        "topic": "topic",
        "topicType": "msg",
        "style": "",
        "onvalue": "OFF",
        "onvalueType": "str",
        "onicon": "fa-fire fa-2x",
        "oncolor": "Red",
        "offvalue": "ON",
        "offvalueType": "str",
        "officon": "fa-fire fa-2x",
        "offcolor": "Grey",
        "animate": true,
        "x": 970,
        "y": 1100,
        "wires": [
            []
        ]
    },
    {
        "id": "706112bf0801e090",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "LED",
        "label": "2",
        "tooltip": "",
        "group": "fbfd5aec5fbf99ad",
        "order": 1,
        "width": 1,
        "height": 1,
        "passthru": false,
        "decouple": "true",
        "topic": "topic",
        "topicType": "msg",
        "style": "",
        "onvalue": "OFF",
        "onvalueType": "str",
        "onicon": "fa-fire fa-2x",
        "oncolor": "Red",
        "offvalue": "ON",
        "offvalueType": "str",
        "officon": "fa-fire fa-2x",
        "offcolor": "Grey",
        "animate": true,
        "x": 970,
        "y": 1140,
        "wires": [
            []
        ]
    },
    {
        "id": "d48e1d333aae2203",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "LED",
        "label": "1",
        "tooltip": "",
        "group": "fbfd5aec5fbf99ad",
        "order": 1,
        "width": 1,
        "height": 1,
        "passthru": false,
        "decouple": "true",
        "topic": "topic",
        "topicType": "msg",
        "style": "",
        "onvalue": "OFF",
        "onvalueType": "str",
        "onicon": "fa-fire fa-2x",
        "oncolor": "Red",
        "offvalue": "ON",
        "offvalueType": "str",
        "officon": "fa-fire fa-2x",
        "offcolor": "Grey",
        "animate": true,
        "x": 970,
        "y": 1220,
        "wires": [
            []
        ]
    },
    {
        "id": "ee2281a89895b9b9",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "LED",
        "label": "2",
        "tooltip": "",
        "group": "fbfd5aec5fbf99ad",
        "order": 1,
        "width": 1,
        "height": 1,
        "passthru": false,
        "decouple": "true",
        "topic": "topic",
        "topicType": "msg",
        "style": "",
        "onvalue": "OFF",
        "onvalueType": "str",
        "onicon": "fa-fire fa-2x",
        "oncolor": "Red",
        "offvalue": "ON",
        "offvalueType": "str",
        "officon": "fa-fire fa-2x",
        "offcolor": "Grey",
        "animate": true,
        "x": 970,
        "y": 1260,
        "wires": [
            []
        ]
    },
    {
        "id": "023b92592f612d56",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "LED",
        "label": "2",
        "tooltip": "",
        "group": "fbfd5aec5fbf99ad",
        "order": 1,
        "width": 1,
        "height": 1,
        "passthru": false,
        "decouple": "true",
        "topic": "topic",
        "topicType": "msg",
        "style": "",
        "onvalue": "OFF",
        "onvalueType": "str",
        "onicon": "fa-fire fa-2x",
        "oncolor": "Red",
        "offvalue": "ON",
        "offvalueType": "str",
        "officon": "fa-fire fa-2x",
        "offcolor": "Grey",
        "animate": true,
        "x": 970,
        "y": 1300,
        "wires": [
            []
        ]
    },
    {
        "id": "ac71f5be5523cdda",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "LED",
        "label": "2",
        "tooltip": "",
        "group": "fbfd5aec5fbf99ad",
        "order": 1,
        "width": 1,
        "height": 1,
        "passthru": false,
        "decouple": "true",
        "topic": "topic",
        "topicType": "msg",
        "style": "",
        "onvalue": "ON",
        "onvalueType": "str",
        "onicon": "fa-fire fa-2x",
        "oncolor": "Red",
        "offvalue": "OFF",
        "offvalueType": "str",
        "officon": "fa-fire fa-2x",
        "offcolor": "Grey",
        "animate": true,
        "className": "",
        "x": 970,
        "y": 1380,
        "wires": [
            []
        ]
    },
    {
        "id": "701e3dd02009089c",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "LED",
        "label": "2",
        "tooltip": "",
        "group": "fbfd5aec5fbf99ad",
        "order": 1,
        "width": 1,
        "height": 1,
        "passthru": false,
        "decouple": "true",
        "topic": "topic",
        "topicType": "msg",
        "style": "",
        "onvalue": "ON",
        "onvalueType": "str",
        "onicon": "fa-fire fa-2x",
        "oncolor": "Red",
        "offvalue": "OFF",
        "offvalueType": "str",
        "officon": "fa-fire fa-2x",
        "offcolor": "Grey",
        "animate": true,
        "x": 970,
        "y": 1440,
        "wires": [
            []
        ]
    },
    {
        "id": "b3601905b7aa576e",
        "type": "mqtt in",
        "z": "d57a004150ca1256",
        "name": "",
        "topic": "tele/WifiTouch/SENSOR",
        "qos": "2",
        "datatype": "auto",
        "broker": "0ddb07c65cbb68bc",
        "nl": false,
        "rap": true,
        "rh": 0,
        "inputs": 0,
        "x": 120,
        "y": 1740,
        "wires": [
            [
                "392083864a2a3cb1",
                "3e7e282835e8cd87"
            ]
        ]
    },
    {
        "id": "5f79dd12977862e4",
        "type": "debug",
        "z": "d57a004150ca1256",
        "name": "NS_Relay1",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": true,
        "complete": "true",
        "targetType": "full",
        "statusVal": "payload",
        "statusType": "auto",
        "x": 1350,
        "y": 1740,
        "wires": []
    },
    {
        "id": "3be95d368495f41b",
        "type": "debug",
        "z": "d57a004150ca1256",
        "name": "NS_Relay2",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": true,
        "complete": "true",
        "targetType": "full",
        "statusVal": "payload",
        "statusType": "auto",
        "x": 1350,
        "y": 1880,
        "wires": []
    },
    {
        "id": "7cd8029c4cf76128",
        "type": "comment",
        "z": "d57a004150ca1256",
        "name": "NS_Panel Sonoff/Tasmota",
        "info": "",
        "x": 670,
        "y": 1640,
        "wires": []
    },
    {
        "id": "6bfe27dd6373c3a8",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 630,
        "y": 1740,
        "wires": [
            [
                "03059b461df096a4"
            ]
        ]
    },
    {
        "id": "03059b461df096a4",
        "type": "change",
        "z": "d57a004150ca1256",
        "name": "convert string to boolean",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "ON",
                "fromt": "str",
                "to": "true",
                "tot": "bool"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "OFF",
                "fromt": "str",
                "to": "false",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 830,
        "y": 1740,
        "wires": [
            [
                "ad7e3e9e068bd88f"
            ]
        ]
    },
    {
        "id": "ad7e3e9e068bd88f",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "globalVariable get one",
        "func": "\n \n\nvar check = global.get(\"NS_one\");\n\n\n\n\nif (check === true)\n   { \n   check= false; \n\n   }\n    else\n    {\n    check = true; \n    }\n    \n    \n  msg.payload = check;  \nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1080,
        "y": 1740,
        "wires": [
            [
                "590a8b71dc666eb7"
            ]
        ]
    },
    {
        "id": "590a8b71dc666eb7",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "NS_Relay 1",
        "label": "{{relayname}}",
        "tooltip": "",
        "group": "164b4ee22a42dc7f",
        "order": 1,
        "width": 0,
        "height": 0,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "topicType": "str",
        "style": "",
        "onvalue": "true",
        "onvalueType": "bool",
        "onicon": "",
        "oncolor": "",
        "offvalue": "false",
        "offvalueType": "bool",
        "officon": "",
        "offcolor": "",
        "animate": true,
        "x": 670,
        "y": 1780,
        "wires": [
            [
                "4ccddb6218d05740",
                "cb132fe65bea0118"
            ]
        ]
    },
    {
        "id": "4ccddb6218d05740",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "globalVariable set",
        "func": "var check2 = flow.get(\"update\");\nif(check2 === true)\n{\n    return null\n}\nelse {\n    if (msg.payload == false) { \n        global.set(\"NS_one\", false);\n    }\n    else if (msg.payload == true) {\n        global.set(\"NS_one\", true);\n    }\n    return msg;\n}",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 890,
        "y": 1780,
        "wires": [
            []
        ]
    },
    {
        "id": "cb132fe65bea0118",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set topic & payload",
        "func": "msg.topic = \"cmnd/WifiTouch/POWER2\";\n\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1110,
        "y": 1780,
        "wires": [
            [
                "5f79dd12977862e4",
                "df7c3a2eeada360d"
            ]
        ]
    },
    {
        "id": "df7c3a2eeada360d",
        "type": "mqtt out",
        "z": "d57a004150ca1256",
        "name": "",
        "topic": "",
        "qos": "",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "0ddb07c65cbb68bc",
        "x": 1330,
        "y": 1800,
        "wires": []
    },
    {
        "id": "e1a6b921f7b32d87",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 630,
        "y": 1840,
        "wires": [
            [
                "8e021c2bc7c04064"
            ]
        ]
    },
    {
        "id": "8e021c2bc7c04064",
        "type": "change",
        "z": "d57a004150ca1256",
        "name": "convert string to boolean",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "ON",
                "fromt": "str",
                "to": "true",
                "tot": "bool"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "OFF",
                "fromt": "str",
                "to": "false",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 830,
        "y": 1840,
        "wires": [
            [
                "e8e5407b34fa1fb0"
            ]
        ]
    },
    {
        "id": "e8e5407b34fa1fb0",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "globalVariable get one",
        "func": "\n \n\nvar check = global.get(\"NS_two\");\n\n\n\n\nif (check === true)\n   { \n   check= false; \n\n   }\n    else\n    {\n    check = true; \n    }\n    \n    \n  msg.payload = check;  \nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1080,
        "y": 1840,
        "wires": [
            [
                "fa2bf695bf784554"
            ]
        ]
    },
    {
        "id": "fa2bf695bf784554",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "NS_Relay 2",
        "label": "{{relayname}}",
        "tooltip": "",
        "group": "164b4ee22a42dc7f",
        "order": 2,
        "width": 0,
        "height": 0,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "topicType": "str",
        "style": "",
        "onvalue": "true",
        "onvalueType": "bool",
        "onicon": "",
        "oncolor": "",
        "offvalue": "false",
        "offvalueType": "bool",
        "officon": "",
        "offcolor": "",
        "animate": true,
        "x": 670,
        "y": 1880,
        "wires": [
            [
                "ae0b1004ccf4917f",
                "920cdaec584615f9"
            ]
        ]
    },
    {
        "id": "ae0b1004ccf4917f",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "globalVariable set",
        "func": "var check2 = flow.get(\"update\");\nif(check2 === true)\n{\n    return null\n}\nelse {\n    if (msg.payload == false) { \n        global.set(\"NS_two\", false);\n    }\n    else if (msg.payload == true) {\n        global.set(\"NS_two\", true);\n    }\n    return msg;\n}",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 890,
        "y": 1880,
        "wires": [
            []
        ]
    },
    {
        "id": "920cdaec584615f9",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set topic & payload",
        "func": "msg.topic = \"cmnd/WifiTouch/POWER1\";\n\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1110,
        "y": 1880,
        "wires": [
            [
                "df7c3a2eeada360d",
                "3be95d368495f41b"
            ]
        ]
    },
    {
        "id": "c04be9e7caf4a38a",
        "type": "inject",
        "z": "d57a004150ca1256",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "120",
        "crontab": "",
        "once": true,
        "onceDelay": "30",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 250,
        "y": 2080,
        "wires": [
            [
                "1c7fac421bdc8b2c"
            ]
        ]
    },
    {
        "id": "28cda473c8abb1aa",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set update true",
        "func": "flow.set(\"update\",true);\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 540,
        "y": 2020,
        "wires": [
            [
                "d05479381513725e"
            ]
        ]
    },
    {
        "id": "1c7fac421bdc8b2c",
        "type": "delay",
        "z": "d57a004150ca1256",
        "name": "",
        "pauseType": "delay",
        "timeout": "7",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "allowrate": false,
        "outputs": 1,
        "x": 540,
        "y": 2080,
        "wires": [
            [
                "28cda473c8abb1aa",
                "d57cbe0d67cd3b9e",
                "3948d3300a54e89f"
            ]
        ]
    },
    {
        "id": "b028c22d675964e6",
        "type": "ui_ui_control",
        "z": "d57a004150ca1256",
        "name": "",
        "events": "change",
        "x": 180,
        "y": 2120,
        "wires": [
            [
                "53b734400a9ed27d"
            ]
        ]
    },
    {
        "id": "53b734400a9ed27d",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "check tab",
        "func": "if (msg.payload == \"change\" && msg.name == \"Relays\" && msg.tab == 1) {\n    return msg;\n}",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 340,
        "y": 2120,
        "wires": [
            [
                "216895f3be53686a"
            ]
        ]
    },
    {
        "id": "216895f3be53686a",
        "type": "delay",
        "z": "d57a004150ca1256",
        "name": "",
        "pauseType": "delay",
        "timeout": "200",
        "timeoutUnits": "milliseconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "allowrate": false,
        "outputs": 1,
        "x": 520,
        "y": 2120,
        "wires": [
            [
                "28cda473c8abb1aa",
                "3948d3300a54e89f",
                "d57cbe0d67cd3b9e"
            ]
        ]
    },
    {
        "id": "8dc756776ae5d0a7",
        "type": "ui_button",
        "z": "d57a004150ca1256",
        "name": "",
        "group": "164b4ee22a42dc7f",
        "order": 4,
        "width": 0,
        "height": 0,
        "passthru": false,
        "label": "sync",
        "tooltip": "check status again and resync it. ",
        "color": "",
        "bgcolor": "",
        "icon": "",
        "payload": "",
        "payloadType": "str",
        "topic": "topic",
        "topicType": "msg",
        "x": 250,
        "y": 2040,
        "wires": [
            [
                "28cda473c8abb1aa",
                "1c7fac421bdc8b2c"
            ]
        ]
    },
    {
        "id": "d05479381513725e",
        "type": "delay",
        "z": "d57a004150ca1256",
        "name": "",
        "pauseType": "delay",
        "timeout": "3",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "outputs": 1,
        "x": 800,
        "y": 2040,
        "wires": [
            [
                "997b919204b67170"
            ]
        ]
    },
    {
        "id": "997b919204b67170",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set update false",
        "func": "flow.set(\"update\",false);\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1040,
        "y": 2040,
        "wires": [
            []
        ]
    },
    {
        "id": "d57cbe0d67cd3b9e",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "get NS_ Relay_name",
        "func": "msg.relayname = global.get(\"N_NS_one\")\nvar check = global.get(\"N_NS_one\");\nmsg.payload = check;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 2080,
        "wires": [
            [
                "5433314617eb5911"
            ]
        ]
    },
    {
        "id": "3948d3300a54e89f",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "get NS_ Relay_name",
        "func": "msg.relayname = global.get(\"N_NS_two\")\nvar check = global.get(\"N_NS_two\");\nmsg.payload = check;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 2120,
        "wires": [
            [
                "841fb4032b86b7da"
            ]
        ]
    },
    {
        "id": "5433314617eb5911",
        "type": "delay",
        "z": "d57a004150ca1256",
        "name": "",
        "pauseType": "delay",
        "timeout": "50",
        "timeoutUnits": "milliseconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "outputs": 1,
        "x": 1040,
        "y": 2080,
        "wires": [
            [
                "590a8b71dc666eb7"
            ]
        ]
    },
    {
        "id": "841fb4032b86b7da",
        "type": "delay",
        "z": "d57a004150ca1256",
        "name": "",
        "pauseType": "delay",
        "timeout": "100",
        "timeoutUnits": "milliseconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "outputs": 1,
        "x": 1050,
        "y": 2120,
        "wires": [
            [
                "fa2bf695bf784554"
            ]
        ]
    },
    {
        "id": "976fb03e870cc9a3",
        "type": "ui_text_input",
        "z": "d57a004150ca1256",
        "name": "",
        "label": "NS_Relay 1",
        "tooltip": "",
        "group": "1fe5e5f318828d02",
        "order": 1,
        "width": 0,
        "height": 0,
        "passthru": true,
        "mode": "text",
        "delay": 300,
        "topic": "",
        "topicType": "str",
        "x": 230,
        "y": 2220,
        "wires": [
            [
                "19aadbf4db924438",
                "e5eeea639f6b20d0"
            ]
        ]
    },
    {
        "id": "53420d74c71b44d3",
        "type": "ui_text_input",
        "z": "d57a004150ca1256",
        "name": "",
        "label": "NS_Relay 2",
        "tooltip": "",
        "group": "1fe5e5f318828d02",
        "order": 2,
        "width": 0,
        "height": 0,
        "passthru": true,
        "mode": "text",
        "delay": 300,
        "topic": "",
        "topicType": "str",
        "x": 230,
        "y": 2280,
        "wires": [
            [
                "1d505f96a2bc5255",
                "a57ac88867aa7ef3"
            ]
        ]
    },
    {
        "id": "1d505f96a2bc5255",
        "type": "file",
        "z": "d57a004150ca1256",
        "name": "",
        "filename": "pekaway/NS_relay_name2",
        "filenameType": "str",
        "appendNewline": false,
        "createDir": true,
        "overwriteFile": "true",
        "encoding": "none",
        "x": 500,
        "y": 2280,
        "wires": [
            []
        ]
    },
    {
        "id": "19aadbf4db924438",
        "type": "file",
        "z": "d57a004150ca1256",
        "name": "",
        "filename": "pekaway/NS_relay_name1",
        "filenameType": "str",
        "appendNewline": false,
        "createDir": true,
        "overwriteFile": "true",
        "encoding": "none",
        "x": 500,
        "y": 2220,
        "wires": [
            []
        ]
    },
    {
        "id": "e5eeea639f6b20d0",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "",
        "func": "global.set(\"N_NS_one\", msg.payload);\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 720,
        "y": 2220,
        "wires": [
            []
        ]
    },
    {
        "id": "a57ac88867aa7ef3",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "",
        "func": "global.set(\"N_NS_two\", msg.payload);\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 720,
        "y": 2280,
        "wires": [
            []
        ]
    },
    {
        "id": "55f484162f92c217",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "",
        "func": "var str = msg.payload;\nglobal.set(\"N_NS_one\", str);\n\n\n \n\n ",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1220,
        "y": 2220,
        "wires": [
            []
        ]
    },
    {
        "id": "b118b83a5401d5ca",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "",
        "func": "var str = msg.payload;\nglobal.set(\"NLilyGotwo\", str);\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1220,
        "y": 2280,
        "wires": [
            []
        ]
    },
    {
        "id": "9f2b984ed6dc42a6",
        "type": "file in",
        "z": "d57a004150ca1256",
        "name": "",
        "filename": "pekaway/NS_relay_name1",
        "filenameType": "str",
        "format": "utf8",
        "chunk": false,
        "sendError": false,
        "encoding": "none",
        "allProps": false,
        "x": 1000,
        "y": 2220,
        "wires": [
            [
                "55f484162f92c217",
                "976fb03e870cc9a3"
            ]
        ]
    },
    {
        "id": "69336c51bf52bc11",
        "type": "file in",
        "z": "d57a004150ca1256",
        "name": "",
        "filename": "pekaway/NS_relay_name2",
        "filenameType": "str",
        "format": "utf8",
        "chunk": false,
        "sendError": false,
        "encoding": "none",
        "allProps": false,
        "x": 1000,
        "y": 2280,
        "wires": [
            [
                "b118b83a5401d5ca",
                "53420d74c71b44d3"
            ]
        ]
    },
    {
        "id": "611b6af18d5226f9",
        "type": "inject",
        "z": "d57a004150ca1256",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": true,
        "onceDelay": "2",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 190,
        "y": 2340,
        "wires": [
            [
                "b071db84391f235a"
            ]
        ]
    },
    {
        "id": "b071db84391f235a",
        "type": "delay",
        "z": "d57a004150ca1256",
        "name": "",
        "pauseType": "delay",
        "timeout": "200",
        "timeoutUnits": "milliseconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "allowrate": false,
        "outputs": 1,
        "x": 400,
        "y": 2340,
        "wires": [
            [
                "9f2b984ed6dc42a6",
                "69336c51bf52bc11"
            ]
        ]
    },
    {
        "id": "ed037274eae83306",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set Temp ",
        "func": "msg.payload=msg.payload.ANALOG.Temperature1;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 480,
        "y": 1680,
        "wires": [
            [
                "819d8ac7860dc8a0"
            ]
        ]
    },
    {
        "id": "819d8ac7860dc8a0",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set global temp1",
        "func": "global.set(\"temp5\",msg.payload);\nreturn msg",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 690,
        "y": 1680,
        "wires": [
            [
                "807caab1f1034b29",
                "5b3f63f729035738",
                "03f911fe4ffa060a"
            ]
        ]
    },
    {
        "id": "807caab1f1034b29",
        "type": "ui_text",
        "z": "d57a004150ca1256",
        "group": "b8db3199.f0dbe",
        "order": 9,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Temperatur NS_Panel",
        "format": "{{msg.payload}} °C",
        "layout": "row-spread",
        "x": 940,
        "y": 1640,
        "wires": []
    },
    {
        "id": "5b3f63f729035738",
        "type": "ui_text",
        "z": "d57a004150ca1256",
        "group": "164b4ee22a42dc7f",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Temperatur NS_Panel",
        "format": "{{msg.payload}} °C",
        "layout": "row-spread",
        "x": 940,
        "y": 1680,
        "wires": []
    },
    {
        "id": "974d04efb5bf859f",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set Switch1",
        "func": "msg.payload = msg.payload.Switch1;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 470,
        "y": 1740,
        "wires": [
            [
                "6bfe27dd6373c3a8"
            ]
        ]
    },
    {
        "id": "8f2ec939788c118f",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "set Switch2",
        "func": "msg.payload = msg.payload.Switch2;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 490,
        "y": 1840,
        "wires": [
            [
                "e1a6b921f7b32d87"
            ]
        ]
    },
    {
        "id": "03f911fe4ffa060a",
        "type": "debug",
        "z": "d57a004150ca1256",
        "name": "NS_Temp",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": true,
        "complete": "true",
        "targetType": "full",
        "statusVal": "payload",
        "statusType": "auto",
        "x": 1340,
        "y": 1680,
        "wires": []
    },
    {
        "id": "392083864a2a3cb1",
        "type": "debug",
        "z": "d57a004150ca1256",
        "name": "debug 68",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": true,
        "complete": "true",
        "targetType": "full",
        "statusVal": "payload",
        "statusType": "auto",
        "x": 320,
        "y": 1600,
        "wires": []
    },
    {
        "id": "3e7e282835e8cd87",
        "type": "json",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "action": "",
        "pretty": false,
        "x": 310,
        "y": 1740,
        "wires": [
            [
                "974d04efb5bf859f",
                "8f2ec939788c118f",
                "ed037274eae83306"
            ]
        ]
    },
    {
        "id": "519bc680f9ae262e",
        "type": "link out",
        "z": "d57a004150ca1256",
        "name": "Taster 8 Dimmy Bad Licht",
        "mode": "link",
        "links": [
            "38796905.f4b7f6"
        ],
        "x": 1255,
        "y": 820,
        "wires": []
    },
    {
        "id": "d2454a094572da13",
        "type": "comment",
        "z": "d57a004150ca1256",
        "name": "Taster Eingang für Relay 7",
        "info": "",
        "x": 590,
        "y": 760,
        "wires": []
    },
    {
        "id": "b1c0bc16bb1bb80d",
        "type": "link out",
        "z": "d57a004150ca1256",
        "name": "Taster 8 Dimmy Bad Venti",
        "mode": "link",
        "links": [
            "c4dbe3c81c77e385",
            "19ea2560e0e19368"
        ],
        "x": 965,
        "y": 980,
        "wires": []
    },
    {
        "id": "27ad848761ffa55f",
        "type": "change",
        "z": "d57a004150ca1256",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "on",
                "fromt": "str",
                "to": "true",
                "tot": "bool"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "off",
                "fromt": "str",
                "to": "false",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1050,
        "y": 820,
        "wires": [
            [
                "519bc680f9ae262e"
            ]
        ]
    },
    {
        "id": "3a05b330f4a31f88",
        "type": "link out",
        "z": "d57a004150ca1256",
        "name": "Taster 6 Dimmy Licht Boden-W-LED",
        "mode": "link",
        "links": [
            "121272ae6aace593"
        ],
        "x": 1645,
        "y": 560,
        "wires": []
    },
    {
        "id": "c4112063471f0d44",
        "type": "change",
        "z": "d57a004150ca1256",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "on",
                "fromt": "str",
                "to": "true",
                "tot": "bool"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "off",
                "fromt": "str",
                "to": "false",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1510,
        "y": 560,
        "wires": [
            [
                "3a05b330f4a31f88"
            ]
        ]
    },
    {
        "id": "68c05598e257537d",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "Schalter1",
        "label": "",
        "tooltip": "",
        "group": "a070f60c9fef860d",
        "order": 2,
        "width": 1,
        "height": 1,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "topicType": "str",
        "style": "",
        "onvalue": "on",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "off",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "animate": true,
        "className": "",
        "x": 860,
        "y": 160,
        "wires": [
            [
                "9043023704bd1331",
                "d0e4a2bb97b253bb",
                "dab7e1938b096cdf"
            ]
        ]
    },
    {
        "id": "f340836088e48005",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "Schalter2",
        "label": "",
        "tooltip": "",
        "group": "a070f60c9fef860d",
        "order": 4,
        "width": 1,
        "height": 1,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "topicType": "str",
        "style": "",
        "onvalue": "on",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "off",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "animate": true,
        "className": "",
        "x": 860,
        "y": 240,
        "wires": [
            [
                "787018dc03a61e04",
                "098215c2b4e43673",
                "dab7e1938b096cdf"
            ]
        ]
    },
    {
        "id": "25b5dd37dee6c538",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "Schalter3",
        "label": "",
        "tooltip": "",
        "group": "a070f60c9fef860d",
        "order": 6,
        "width": 1,
        "height": 1,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "topicType": "str",
        "style": "",
        "onvalue": "on",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "off",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "animate": true,
        "className": "",
        "x": 860,
        "y": 320,
        "wires": [
            [
                "2459809bc4a93c67",
                "19736a73a59043c4",
                "dab7e1938b096cdf"
            ]
        ]
    },
    {
        "id": "3954871fd2163431",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "Schalter4",
        "label": "",
        "tooltip": "",
        "group": "a070f60c9fef860d",
        "order": 8,
        "width": 1,
        "height": 1,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "topicType": "str",
        "style": "",
        "onvalue": "on",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "off",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "animate": true,
        "className": "",
        "x": 860,
        "y": 400,
        "wires": [
            [
                "8e2d0ada13276916",
                "b295393d0866e777",
                "dab7e1938b096cdf"
            ]
        ]
    },
    {
        "id": "f942ee7ce3e13488",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "Schalter5",
        "label": "",
        "tooltip": "",
        "group": "a070f60c9fef860d",
        "order": 10,
        "width": 1,
        "height": 1,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "topicType": "str",
        "style": "",
        "onvalue": "on",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "off",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "animate": true,
        "className": "",
        "x": 860,
        "y": 480,
        "wires": [
            [
                "133ce26a17d45010",
                "c99fe85ff89d547b",
                "dab7e1938b096cdf"
            ]
        ]
    },
    {
        "id": "c2441a63719c7ac7",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "Schalter6",
        "label": "",
        "tooltip": "",
        "group": "a070f60c9fef860d",
        "order": 12,
        "width": 1,
        "height": 1,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "topicType": "str",
        "style": "",
        "onvalue": "on",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "off",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "animate": true,
        "className": "",
        "x": 860,
        "y": 560,
        "wires": [
            [
                "579c9c99ed8e1026",
                "1d3588780a7f505f",
                "dab7e1938b096cdf",
                "c4112063471f0d44"
            ]
        ]
    },
    {
        "id": "218ed71b70572de9",
        "type": "ui_switch",
        "z": "d57a004150ca1256",
        "name": "Schalter7",
        "label": "",
        "tooltip": "",
        "group": "a070f60c9fef860d",
        "order": 14,
        "width": 1,
        "height": 1,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "topicType": "str",
        "style": "",
        "onvalue": "on",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "off",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "animate": true,
        "className": "",
        "x": 860,
        "y": 640,
        "wires": [
            [
                "045447d75b4645a4",
                "e59517c35697c9df",
                "dab7e1938b096cdf"
            ]
        ]
    },
    {
        "id": "58b970529f8de027",
        "type": "comment",
        "z": "d57a004150ca1256",
        "name": "UI Controll",
        "info": "",
        "x": 440,
        "y": 140,
        "wires": []
    },
    {
        "id": "7487aa725ceed724",
        "type": "change",
        "z": "d57a004150ca1256",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "true",
                "fromt": "bool",
                "to": "on",
                "tot": "str"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "ON",
                "fromt": "str",
                "to": "on",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 550,
        "y": 980,
        "wires": [
            [
                "a3e2907112277fa7",
                "04bb98259fac9fc5"
            ]
        ]
    },
    {
        "id": "a3e2907112277fa7",
        "type": "debug",
        "z": "d57a004150ca1256",
        "name": "debug 223",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": true,
        "complete": "true",
        "targetType": "full",
        "statusVal": "payload",
        "statusType": "auto",
        "x": 770,
        "y": 980,
        "wires": []
    },
    {
        "id": "5bbf4dbd51cde00b",
        "type": "comment",
        "z": "d57a004150ca1256",
        "name": "geändert auf Relay 7",
        "info": "",
        "x": 810,
        "y": 760,
        "wires": []
    },
    {
        "id": "081fe4e7dede1b77",
        "type": "debug",
        "z": "d57a004150ca1256",
        "name": "debug 225",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": true,
        "complete": "true",
        "targetType": "full",
        "statusVal": "payload",
        "statusType": "auto",
        "x": 470,
        "y": 1340,
        "wires": []
    },
    {
        "id": "f208553f8c505d73",
        "type": "switch",
        "z": "d57a004150ca1256",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "ON",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 330,
        "y": 1000,
        "wires": [
            [
                "7487aa725ceed724"
            ]
        ]
    },
    {
        "id": "3533df10bed05b72",
        "type": "function",
        "z": "d57a004150ca1256",
        "name": "check seven",
        "func": "var check = global.get(\"seven\");\nif (check == true){\n    msg.payload = \"on\"\n}\nif (check == false) {\n    msg.payload = \"off\"\n}\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 670,
        "y": 840,
        "wires": [
            [
                "51d311b607149e15"
            ]
        ]
    },
    {
        "id": "f6a54b24484e4ebf",
        "type": "inject",
        "z": "d57a004150ca1256",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "5",
        "crontab": "",
        "once": true,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 670,
        "y": 880,
        "wires": [
            [
                "3533df10bed05b72"
            ]
        ]
    },
    {
        "id": "c2a29985d750486a",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer1 ON (IN)",
        "links": [
            "41200fb0e026c8ba",
            "22b33b3d0b83313c",
            "75642670c5425a0b",
            "b7dcebf1bb683a0f",
            "c619ea449da6a72c",
            "87c167491b0bda34",
            "d5e299133deabcd9",
            "fd77e28ebc551e26",
            "57ec190daa21a745",
            "463d142ec3c393a6",
            "b6d6a71fa202ccb8",
            "a17fda6ff5e60c8a"
        ],
        "x": 685,
        "y": 1020,
        "wires": [
            [
                "275c1b9ef939bca2"
            ]
        ]
    },
    {
        "id": "331b1b8a3c97505e",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer1 OFF (IN)",
        "links": [
            "0971bb2ce411666a",
            "9c80bef07d039b38",
            "30abec4d11ae34ae",
            "a3318a679befd708",
            "291f4dc8f692f9ad",
            "5d8b806a11b4365b",
            "9e3982a3ec9c7660",
            "4cc542187f3ac02d",
            "9a27934b161e9d00",
            "94a76c511ac50a2f",
            "34d9c919a5242aff",
            "a80e2e0640ea4bc1"
        ],
        "x": 685,
        "y": 1040,
        "wires": [
            [
                "6890fc9bff42d47e"
            ]
        ]
    },
    {
        "id": "bd352c7d73fd8056",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer2 ON (IN)",
        "links": [
            "7af9228833eb455d",
            "5c4c4088fc2b5696",
            "0e0c61d95b05b0bb",
            "ce626c31d3d2527d",
            "077e2fd3a59d5deb",
            "a2a918a3a3e87d9c",
            "ca5ed1cf5bddd2f6",
            "d9edcbe6320f51f2",
            "8012943baced3471",
            "4eb806fc0bfa24bd",
            "66e8bf82b0a1fb0b",
            "6b568160fc18ed0d"
        ],
        "x": 685,
        "y": 1080,
        "wires": [
            [
                "cacc76fc4b0e2986"
            ]
        ]
    },
    {
        "id": "df0577f7ef687c3c",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer2 OFF (IN)",
        "links": [
            "41825c6cfea7175c",
            "d79b6314fc333b45",
            "9dd75c76a8636092",
            "594be92897b19722",
            "1694e692180a9617",
            "87c19314d7a894f0",
            "bed78380c675d69a",
            "4da95b453d542d4c",
            "fe8eccee293aca52",
            "dd5ab33f89eb5aa6",
            "4a72249266b133e6",
            "e1a0ac23c853774e"
        ],
        "x": 685,
        "y": 1100,
        "wires": [
            [
                "a419defe48328ede"
            ]
        ]
    },
    {
        "id": "599ef69f6a8974e3",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer3 ON (IN)",
        "links": [
            "84aae2e896772cc6",
            "639c0857871b81fb",
            "bd4df413218da2cc",
            "0516a7c53c2c9399",
            "85588153620d63cc",
            "22d42e1491ba9674",
            "43f83c7f1fef512b",
            "f89f34a562f8df68",
            "61b37d74cff4d066",
            "3ac4bc936cf27d01",
            "e9d17415158f48c5",
            "0cf8598da34f0dd5"
        ],
        "x": 685,
        "y": 1140,
        "wires": [
            [
                "0439239b8a7e786a"
            ]
        ]
    },
    {
        "id": "4072939ef73e2ee3",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer3 OFF (IN)",
        "links": [
            "0a4fb4092df67eb4",
            "79b508a6b9fa10a9",
            "09eeb203e32d331f",
            "0cc7fa9ec5197bd8",
            "4e48b0143caa0f6f",
            "06ddb076272edc23",
            "b1afd6e5fcc82504",
            "9eb30af325fed792",
            "dc0610ea807c9fce",
            "177d0beaa5a9a666",
            "cd6a48d11fef4729",
            "e70d235e4758b513"
        ],
        "x": 685,
        "y": 1160,
        "wires": [
            [
                "baafef40f7e162e0"
            ]
        ]
    },
    {
        "id": "2f5d555b2446cd0b",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer4 ON (IN)",
        "links": [
            "e0b656449a21b93b",
            "8e302534ba6bb50e",
            "76176a27eed31606",
            "f9e620a32990d180",
            "49e1d11f853495b8",
            "dd4adeaae77cf825",
            "cd763fdb3283fe10",
            "634452866831acf4",
            "4799454ae9e0ee9e",
            "1ea54338dc6a42f7",
            "bd31e17e819bfc44",
            "452892ad8ab5a05f"
        ],
        "x": 685,
        "y": 1180,
        "wires": [
            [
                "badbe1d469bbd89f"
            ]
        ]
    },
    {
        "id": "faa2028df69ee364",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer4 OFF (IN)",
        "links": [
            "b779284033f36230",
            "bf6309666094df06",
            "a63a0e8d32ba49c1",
            "75ae44e9803c23ad",
            "b4cc5a5c739738db",
            "dc9452a204d3ae18",
            "67193a35d9a67306",
            "c18feaa8897b8380",
            "200878e6640972aa",
            "492ec3e765f6b3c5",
            "750e8a0a67776554",
            "92b81905298b429e"
        ],
        "x": 685,
        "y": 1200,
        "wires": [
            [
                "afd5352f2bdad32f"
            ]
        ]
    },
    {
        "id": "0845fe8ae07cff85",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer5 ON (IN)",
        "links": [
            "ba86772c0140a993",
            "01a023230e5a22b6",
            "17c21a6aaeb40d89",
            "90def33e5fe8c63d",
            "a39fe3f95d3ffef1",
            "bf5d5d3fb888bf8a",
            "6af93a270cfecd22",
            "8221dd7d91790aaf",
            "420fba9ae4105ebc",
            "c526296100b30cf3",
            "3e5aab8da56ce270",
            "8f0c6fc64da1d7aa"
        ],
        "x": 685,
        "y": 1240,
        "wires": [
            [
                "c7111a6bb89d076c"
            ]
        ]
    },
    {
        "id": "bf10a16434ce0bc1",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer5 OFF (IN)",
        "links": [
            "93aefa91e313cf10",
            "368f220d5371f96c",
            "896cf75e77e478c7",
            "0ed20f3e417339eb",
            "336c5bed680359a1",
            "d3ce9c5c5a7d9d20",
            "60bd373dabf099f7",
            "8879de55e19c5665",
            "d5c595bc35e20ee3",
            "633ae7bcec4e755c",
            "fa22bc529cf148cc",
            "8a315ae6c8da3c90"
        ],
        "x": 685,
        "y": 1260,
        "wires": [
            [
                "ded362456d22e68b"
            ]
        ]
    },
    {
        "id": "10ce5ec47062ac3a",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer6 ON (IN)",
        "links": [
            "544c49cb735406a0",
            "53e7dc28307efed0",
            "40e24704a145d98e",
            "a7f740fcc64e9f24",
            "bff462541cb11b7b",
            "a59085dcf8f35db8",
            "a27feae220c20c35",
            "34c3dc56efb40346",
            "680e76ff6c0f41a6",
            "f73db375351af909",
            "f61d3701088d5fa9",
            "e866444a32c15a5b"
        ],
        "x": 685,
        "y": 1300,
        "wires": [
            [
                "fba70054e098a21f"
            ]
        ]
    },
    {
        "id": "3b3b1d624154d622",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer6 OFF (IN)",
        "links": [
            "7817c62cee418f4a",
            "f92adb69c4cdc1e4",
            "0a37d013547374a5",
            "8efb866f57fa6349",
            "b73f49caa1ac3a0f",
            "0496ea71fe71c81f",
            "248dc7b7cc399d6a",
            "ef721f123a0cb89f",
            "6ab9707a51cf395b",
            "cd051792dad59468",
            "590fee13f08e2747",
            "e0ad8105547f47f7"
        ],
        "x": 685,
        "y": 1340,
        "wires": [
            [
                "5d970ea177bfa441"
            ]
        ]
    },
    {
        "id": "2cfc7d509b8f9893",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer7 ON (IN)",
        "links": [
            "cb7765f0567bcf4d",
            "6e2afe48c7af09aa",
            "5842907c55a57939",
            "f0a18262d0f3ffcb",
            "d3e3a1f7e6130f9d",
            "b08d3bfc3c1f1d5c",
            "8aa1936c8587470a",
            "db0b1e6d4bcac6fa",
            "e13aab04fb6874f9",
            "31c724ea48eb2996",
            "a8c254e4613d3528",
            "ce8c30f5d72c1821"
        ],
        "x": 435,
        "y": 1400,
        "wires": [
            [
                "eef5fce7bdcc686d"
            ]
        ]
    },
    {
        "id": "5cb6468b4879e488",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer7 OFF (IN)",
        "links": [
            "d6bafd0f034b0c4e",
            "71674ec34b6e50c0",
            "537aee90d4126305",
            "0c514dcf4f028ed9",
            "b2d4db0cf50934d0",
            "a011ea9e6dcc3cfc",
            "8721f5b99ecfa487",
            "0eb724ab7fe2cd66",
            "53f3dda3ee361dd2",
            "8931e9346b448de1",
            "49744e909cc8547f",
            "909a576465fa1124"
        ],
        "x": 435,
        "y": 1440,
        "wires": [
            [
                "353955144e602887"
            ]
        ]
    },
    {
        "id": "39c1529f93fc90b0",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer 1 Schalter In",
        "links": [
            "fdd1b9b8909f7c63",
            "ed6ffaf12e2f35e8",
            "4bf08abe042d2280",
            "cfe7c9679e4933f9",
            "4d04091eb45b2edc",
            "04d3e601b169d248",
            "b6c0cf6e4bb5b3ca",
            "b7645d9ae0e73c2f",
            "732e5c86da1c3122",
            "ea4cbe11bfccc56c",
            "1c38d36e6716dbd1",
            "467784fe0cec4414"
        ],
        "x": 435,
        "y": 180,
        "wires": [
            [
                "85b8dc45db356a4e"
            ]
        ]
    },
    {
        "id": "52626da6b223cb75",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer 2 Schalter In",
        "links": [
            "e9b5b5fe9f4cd3cc",
            "713de9638b497b8e",
            "50a7424a487f91cf",
            "3a1d164f7f777dbe",
            "17599c6793903bf1",
            "a49811c8a9c31a97",
            "4a35f0fce6579178",
            "fd5292b593904553",
            "883076a07649b716",
            "4330b1a8e4be5b7f",
            "cb38103af1e642dc",
            "21cf0439184e2e29"
        ],
        "x": 425,
        "y": 260,
        "wires": [
            [
                "efb9c55a01e0f3dc"
            ]
        ]
    },
    {
        "id": "4805357877aa4786",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer 3 Schalter In",
        "links": [
            "f0a5b03a4472a38d",
            "878f733471bc6c12",
            "a365392b8c173797",
            "094a57c2c00575c8",
            "53d9d5b9627f4a3a",
            "3dab5d1d18c83733",
            "e61824a79a75a33d",
            "896b3d20428d1f44",
            "9a36114dbc0b35f3",
            "1182891cc96acc85",
            "5bceaf642a28b137",
            "b6ba444546fa485c"
        ],
        "x": 425,
        "y": 340,
        "wires": [
            [
                "7e3e9c5c43135dfe"
            ]
        ]
    },
    {
        "id": "65ccac48228b17ec",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer 4 Schalter In",
        "links": [
            "ba82631d4864b92e",
            "2635de8ae661fc0b",
            "f62b58cb12ec5e94",
            "e6aa4d739ab47614",
            "fa01d7ea4837183f",
            "c21b56cd32d0798d",
            "f6ec8fd837e8a683",
            "389b4f4f74ea43ac",
            "48bf671440c0fc3c",
            "0f1de47298414821",
            "abfea106702e35ed",
            "33c3bf070892b0df"
        ],
        "x": 425,
        "y": 420,
        "wires": [
            [
                "96a41a164854e0f0"
            ]
        ]
    },
    {
        "id": "c93b293f6e2ce36e",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer 5 Schalter In",
        "links": [
            "5b9ab010dcdfe660",
            "c79de836f37f9333",
            "1985dec761b863aa",
            "a11cf43bef5590a4",
            "85e8fcd665438575",
            "683e5c67f0821b14",
            "a1b44e55d5fe698d",
            "aa7fbc8c959be1db",
            "68b49303cd2bcdae",
            "2c1c9cc887bf2177",
            "0c554fb3079a3c58",
            "b6208e1c72692e76"
        ],
        "x": 425,
        "y": 500,
        "wires": [
            [
                "f703a507aa3fe918"
            ]
        ]
    },
    {
        "id": "136c399c1b5dff69",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer 6 Schalter In",
        "links": [
            "ec833d894221d129",
            "5cbdd320d129dcf5",
            "4001aa768070d569",
            "98a08bb81a52d6d8",
            "b47503e16a5274fa",
            "12795c2f7b62dbad",
            "c3aa3a824fb54031",
            "024ded8320b34ebf",
            "3ce4f1ac6f9f7e0b",
            "1aa488e447743e57",
            "3fd37953ce3273bd",
            "f01e10871b4dec77"
        ],
        "x": 425,
        "y": 580,
        "wires": [
            [
                "6e5da5dafef1e9d4"
            ]
        ]
    },
    {
        "id": "fc2dcb260e77a4f5",
        "type": "link in",
        "z": "d57a004150ca1256",
        "name": "Dimmer 7 Schalter In",
        "links": [
            "fc4e1340bec4b811",
            "1511faedb6d6c42a",
            "b3ab17346a8fcf79",
            "aa17a6ada56ee668",
            "345c03a267b6b15f",
            "d8c1ff2d3b445383",
            "33fa68765276843f",
            "576b8bf4acaf9b5e",
            "3fc510244e8dbece",
            "8956a2c43d58c30f",
            "a2ad49b35173c02d",
            "7e58f49734105141"
        ],
        "x": 415,
        "y": 660,
        "wires": [
            [
                "5aec1baa32de7f6f"
            ]
        ]
    },
    {
        "id": "eef5fce7bdcc686d",
        "type": "change",
        "z": "d57a004150ca1256",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "ON",
                "fromt": "str",
                "to": "OFF",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 580,
        "y": 1400,
        "wires": [
            [
                "a3442597a8dea58b"
            ]
        ]
    },
    {
        "id": "353955144e602887",
        "type": "change",
        "z": "d57a004150ca1256",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "OFF",
                "fromt": "str",
                "to": "ON",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 580,
        "y": 1440,
        "wires": [
            [
                "bcae13764d6a0a1e"
            ]
        ]
    },
    {
        "id": "95a23ed31830e076",
        "type": "one-button-dimmer",
        "z": "d57a004150ca1256",
        "name": "Fern Dimmer 4",
        "interval": "350",
        "step": "2",
        "minValue": 0,
        "maxValue": 100,
        "startCommand": "OFF",
        "stopCommand": "ON",
        "x": 1140,
        "y": 1220,
        "wires": [
            [
                "c6912276a30a8494"
            ]
        ]
    },
    {
        "id": "d1df495522a13c28",
        "type": "one-button-dimmer",
        "z": "d57a004150ca1256",
        "name": "Fern Dimmer 1",
        "interval": "350",
        "step": "2",
        "minValue": 0,
        "maxValue": 100,
        "startCommand": "OFF",
        "stopCommand": "ON",
        "x": 1140,
        "y": 1040,
        "wires": [
            [
                "0c74cb6940eab82c"
            ]
        ]
    },
    {
        "id": "33dd55487c9396ce",
        "type": "one-button-dimmer",
        "z": "d57a004150ca1256",
        "name": "Fern Dimmer 2",
        "interval": "350",
        "step": "2",
        "minValue": 0,
        "maxValue": 100,
        "startCommand": "OFF",
        "stopCommand": "ON",
        "x": 1140,
        "y": 1100,
        "wires": [
            [
                "0b93da73f887866f"
            ]
        ]
    },
    {
        "id": "a98fa53f3f0c66ef",
        "type": "one-button-dimmer",
        "z": "d57a004150ca1256",
        "name": "Fern Dimmer 3",
        "interval": "350",
        "step": "2",
        "minValue": 0,
        "maxValue": 100,
        "startCommand": "OFF",
        "stopCommand": "ON",
        "x": 1140,
        "y": 1160,
        "wires": [
            [
                "6f1df022fd61603a"
            ]
        ]
    },
    {
        "id": "91ee0cab2d4a623b",
        "type": "one-button-dimmer",
        "z": "d57a004150ca1256",
        "name": "Fern Dimmer 7",
        "interval": "350",
        "step": "2",
        "minValue": 0,
        "maxValue": 100,
        "startCommand": "ON",
        "stopCommand": "OFF",
        "x": 1140,
        "y": 1400,
        "wires": [
            [
                "6d86a0811edde768"
            ]
        ]
    },
    {
        "id": "ceca74a99136b8bf",
        "type": "one-button-dimmer",
        "z": "d57a004150ca1256",
        "name": "Fern Dimmer 5",
        "interval": "350",
        "step": "2",
        "minValue": 0,
        "maxValue": 100,
        "startCommand": "OFF",
        "stopCommand": "ON",
        "x": 1140,
        "y": 1280,
        "wires": [
            [
                "013331aa7737c66c"
            ]
        ]
    },
    {
        "id": "1dbb41465536bf23",
        "type": "one-button-dimmer",
        "z": "d57a004150ca1256",
        "name": "Fern Dimmer 6",
        "interval": "350",
        "step": "2",
        "minValue": 0,
        "maxValue": 100,
        "startCommand": "OFF",
        "stopCommand": "ON",
        "x": 1140,
        "y": 1340,
        "wires": [
            [
                "1023caf1d1868fb6"
            ]
        ]
    },
    {
        "id": "0ddb07c65cbb68bc",
        "type": "mqtt-broker",
        "name": "",
        "broker": "http://localhost",
        "port": "1883",
        "clientid": "",
        "autoConnect": true,
        "usetls": false,
        "protocolVersion": "4",
        "keepalive": "60",
        "cleansession": true,
        "birthTopic": "",
        "birthQos": "0",
        "birthPayload": "",
        "birthMsg": {},
        "closeTopic": "",
        "closeQos": "0",
        "closePayload": "",
        "closeMsg": {},
        "willTopic": "",
        "willQos": "0",
        "willPayload": "",
        "willMsg": {},
        "sessionExpiry": ""
    },
    {
        "id": "b39a769e1a5ab2d0",
        "type": "ui_group",
        "name": "Dimmer",
        "tab": "2fa37e0c8559eb92",
        "order": 4,
        "disp": true,
        "width": "6",
        "collapse": true,
        "className": ""
    },
    {
        "id": "fbfd5aec5fbf99ad",
        "type": "ui_group",
        "name": "Dimmi",
        "tab": "5e3497dcff0fbb52",
        "order": 2,
        "disp": true,
        "width": "6",
        "collapse": false
    },
    {
        "id": "164b4ee22a42dc7f",
        "type": "ui_group",
        "name": "NS_Panel",
        "tab": "2fa37e0c8559eb92",
        "order": 6,
        "disp": true,
        "width": "6",
        "collapse": false
    },
    {
        "id": "1fe5e5f318828d02",
        "type": "ui_group",
        "name": "NS_Panel",
        "tab": "7c63811621faab2f",
        "order": 5,
        "disp": true,
        "width": "6",
        "collapse": false
    },
    {
        "id": "b8db3199.f0dbe",
        "type": "ui_group",
        "name": "Temperature",
        "tab": "deee53a800de461d",
        "order": 4,
        "disp": true,
        "width": "6",
        "collapse": true,
        "className": ""
    },
    {
        "id": "a070f60c9fef860d",
        "type": "ui_group",
        "name": "Schalter",
        "tab": "bda0f26f78fd7676",
        "order": 2,
        "disp": true,
        "width": "6",
        "collapse": true,
        "className": ""
    },
    {
        "id": "2fa37e0c8559eb92",
        "type": "ui_tab",
        "name": "Switches",
        "icon": "mi-toggle_on",
        "order": 3,
        "disabled": false,
        "hidden": false
    },
    {
        "id": "5e3497dcff0fbb52",
        "type": "ui_tab",
        "name": "Digitale Eingänge",
        "icon": "fa-repeat ",
        "order": 34,
        "disabled": false,
        "hidden": false
    },
    {
        "id": "7c63811621faab2f",
        "type": "ui_tab",
        "name": "Meine Konfig",
        "icon": "fa-spinner",
        "order": 29,
        "disabled": false,
        "hidden": false
    },
    {
        "id": "deee53a800de461d",
        "type": "ui_tab",
        "name": "Info",
        "icon": "mi-info",
        "order": 2,
        "disabled": false,
        "hidden": false
    },
    {
        "id": "bda0f26f78fd7676",
        "type": "ui_tab",
        "name": "Benutzer Meneu",
        "icon": "fa-home fa-3x",
        "order": 1,
        "disabled": false,
        "hidden": false
    }
]