[
    {
        "id": "9cb4408dec3cec45",
        "type": "victron-input-temperature",
        "z": "7bb4b982f37a1f91",
        "service": "com.victronenergy.temperature/24",
        "path": "/Temperature",
        "serviceObj": {
            "service": "com.victronenergy.temperature/24",
            "name": "Akumulacka vrch"
        },
        "pathObj": {
            "path": "/Temperature",
            "type": "float",
            "name": "Temperature (°C)"
        },
        "name": "temperature",
        "onlyChanges": false,
        "roundValues": "1",
        "x": 110,
        "y": 640,
        "wires": [
            [
                "72b8afdb0c028826"
            ]
        ]
    },
    {
        "id": "72b8afdb0c028826",
        "type": "join",
        "z": "7bb4b982f37a1f91",
        "name": "",
        "mode": "custom",
        "build": "object",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "3",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 330,
        "y": 580,
        "wires": [
            [
                "49e114075aa090ce"
            ]
        ]
    },
    {
        "id": "c3454808368cce43",
        "type": "inject",
        "z": "7bb4b982f37a1f91",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "1",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "bat",
        "payload": "1589",
        "payloadType": "num",
        "x": 100,
        "y": 700,
        "wires": [
            [
                "72b8afdb0c028826"
            ]
        ]
    },
    {
        "id": "fa54042223c20b04",
        "type": "function",
        "z": "7bb4b982f37a1f91",
        "name": "function 49",
        "func": "// Change Node nastavenie\nmsg.topic = \"spirala1\";\nflow.set(\"spirala1\", msg.payload);\nreturn msg;",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 750,
        "y": 180,
        "wires": [
            []
        ]
    },
    {
        "id": "19284b37d45800ac",
        "type": "function",
        "z": "7bb4b982f37a1f91",
        "name": "function 50",
        "func": "// Change Node nastavenie\nmsg.topic = \"spirala2\";\nflow.set(\"spirala2\", msg.payload);\nreturn msg;",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 750,
        "y": 240,
        "wires": [
            []
        ]
    },
    {
        "id": "6c7632b238f16b32",
        "type": "function",
        "z": "7bb4b982f37a1f91",
        "name": "function 51",
        "func": "// Change Node nastavenie\nmsg.topic = \"spirala3\";\nflow.set(\"spirala3\", msg.payload);\nreturn msg;",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 750,
        "y": 300,
        "wires": [
            []
        ]
    },
    {
        "id": "36186e634336a10e",
        "type": "debug",
        "z": "7bb4b982f37a1f91",
        "name": "debug 34",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 1100,
        "y": 340,
        "wires": []
    },
    {
        "id": "0a8a2ea5ea6928e6",
        "type": "debug",
        "z": "7bb4b982f37a1f91",
        "name": "debug 35",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 1100,
        "y": 440,
        "wires": []
    },
    {
        "id": "7274ed0f303db499",
        "type": "victron-input-battery",
        "z": "7bb4b982f37a1f91",
        "service": "com.victronenergy.battery/277",
        "path": "/Relay/0/State",
        "serviceObj": {
            "service": "com.victronenergy.battery/277",
            "name": "Baterka"
        },
        "pathObj": {
            "path": "/Relay/0/State",
            "type": "enum",
            "name": "Relay status",
            "enum": {
                "0": "Open",
                "1": "Closed"
            }
        },
        "initial": "",
        "name": "spirala1",
        "onlyChanges": false,
        "x": 550,
        "y": 180,
        "wires": [
            [
                "fa54042223c20b04"
            ]
        ]
    },
    {
        "id": "89f26af5d635f161",
        "type": "victron-input-relay",
        "z": "7bb4b982f37a1f91",
        "service": "com.victronenergy.system/0",
        "path": "/Relay/0/State",
        "serviceObj": {
            "service": "com.victronenergy.system/0",
            "name": "Venus system"
        },
        "pathObj": {
            "path": "/Relay/0/State",
            "type": "enum",
            "name": "Venus relay 1 state",
            "enum": {
                "0": "Open",
                "1": "Closed"
            }
        },
        "initial": "",
        "name": "spirala2",
        "onlyChanges": false,
        "x": 550,
        "y": 240,
        "wires": [
            [
                "19284b37d45800ac"
            ]
        ]
    },
    {
        "id": "f60fb54ea8b74b84",
        "type": "victron-input-relay",
        "z": "7bb4b982f37a1f91",
        "service": "com.victronenergy.system/0",
        "path": "/Relay/1/State",
        "serviceObj": {
            "service": "com.victronenergy.system/0",
            "name": "Venus system"
        },
        "pathObj": {
            "path": "/Relay/1/State",
            "type": "enum",
            "name": "Venus relay 2 state",
            "enum": {
                "0": "Open",
                "1": "Closed"
            }
        },
        "initial": "",
        "name": "spirala3",
        "onlyChanges": false,
        "x": 550,
        "y": 300,
        "wires": [
            [
                "6c7632b238f16b32"
            ]
        ]
    },
    {
        "id": "da65f8666bfc1a72",
        "type": "victron-output-relay",
        "z": "7bb4b982f37a1f91",
        "service": "com.victronenergy.system/0",
        "path": "/Relay/0/State",
        "serviceObj": {
            "service": "com.victronenergy.system/0",
            "name": "Venus device"
        },
        "pathObj": {
            "path": "/Relay/0/State",
            "type": "enum",
            "name": "Venus relay 1 state",
            "enum": {
                "0": "Open",
                "1": "Closed"
            },
            "writable": true,
            "disabled": false
        },
        "initial": "",
        "name": "spirala2",
        "onlyChanges": false,
        "x": 1100,
        "y": 480,
        "wires": []
    },
    {
        "id": "352ef9f596e3c543",
        "type": "victron-output-relay",
        "z": "7bb4b982f37a1f91",
        "service": "com.victronenergy.system/0",
        "path": "/Relay/1/State",
        "serviceObj": {
            "service": "com.victronenergy.system/0",
            "name": "Venus device"
        },
        "pathObj": {
            "path": "/Relay/1/State",
            "type": "enum",
            "name": "Venus relay 2 state",
            "enum": {
                "0": "Open",
                "1": "Closed"
            },
            "writable": true
        },
        "initial": "",
        "name": "spirala3",
        "onlyChanges": false,
        "x": 1100,
        "y": 580,
        "wires": []
    },
    {
        "id": "435a2b80bec00f09",
        "type": "victron-output-relay",
        "z": "7bb4b982f37a1f91",
        "service": "com.victronenergy.battery/277",
        "path": "/Relay/0/State",
        "serviceObj": {
            "service": "com.victronenergy.battery/277",
            "name": "Baterka"
        },
        "pathObj": {
            "path": "/Relay/0/State",
            "type": "enum",
            "name": "Relay status",
            "enum": {
                "0": "Open",
                "1": "Closed"
            },
            "writable": true
        },
        "initial": "",
        "name": "spirala1",
        "onlyChanges": false,
        "x": 1100,
        "y": 380,
        "wires": []
    },
    {
        "id": "e7c9fc8e9278124f",
        "type": "switch",
        "z": "7bb4b982f37a1f91",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "spirala1 1",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "spirala1 0",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "spirala2 1",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "spirala2 0",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "spirala3 1",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "spirala3 0",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 7,
        "x": 670,
        "y": 480,
        "wires": [
            [
                "bccb3ab71d4d9c6b"
            ],
            [
                "bccb3ab71d4d9c6b"
            ],
            [
                "1af6c9287dea1841"
            ],
            [
                "1af6c9287dea1841"
            ],
            [
                "7db54b1f99f24679"
            ],
            [
                "7db54b1f99f24679"
            ],
            [
                "7db54b1f99f24679",
                "1af6c9287dea1841",
                "bccb3ab71d4d9c6b"
            ]
        ]
    },
    {
        "id": "bccb3ab71d4d9c6b",
        "type": "change",
        "z": "7bb4b982f37a1f91",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "spirala1 1",
                "fromt": "str",
                "to": "1",
                "tot": "num"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "spirala1 0",
                "fromt": "str",
                "to": "0",
                "tot": "num"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "OFF",
                "fromt": "str",
                "to": "0",
                "tot": "num"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 880,
        "y": 420,
        "wires": [
            [
                "435a2b80bec00f09",
                "36186e634336a10e"
            ]
        ]
    },
    {
        "id": "1af6c9287dea1841",
        "type": "change",
        "z": "7bb4b982f37a1f91",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "spirala2 1",
                "fromt": "str",
                "to": "1",
                "tot": "num"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "spirala2 0",
                "fromt": "str",
                "to": "0",
                "tot": "num"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "OFF",
                "fromt": "str",
                "to": "0",
                "tot": "num"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 880,
        "y": 480,
        "wires": [
            [
                "da65f8666bfc1a72",
                "0a8a2ea5ea6928e6"
            ]
        ]
    },
    {
        "id": "7db54b1f99f24679",
        "type": "change",
        "z": "7bb4b982f37a1f91",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "spirala3 1",
                "fromt": "str",
                "to": "1",
                "tot": "num"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "spirala3 0",
                "fromt": "str",
                "to": "0",
                "tot": "num"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "OFF",
                "fromt": "str",
                "to": "0",
                "tot": "num"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 880,
        "y": 540,
        "wires": [
            [
                "352ef9f596e3c543",
                "5f73d24b3324551f"
            ]
        ]
    },
    {
        "id": "5f73d24b3324551f",
        "type": "debug",
        "z": "7bb4b982f37a1f91",
        "name": "debug 38",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 1100,
        "y": 540,
        "wires": []
    },
    {
        "id": "8e1939a573be78e0",
        "type": "debug",
        "z": "7bb4b982f37a1f91",
        "name": "debug 39",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 480,
        "y": 460,
        "wires": []
    },
    {
        "id": "5fa8b5a05bd48d83",
        "type": "debug",
        "z": "7bb4b982f37a1f91",
        "name": "debug 40",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 480,
        "y": 680,
        "wires": []
    },
    {
        "id": "2588a2b43b3db522",
        "type": "switch",
        "z": "7bb4b982f37a1f91",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "spirala1 1",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "spirala1 0",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "spirala2 1",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "spirala2 0",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "spirala3 1",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "spirala3 0",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "OFF",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 7,
        "x": 670,
        "y": 680,
        "wires": [
            [
                "ea62aef1d1ae32ba"
            ],
            [
                "ea62aef1d1ae32ba"
            ],
            [
                "369e60c6ce36fc75"
            ],
            [
                "369e60c6ce36fc75"
            ],
            [
                "728b3c9fad2cc0a4"
            ],
            [
                "728b3c9fad2cc0a4"
            ],
            [
                "728b3c9fad2cc0a4",
                "369e60c6ce36fc75",
                "ea62aef1d1ae32ba"
            ]
        ]
    },
    {
        "id": "ea62aef1d1ae32ba",
        "type": "change",
        "z": "7bb4b982f37a1f91",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "spirala1 1",
                "fromt": "str",
                "to": "1",
                "tot": "num"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "spirala1 0",
                "fromt": "str",
                "to": "0",
                "tot": "num"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "OFF",
                "fromt": "str",
                "to": "0",
                "tot": "num"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 880,
        "y": 620,
        "wires": [
            []
        ]
    },
    {
        "id": "369e60c6ce36fc75",
        "type": "change",
        "z": "7bb4b982f37a1f91",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "spirala2 1",
                "fromt": "str",
                "to": "1",
                "tot": "num"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "spirala2 0",
                "fromt": "str",
                "to": "0",
                "tot": "num"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "OFF",
                "fromt": "str",
                "to": "0",
                "tot": "num"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 880,
        "y": 680,
        "wires": [
            []
        ]
    },
    {
        "id": "728b3c9fad2cc0a4",
        "type": "change",
        "z": "7bb4b982f37a1f91",
        "name": "",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "spirala3 1",
                "fromt": "str",
                "to": "1",
                "tot": "num"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "spirala3 0",
                "fromt": "str",
                "to": "0",
                "tot": "num"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "OFF",
                "fromt": "str",
                "to": "0",
                "tot": "num"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 880,
        "y": 740,
        "wires": [
            []
        ]
    },
    {
        "id": "49e114075aa090ce",
        "type": "function",
        "z": "7bb4b982f37a1f91",
        "name": "function 57",
        "func": "if (flow.get(\"vytazovanie\") === true) {\n    if (flow.get(\"spirala1\") === \"0\" && flow.get(\"spirala2\") === \"0\" && flow.get(\"spirala3\") === \"0\") {\n        if (msg.payload.bat > 1400 && msg.payload.soc > 80 && msg.payload.temperature < 80) {\n            msg.payload = \"spirala1 1\"; // Set the payload value\n            flow.set(\"spirala1\", 1);\n        } else if (flow.get(\"spirala1\") === \"1\" && flow.get(\"spirala2\") === \"0\" && flow.get(\"spirala3\") === \"0\" && msg.payload.bat > 1400 && msg.payload.soc > 80 && msg.payload.temperature < 80) {\n            msg.payload = \"spirala2 1\"; // Set the payload value\n            flow.set(\"spirala2\", 1);\n        } else if (flow.get(\"spirala1\") === \"1\" && flow.get(\"spirala2\") === \"1\" && flow.get(\"spirala3\") === \"0\" && msg.payload.bat > 1400 && msg.payload.soc > 80 && msg.payload.temperature < 80) {\n            msg.payload = \"spirala3 1\"; // Set the payload value\n            flow.set(\"spirala3\", 1);\n        } else if (msg.payload.bat < 30 && flow.get(\"spirala1\") === \"1\" && flow.get(\"spirala2\") === \"1\" && flow.get(\"spirala3\") === \"1\") {\n            msg.payload = \"spirala3 0\"; // Set the payload value\n            flow.set(\"spirala3\", 0);\n        } else if (msg.payload.bat < 30 && flow.get(\"spirala1\") === \"1\" && flow.get(\"spirala2\") === \"1\" && flow.get(\"spirala3\") === \"0\") {\n            msg.payload = \"spirala2 0\"; // Set the payload value\n            flow.set(\"spirala2\", 0);\n        } else if (msg.payload.bat < 30 && flow.get(\"spirala1\") === \"1\" && flow.get(\"spirala2\") === \"0\" && flow.get(\"spirala3\") === \"0\") {\n            msg.payload = \"spirala1 0\"; // Set the payload value\n            flow.set(\"spirala1\", 0);\n        }\n    } else {\n        msg.payload = \"OFF\"; // Set the payload value\n    }\n}\n\n// Posielanie hore alebo dole na zaklade prepinaca\nif (flow.get(\"prepinac\") === \"hore\") {\n    return [msg, null];\n} else {\n    return [null, msg];\n}\n\n// Neustála kontrolaSpiral\nsetInterval(kontrolaSpiral, 1000); // Kontrola každú sekundu\n",
        "outputs": 2,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 490,
        "y": 580,
        "wires": [
            [
                "8e1939a573be78e0",
                "e7c9fc8e9278124f"
            ],
            [
                "5fa8b5a05bd48d83",
                "2588a2b43b3db522"
            ]
        ]
    },
    {
        "id": "d0150c38377e5d94",
        "type": "victron-input-battery",
        "z": "7bb4b982f37a1f91",
        "service": "com.victronenergy.battery/277",
        "path": "/Dc/0/Power",
        "serviceObj": {
            "service": "com.victronenergy.battery/277",
            "name": "Baterka"
        },
        "pathObj": {
            "path": "/Dc/0/Power",
            "type": "float",
            "name": "Battery power (W)"
        },
        "name": "bat",
        "onlyChanges": false,
        "roundValues": "0",
        "x": 90,
        "y": 580,
        "wires": [
            []
        ]
    },
    {
        "id": "db389b4cffa8adae",
        "type": "victron-input-battery",
        "z": "7bb4b982f37a1f91",
        "service": "com.victronenergy.battery/277",
        "path": "/Soc",
        "serviceObj": {
            "service": "com.victronenergy.battery/277",
            "name": "Baterka"
        },
        "pathObj": {
            "path": "/Soc",
            "type": "float",
            "name": "State of charge (%)"
        },
        "name": "soc",
        "onlyChanges": false,
        "roundValues": "1",
        "x": 90,
        "y": 520,
        "wires": [
            [
                "72b8afdb0c028826"
            ]
        ]
    },
    {
        "id": "15b550bdb31c2d90",
        "type": "inject",
        "z": "7bb4b982f37a1f91",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "1",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "soc",
        "payload": "85",
        "payloadType": "num",
        "x": 100,
        "y": 460,
        "wires": [
            []
        ]
    },
    {
        "id": "f55e16350f851eeb",
        "type": "comment",
        "z": "7bb4b982f37a1f91",
        "name": "ukladanie stavov do context flow",
        "info": "",
        "x": 670,
        "y": 140,
        "wires": []
    },
    {
        "id": "64ed8a4486002ff5",
        "type": "group",
        "z": "7bb4b982f37a1f91",
        "name": "voľba vyťažovania ovládanie v dashboarde",
        "style": {
            "label": true,
            "color": "#3f3f3f",
            "stroke": "#3f3f3f",
            "label-position": "n"
        },
        "nodes": [
            "bbd2e98c4e13adda",
            "bbf603013f5c4f82",
            "5eded41771b42501",
            "9866c1f1d3d76651"
        ],
        "x": 14,
        "y": 139,
        "w": 392,
        "h": 142
    },
    {
        "id": "bbd2e98c4e13adda",
        "type": "ui_multistate_switch",
        "z": "7bb4b982f37a1f91",
        "g": "64ed8a4486002ff5",
        "name": "prepinac",
        "group": "d7e013c07cc5b346",
        "order": 2,
        "width": 0,
        "height": 1,
        "label": "Výber špirál",
        "stateField": "payload",
        "enableField": "enable",
        "passthroughField": "change",
        "inputMsgField": "inputmsg",
        "rounded": true,
        "useThemeColors": true,
        "hideSelectedLabel": false,
        "multilineLabel": false,
        "passThrough": "change",
        "inputMsg": "none",
        "userInput": "enabled_show",
        "options": [
            {
                "label": "vrch AN",
                "value": "hore",
                "valueType": "str",
                "color": "#009933"
            },
            {
                "label": "spodok AN",
                "value": "dolu",
                "valueType": "str",
                "color": "#999999"
            }
        ],
        "topic": "msg.payload",
        "x": 100,
        "y": 240,
        "wires": [
            [
                "9866c1f1d3d76651"
            ]
        ]
    },
    {
        "id": "bbf603013f5c4f82",
        "type": "ui_multistate_switch",
        "z": "7bb4b982f37a1f91",
        "g": "64ed8a4486002ff5",
        "name": "vytazovanie",
        "group": "d7e013c07cc5b346",
        "order": 1,
        "width": 0,
        "height": 1,
        "label": "Vyťažovanie",
        "stateField": "payload",
        "enableField": "enable",
        "passthroughField": "passthrough",
        "inputMsgField": "inputmsg",
        "rounded": true,
        "useThemeColors": false,
        "hideSelectedLabel": false,
        "multilineLabel": false,
        "passThrough": "change",
        "inputMsg": "none",
        "userInput": "enabled_show",
        "options": [
            {
                "label": "Vypnuté",
                "value": "false",
                "valueType": "bool",
                "color": "#ff0019"
            },
            {
                "label": "Zapnuté",
                "value": "true",
                "valueType": "bool",
                "color": "#009900"
            }
        ],
        "topic": "msg.payload",
        "x": 110,
        "y": 180,
        "wires": [
            [
                "5eded41771b42501"
            ]
        ]
    },
    {
        "id": "5eded41771b42501",
        "type": "function",
        "z": "7bb4b982f37a1f91",
        "g": "64ed8a4486002ff5",
        "name": "context-flow",
        "func": "// Change Node nastavenie\nmsg.topic = \"vytazovanie\";\nflow.set(\"vytazovanie\", msg.payload);\nreturn msg;",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 310,
        "y": 180,
        "wires": [
            []
        ]
    },
    {
        "id": "9866c1f1d3d76651",
        "type": "function",
        "z": "7bb4b982f37a1f91",
        "g": "64ed8a4486002ff5",
        "name": "context-flow",
        "func": "// Change Node nastavenie\nmsg.topic = \"prepinac\";\nflow.set(\"prepinac\", msg.payload);\nreturn msg;",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 310,
        "y": 240,
        "wires": [
            []
        ]
    },
    {
        "id": "d7e013c07cc5b346",
        "type": "ui_group",
        "name": "Voľba vyťažovania ",
        "tab": "f1fc31401dd012dd",
        "order": 4,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "f1fc31401dd012dd",
        "type": "ui_tab",
        "name": "Tab 2",
        "icon": "dashboard",
        "order": 2
    }
]