dashboard

PHOTO EMBED

Tue Apr 08 2025 18:42:48 GMT+0000 (Coordinated Universal Time)

Saved by @salam123

[
    {
        "id": "1a995dd199999201",
        "type": "tab",
        "label": "Flow 6",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "805da3545a35d191",
        "type": "inject",
        "z": "1a995dd199999201",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "1",
        "crontab": "",
        "once": true,
        "onceDelay": "1",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 190,
        "y": 100,
        "wires": [
            [
                "89542d9b10fef801",
                "6f99897aef86caef"
            ]
        ]
    },
    {
        "id": "89542d9b10fef801",
        "type": "http request",
        "z": "1a995dd199999201",
        "name": "",
        "method": "GET",
        "ret": "obj",
        "paytoqs": "ignore",
        "url": "https://api.openweathermap.org/data/2.5/weather?q=London&appid=8ff56d883da02c95c015b78fbb6dd8ed",
        "tls": "",
        "persist": false,
        "proxy": "",
        "insecureHTTPParser": false,
        "authType": "",
        "senderr": false,
        "headers": [],
        "x": 410,
        "y": 100,
        "wires": [
            [
                "f62fc4e2650c38ac",
                "2f73374e96d77a29",
                "fe5a67f4e6f8058c",
                "cdaa8f80ebb3ea0d"
            ]
        ]
    },
    {
        "id": "f62fc4e2650c38ac",
        "type": "debug",
        "z": "1a995dd199999201",
        "name": "debug 4",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 660,
        "y": 100,
        "wires": []
    },
    {
        "id": "2f73374e96d77a29",
        "type": "change",
        "z": "1a995dd199999201",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.name",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 460,
        "y": 220,
        "wires": [
            [
                "5b84d6a82970ab89"
            ]
        ]
    },
    {
        "id": "fe5a67f4e6f8058c",
        "type": "change",
        "z": "1a995dd199999201",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.main.temp",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 460,
        "y": 320,
        "wires": [
            [
                "64fac722a91457fc"
            ]
        ]
    },
    {
        "id": "cdaa8f80ebb3ea0d",
        "type": "change",
        "z": "1a995dd199999201",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.main.humidity",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 460,
        "y": 420,
        "wires": [
            [
                "dc4b2487c962c02e"
            ]
        ]
    },
    {
        "id": "5b84d6a82970ab89",
        "type": "ui_text",
        "z": "1a995dd199999201",
        "group": "0fdf39278f746926",
        "order": 0,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "city",
        "format": "{{msg.payload}}",
        "layout": "row-spread",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 670,
        "y": 220,
        "wires": []
    },
    {
        "id": "64fac722a91457fc",
        "type": "ui_text",
        "z": "1a995dd199999201",
        "group": "0fdf39278f746926",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "temperature",
        "format": "{{msg.payload}}",
        "layout": "row-spread",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 690,
        "y": 320,
        "wires": []
    },
    {
        "id": "dc4b2487c962c02e",
        "type": "ui_text",
        "z": "1a995dd199999201",
        "group": "0fdf39278f746926",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "humidity",
        "format": "{{msg.payload}}",
        "layout": "row-spread",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 680,
        "y": 420,
        "wires": []
    },
    {
        "id": "fbf47a74ddea9456",
        "type": "ui_slider",
        "z": "1a995dd199999201",
        "name": "",
        "label": "slider",
        "tooltip": "",
        "group": "0fdf39278f746926",
        "order": 3,
        "width": 0,
        "height": 0,
        "passthru": true,
        "outs": "all",
        "topic": "topic",
        "topicType": "msg",
        "min": "1",
        "max": "100",
        "step": 1,
        "className": "",
        "x": 670,
        "y": 280,
        "wires": [
            [
                "64fac722a91457fc"
            ]
        ]
    },
    {
        "id": "95f7fb543be84820",
        "type": "ui_button",
        "z": "1a995dd199999201",
        "name": "",
        "group": "0fdf39278f746926",
        "order": 4,
        "width": 0,
        "height": 0,
        "passthru": false,
        "label": "reset",
        "tooltip": "",
        "color": "",
        "bgcolor": "",
        "className": "",
        "icon": "",
        "payload": "0",
        "payloadType": "num",
        "topic": "topic",
        "topicType": "msg",
        "x": 690,
        "y": 380,
        "wires": [
            [
                "dc4b2487c962c02e"
            ]
        ]
    },
    {
        "id": "6f99897aef86caef",
        "type": "function",
        "z": "1a995dd199999201",
        "name": "function 3",
        "func": "msg.payload = Math.random()*30;\nreturn msg;",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 140,
        "y": 280,
        "wires": [
            [
                "ade13a3d209e1dd6",
                "da8cd534482d8752"
            ]
        ]
    },
    {
        "id": "da8cd534482d8752",
        "type": "ui_gauge",
        "z": "1a995dd199999201",
        "name": "",
        "group": "0fdf39278f746926",
        "order": 6,
        "width": 0,
        "height": 0,
        "gtype": "gage",
        "title": "gauge",
        "label": "units",
        "format": "{{value}}",
        "min": 0,
        "max": "100",
        "colors": [
            "#00b500",
            "#e6e600",
            "#ca3838"
        ],
        "seg1": "",
        "seg2": "",
        "diff": false,
        "className": "",
        "x": 250,
        "y": 420,
        "wires": []
    },
    {
        "id": "ade13a3d209e1dd6",
        "type": "ui_chart",
        "z": "1a995dd199999201",
        "name": "",
        "group": "0fdf39278f746926",
        "order": 5,
        "width": 0,
        "height": 0,
        "label": "chart",
        "chartType": "line",
        "legend": "false",
        "xformat": "HH:mm:ss",
        "interpolate": "linear",
        "nodata": "",
        "dot": false,
        "ymin": "1",
        "ymax": "100",
        "removeOlder": 1,
        "removeOlderPoints": "",
        "removeOlderUnit": "3600",
        "cutout": 0,
        "useOneColor": false,
        "useUTC": false,
        "colors": [
            "#1f77b4",
            "#aec7e8",
            "#ff7f0e",
            "#2ca02c",
            "#98df8a",
            "#d62728",
            "#ff9896",
            "#9467bd",
            "#c5b0d5"
        ],
        "outputs": 1,
        "useDifferentColor": false,
        "className": "",
        "x": 230,
        "y": 340,
        "wires": [
            []
        ]
    },
    {
        "id": "0fdf39278f746926",
        "type": "ui_group",
        "name": "reddy",
        "tab": "62b00e22779b2a07",
        "order": 1,
        "disp": true,
        "width": 6,
        "collapse": false,
        "className": ""
    },
    {
        "id": "62b00e22779b2a07",
        "type": "ui_tab",
        "name": "suhas",
        "icon": "dashboard",
        "disabled": false,
        "hidden": false
    }
]
content_copyCOPY