[
    {
        "id": "fe904cf2.fc7668",
        "type": "tab",
        "label": "MQTT Example",
        "disabled": false,
        "info": ""
    },
    {
        "id": "80ca8801.e58938",
        "type": "mqtt out",
        "z": "fe904cf2.fc7668",
        "name": "",
        "topic": "RoomTemperature",
        "qos": "0",
        "retain": "false",
        "broker": "e8f92ae4.4d764",
        "x": 510,
        "y": 80,
        "wires": []
    },
    {
        "id": "e365094c.dccbd",
        "type": "ui_slider",
        "z": "fe904cf2.fc7668",
        "name": "",
        "label": "Set Room 1 Temperature",
        "group": "373ab76c.92d938",
        "order": 1,
        "width": 0,
        "height": 0,
        "passthru": true,
        "topic": "",
        "min": "-10",
        "max": "100",
        "step": 1,
        "x": 200,
        "y": 80,
        "wires": [
            [
                "80ca8801.e58938"
            ]
        ]
    },
    {
        "id": "c27c88f9.e2243",
        "type": "mqtt in",
        "z": "fe904cf2.fc7668",
        "name": "",
        "topic": "RoomTemperature",
        "qos": "2",
        "broker": "e8f92ae4.4d764",
        "x": 170,
        "y": 200,
        "wires": [
            [
                "b37d86bb.0ab1e"
            ]
        ]
    },
    {
        "id": "b37d86bb.0ab1e",
        "type": "ui_gauge",
        "z": "fe904cf2.fc7668",
        "name": "",
        "group": "dd0b1f34.c2c868",
        "order": 1,
        "width": 0,
        "height": 0,
        "gtype": "donut",
        "title": "Set Temperature",
        "label": "°C",
        "format": "{{value}}",
        "min": "-10",
        "max": "100",
        "colors": [
            "#00b500",
            "#e6e600",
            "#ca3838"
        ],
        "seg1": "",
        "seg2": "",
        "x": 510,
        "y": 200,
        "wires": []
    },
    {
        "id": "68622056.94bd58",
        "type": "s7 in",
        "z": "fe904cf2.fc7668",
        "endpoint": "54c8a30d.9cafcc",
        "mode": "single",
        "variable": "Temperature",
        "diff": true,
        "name": "",
        "x": 150,
        "y": 360,
        "wires": [
            [
                "f3f67d00.dd1a28"
            ]
        ]
    },
    {
        "id": "f3f67d00.dd1a28",
        "type": "mqtt out",
        "z": "fe904cf2.fc7668",
        "name": "",
        "topic": "CurrentTemperature",
        "qos": "0",
        "retain": "false",
        "broker": "e8f92ae4.4d764",
        "x": 520,
        "y": 360,
        "wires": []
    },
    {
        "id": "d6113ced.4a66c8",
        "type": "ui_gauge",
        "z": "fe904cf2.fc7668",
        "name": "",
        "group": "dd0b1f34.c2c868",
        "order": 2,
        "width": 0,
        "height": 0,
        "gtype": "donut",
        "title": "Current Temperature",
        "label": "°C",
        "format": "{{value}}",
        "min": "-100",
        "max": "200",
        "colors": [
            "#00b500",
            "#e6e600",
            "#ca3838"
        ],
        "seg1": "",
        "seg2": "",
        "x": 520,
        "y": 460,
        "wires": []
    },
    {
        "id": "164d3f90.5b11d8",
        "type": "mqtt in",
        "z": "fe904cf2.fc7668",
        "name": "",
        "topic": "CurrentTemperature",
        "qos": "0",
        "broker": "e8f92ae4.4d764",
        "x": 170,
        "y": 460,
        "wires": [
            [
                "d6113ced.4a66c8"
            ]
        ]
    },
    {
        "id": "4894e906.f209f",
        "type": "comment",
        "z": "fe904cf2.fc7668",
        "name": "Set Temperature from Dashboard and send it to MQTT",
        "info": "",
        "x": 280,
        "y": 40,
        "wires": []
    },
    {
        "id": "bebdc1bd.04bfe8",
        "type": "comment",
        "z": "fe904cf2.fc7668",
        "name": "Read Temperature from MQTT and display on Dashboard",
        "info": "",
        "x": 290,
        "y": 160,
        "wires": []
    },
    {
        "id": "6b11f5cb.c53844",
        "type": "comment",
        "z": "fe904cf2.fc7668",
        "name": "Read Temperature from S7 and push it to MQTT",
        "info": "",
        "x": 260,
        "y": 320,
        "wires": []
    },
    {
        "id": "cb5aa15b.1afd98",
        "type": "comment",
        "z": "fe904cf2.fc7668",
        "name": "Read Current Temperature from MQTT and display on Dashboard",
        "info": "",
        "x": 320,
        "y": 420,
        "wires": []
    },
    {
        "id": "e8f92ae4.4d764",
        "type": "mqtt-broker",
        "z": "",
        "name": "broker.mqttdashboard.com",
        "broker": "broker.mqttdashboard.com",
        "port": "1883",
        "clientid": "",
        "usetls": false,
        "compatmode": true,
        "keepalive": "60",
        "cleansession": true,
        "birthTopic": "",
        "birthQos": "0",
        "birthPayload": "",
        "closeTopic": "",
        "closeQos": "0",
        "closePayload": "",
        "willTopic": "",
        "willQos": "0",
        "willPayload": ""
    },
    {
        "id": "373ab76c.92d938",
        "type": "ui_group",
        "z": "",
        "name": "Roomcontrol",
        "tab": "d4d7cd6d.b24e38",
        "disp": true,
        "width": "6",
        "collapse": false
    },
    {
        "id": "dd0b1f34.c2c868",
        "type": "ui_group",
        "z": "",
        "name": "Room 1",
        "tab": "d4d7cd6d.b24e38",
        "order": 2,
        "disp": true,
        "width": "6",
        "collapse": false
    },
    {
        "id": "54c8a30d.9cafcc",
        "type": "s7 endpoint",
        "z": "",
        "address": "192.168.0.110",
        "port": "102",
        "rack": "0",
        "slot": "1",
        "localtsaphi": "01",
        "localtsaplo": "00",
        "remotetsaphi": "01",
        "remotetsaplo": "00",
        "connmode": "rack-slot",
        "cycletime": "500",
        "timeout": "1500",
        "verbose": "default",
        "name": "",
        "vartable": [
            {
                "addr": "MW20",
                "name": "Speed"
            },
            {
                "addr": "MR22",
                "name": "Power"
            },
            {
                "addr": "MR30",
                "name": "Temperature"
            },
            {
                "addr": "M200.0",
                "name": "TriggerMessage"
            }
        ]
    },
    {
        "id": "d4d7cd6d.b24e38",
        "type": "ui_tab",
        "z": "",
        "name": "MQTT Example",
        "icon": "dashboard"
    }
]