[
    {
        "id": "2023244b2113ffa0",
        "type": "exec",
        "z": "dde21b61ded0327e",
        "command": "vreg -c socketcan:can0 -n 36 -g 0xeddb |  awk 'BEGIN { ORS = \"\"; print \"[ \"}; /0x/ { printf \"%s{\\\"Temp\\\": \\\"%f\\\"}\", separator, ($2*256+$1)/100; separator = \", \"}; END { print \" ]\" }'",
        "addpay": "",
        "append": "",
        "useSpawn": "false",
        "timer": "",
        "winHide": false,
        "oldrc": false,
        "name": "Dbus ttyS5",
        "x": 350,
        "y": 520,
        "wires": [
            [
                "26853bf09a9166f7"
            ],
            [],
            []
        ]
    },
    {
        "id": "8fb5f0e115366f5a",
        "type": "exec",
        "z": "dde21b61ded0327e",
        "command": "vreg -c socketcan:can0 -n 38 -g 0xeddb |  awk 'BEGIN { ORS = \"\"; print \"[ \"}; /0x/ { printf \"%s{\\\"Temp\\\": \\\"%f\\\"}\", separator, ($2*256+$1)/100; separator = \", \"}; END { print \" ]\" }'",
        "addpay": "",
        "append": "",
        "useSpawn": "false",
        "timer": "",
        "winHide": false,
        "oldrc": false,
        "name": "Dbus ttyS5",
        "x": 350,
        "y": 580,
        "wires": [
            [
                "0f8c6af6c8fa10c4"
            ],
            [],
            []
        ]
    },
    {
        "id": "0f8c6af6c8fa10c4",
        "type": "function",
        "z": "dde21b61ded0327e",
        "name": "Teplota mppt2",
        "func": "msg.topic = \"mppt2\";\nmsg.payload = Math.round(+JSON.parse(msg.payload)[1].Temp * 10) / 10;\nreturn msg;",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 520,
        "y": 580,
        "wires": [
            []
        ]
    },
    {
        "id": "26853bf09a9166f7",
        "type": "function",
        "z": "dde21b61ded0327e",
        "name": "Teplota mppt1",
        "func": "msg.topic = \"mppt1\";\nmsg.payload = Math.round(+JSON.parse(msg.payload)[1].Temp * 10) / 10;\nreturn msg;",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 520,
        "y": 520,
        "wires": [
            []
        ]
    },
    {
        "id": "5dd7e70d7f89f720",
        "type": "exec",
        "z": "dde21b61ded0327e",
        "command": "vreg -c socketcan:can0 -n 37 -g 0xeddb |  awk 'BEGIN { ORS = \"\"; print \"[ \"}; /0x/ { printf \"%s{\\\"Temp\\\": \\\"%f\\\"}\", separator, ($2*256+$1)/100; separator = \", \"}; END { print \" ]\" }'",
        "addpay": "",
        "append": "",
        "useSpawn": "false",
        "timer": "",
        "winHide": false,
        "oldrc": false,
        "name": "Dbus ttyS5",
        "x": 350,
        "y": 640,
        "wires": [
            [
                "830374f594e8c920"
            ],
            [],
            []
        ]
    },
    {
        "id": "830374f594e8c920",
        "type": "function",
        "z": "dde21b61ded0327e",
        "name": "Teplota mppt3",
        "func": "msg.topic = \"mppt3\";\nmsg.payload = Math.round(+JSON.parse(msg.payload)[1].Temp * 10) / 10;\nreturn msg;",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 520,
        "y": 640,
        "wires": [
            []
        ]
    },
    {
        "id": "be55b89ef7ec53f6",
        "type": "exec",
        "z": "dde21b61ded0327e",
        "command": "vreg -c socketcan:can0 -n 39 -g 0xeddb |  awk 'BEGIN { ORS = \"\"; print \"[ \"}; /0x/ { printf \"%s{\\\"Temp\\\": \\\"%f\\\"}\", separator, ($2*256+$1)/100; separator = \", \"}; END { print \" ]\" }'",
        "addpay": "",
        "append": "",
        "useSpawn": "false",
        "timer": "",
        "winHide": false,
        "oldrc": false,
        "name": "Dbus ttyS5",
        "x": 350,
        "y": 700,
        "wires": [
            [
                "ebd90493e7c0a421"
            ],
            [],
            []
        ]
    },
    {
        "id": "ebd90493e7c0a421",
        "type": "function",
        "z": "dde21b61ded0327e",
        "name": "Teplota mppt4",
        "func": "msg.topic = \"mppt4\";\nmsg.payload = Math.round(+JSON.parse(msg.payload)[1].Temp * 10) / 10;\nreturn msg;",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 520,
        "y": 700,
        "wires": [
            []
        ]
    },
    {
        "id": "70c6789d7baca3f1",
        "type": "inject",
        "z": "dde21b61ded0327e",
        "name": "10s interval",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "10",
        "crontab": "",
        "once": true,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 190,
        "y": 460,
        "wires": [
            [
                "2023244b2113ffa0",
                "8fb5f0e115366f5a",
                "5dd7e70d7f89f720",
                "be55b89ef7ec53f6"
            ]
        ]
    }
]