Redirected Images Not Showing Up

My first post and I've been using Node-Red for about a month now... IOW, a complete Noob. I have a question, but I don't know if it is really a Node-Red or Dashboard related problem.

Short Version
I have a dashboard tab that displays some images. It always works when viewed from a Windows machine using Chrome, an Android or iPhone phone. However, on an older Android, Nexus 7, redirected images don't show up.

Detailed Version
I have ESP8266 sensors around the house using MQTT to a Raspberry PI broker which also hosts the Node-Red server. The Node-Red Dashboard processes temperature, humidity and barometric pressure into bar graphs and into a MySQL database for historic usage. The tab also does a Zambretti analysis to predict the upcoming weather. The tab then displays an image for the corresponding prediction that is hosted on the Node-Red server. In the first picture below, this predicted, canned image is in the upper right corner. This image shows up on all devices.

Below the bar graphs, the tab calls the National Weather Service API to get the forecast for my location. In the returned data, it has URL's for icons representing the predicted conditions hosted on the api.weather.gov website. On Windows, a relatively new Android phone, and on an iPhone these redirected icons show up just fine. On an old Android, Nexus 7 (that is only good enough to be used as a fixed dashboard) these redirected images don't show up.

Does anyone have any ideas on where I need to modify something?

Thanks.


Welcome to the forum @Inq

Can you see the icons if you try and access them from the browser on the old phone?

Welcome to the forum @inq.

You seem to be using the original dashboard nodes - node-red-dashboard.
As a new Node-red user you really should switch to it's repacement @flowfuse/node-red-dashboard (AKA Dashboard 2) because the original is no longer maintained.
Unfortunately your hard dashboard work to date is not transferrable to dashboard 2.

Can you share some of your dashboard code - just the nodes showing one row of text & image would be enough.


Highlight the nodes in the editor, ctrl e to export and copy to clipboard.
Then in the forum click the </> button and paste the code over the top of "Paste your code here"

Colin,

I should have thought of that. I tried the icon's URL on the device and the browser stated it was un-safe, yet all my newer devices were as happy as a clam with the URL. Anyway, I hit the Advanced button and proceeded to it anyway and it showed up as expected. As soon as I returned to the dashboard tab, they all showed up. I guess I approved the site for anything now.

Just for grins, I made sure the browser was closed, and re-booted. Going to the dashboard again and the icons showed up. I guess the browser has now retained that that is an acceptable site.

Thanks for your help.

jbudd,
I think I found the Dashboard 1 from an initial search about a couple weeks ago and was all excited with what it could do with so little input. I didn't think to see if it was the latest and greatest. I don't mind re-writing what I've done so far. I only have about a dozen flows and compared to hard coding with C++ and compiling, it should only take a day or two once I get over the initial learning curve.

Although Colin's tip put me over the field goal, here is what you requested. This is a new technique for me, so I had to try it.

[
    {
        "id": "528988c185289648",
        "type": "inject",
        "z": "7a5397e6f3f6e0e5",
        "name": "15min",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "period",
                "v": "0",
                "vt": "num"
            }
        ],
        "repeat": "60",
        "crontab": "",
        "once": true,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "0",
        "payloadType": "num",
        "x": 100,
        "y": 720,
        "wires": [
            [
                "7366b6efcd6c6169",
                "2e2e95c5deb53196"
            ]
        ]
    },
    {
        "id": "7366b6efcd6c6169",
        "type": "http request",
        "z": "7a5397e6f3f6e0e5",
        "name": "Grid forecast",
        "method": "GET",
        "ret": "obj",
        "paytoqs": "ignore",
        "url": "https://api.weather.gov/gridpoints/GSP/29,65/forecast",
        "tls": "",
        "persist": false,
        "proxy": "",
        "insecureHTTPParser": false,
        "authType": "",
        "senderr": false,
        "headers": [],
        "x": 270,
        "y": 720,
        "wires": [
            [
                "c91a3139f989a649"
            ]
        ]
    },
    {
        "id": "c91a3139f989a649",
        "type": "function",
        "z": "7a5397e6f3f6e0e5",
        "name": "Dig Out Data",
        "func": "let p = msg.payload.properties.periods[msg.period];\nmsg.icon = p.icon;\nmsg.label = '<strong>' + p.name + '</strong> - ' + \n    p.detailedForecast;\nreturn msg;\n",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 450,
        "y": 720,
        "wires": [
            [
                "44c4aeb5e7cf3e35",
                "1d1c534204dd62cf",
                "f3dfa78e461c4f5f"
            ]
        ]
    },
    {
        "id": "44c4aeb5e7cf3e35",
        "type": "function",
        "z": "7a5397e6f3f6e0e5",
        "name": "Loop",
        "func": "msg.period = Number(msg.period) + 1;\nif (Number(msg.period) < 14)\n    return msg;",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 450,
        "y": 780,
        "wires": [
            [
                "c91a3139f989a649"
            ]
        ]
    },
    {
        "id": "1d1c534204dd62cf",
        "type": "switch",
        "z": "7a5397e6f3f6e0e5",
        "name": "",
        "property": "period",
        "propertyType": "msg",
        "rules": [
            {
                "t": "eq",
                "v": "0",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "1",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "2",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "3",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "4",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "5",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "6",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "7",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "8",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "9",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "10",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "11",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "12",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "13",
                "vt": "num"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 14,
        "x": 650,
        "y": 720,
        "wires": [
            [
                "a497176ae03c5310"
            ],
            [
                "f6e108499ff02805"
            ],
            [
                "32f9f0655ad7e869"
            ],
            [
                "154bb19b33dd4aa3"
            ],
            [
                "63b7304e320323e9"
            ],
            [
                "77c8b83eb03d2c4a"
            ],
            [
                "b6601b41c2265d31"
            ],
            [
                "d078d2ca88b7aea2"
            ],
            [
                "d9daefceda765058"
            ],
            [
                "e7adae706d10a64e"
            ],
            [
                "af2dc6d034e5bbc4"
            ],
            [
                "bd7fec81f3348bde"
            ],
            [
                "55184d4384911cf5"
            ],
            [
                "ef595db4e4d8f1be"
            ]
        ]
    },
    {
        "id": "a497176ae03c5310",
        "type": "ui_template",
        "z": "7a5397e6f3f6e0e5",
        "group": "77d9e820a79ab53e",
        "name": "Icon 0",
        "order": 12,
        "width": 3,
        "height": 3,
        "format": "<img src=\"{{msg.icon}}\" style=\"width: 100%; height: 100%;\">",
        "storeOutMessages": false,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 850,
        "y": 620,
        "wires": [
            [
                "e0efbec229d3b08a"
            ]
        ]
    },
    {
        "id": "f6e108499ff02805",
        "type": "ui_template",
        "z": "7a5397e6f3f6e0e5",
        "group": "77d9e820a79ab53e",
        "name": "Icon 1",
        "order": 14,
        "width": 3,
        "height": 3,
        "format": "<img src=\"{{msg.icon}}\" style=\"width: 100%; height: 100%;\">",
        "storeOutMessages": false,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 850,
        "y": 660,
        "wires": [
            [
                "106678610fd26521"
            ]
        ]
    },
    {
        "id": "32f9f0655ad7e869",
        "type": "ui_template",
        "z": "7a5397e6f3f6e0e5",
        "group": "77d9e820a79ab53e",
        "name": "Icon 2",
        "order": 16,
        "width": 3,
        "height": 3,
        "format": "<img src=\"{{msg.icon}}\" style=\"width: 100%; height: 100%;\">",
        "storeOutMessages": false,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 850,
        "y": 700,
        "wires": [
            [
                "706a9ef3f3a13c6b"
            ]
        ]
    },
    {
        "id": "e0efbec229d3b08a",
        "type": "ui_text",
        "z": "7a5397e6f3f6e0e5",
        "group": "77d9e820a79ab53e",
        "order": 13,
        "width": 11,
        "height": 3,
        "name": "Forecast 0",
        "label": "{{msg.label}}",
        "format": "",
        "layout": "row-left",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 1010,
        "y": 620,
        "wires": []
    },
    {
        "id": "106678610fd26521",
        "type": "ui_text",
        "z": "7a5397e6f3f6e0e5",
        "group": "77d9e820a79ab53e",
        "order": 15,
        "width": 11,
        "height": 3,
        "name": "Forecast 1",
        "label": "{{msg.label}}",
        "format": "",
        "layout": "row-left",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 1010,
        "y": 660,
        "wires": []
    },
    {
        "id": "706a9ef3f3a13c6b",
        "type": "ui_text",
        "z": "7a5397e6f3f6e0e5",
        "group": "77d9e820a79ab53e",
        "order": 17,
        "width": 11,
        "height": 3,
        "name": "Forecast 2",
        "label": "{{msg.label}}",
        "format": "",
        "layout": "row-left",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 1010,
        "y": 700,
        "wires": []
    },
    {
        "id": "77d9e820a79ab53e",
        "type": "ui_group",
        "name": " Tablet",
        "tab": "7c7eaf50c20ab7bb",
        "order": 2,
        "disp": false,
        "width": "14",
        "collapse": false,
        "className": ""
    },
    {
        "id": "7c7eaf50c20ab7bb",
        "type": "ui_tab",
        "name": "Weather",
        "icon": "dashboard",
        "order": 1,
        "disabled": false,
        "hidden": false
    }
]
1 Like

Usually, when there is a loop in a flow, the flow can be simplified. If you add a Change node after the request, configured to Move msg.payload.properties.periods To msg.payload, and then feed that into a Switch node, it will give you the periods one at a time in individual messages.

[{"id":"7222ca93b9855692","type":"split","z":"bdd7be38.d3b55","name":"","splt":"\\n","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","property":"payload","x":490,"y":2440,"wires":[["9c18d2577f4ea7a4"]]},{"id":"42f5a9ef16a67b3f","type":"change","z":"bdd7be38.d3b55","name":"","rules":[{"t":"move","p":"payload.properties.periods","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":250,"y":2440,"wires":[["7222ca93b9855692"]]}]
1 Like

Thank you for the tip. Yes, that gives a lot cleaner and easier to read solution… now that I know that capability exists. :laughing: I do need to study more of the nodes capabilities. I tend to fall back to hard coding standards and fail to take advantage of these graphical languages.

[
    {
        "id": "a497176ae03c5310",
        "type": "ui_template",
        "z": "7a5397e6f3f6e0e5",
        "group": "77d9e820a79ab53e",
        "name": "Icon 14",
        "order": 12,
        "width": 3,
        "height": 3,
        "format": "<img src=\"{{msg.payload.icon}}\" style=\"width: 100%; height: 100%;\">",
        "storeOutMessages": false,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 840,
        "y": 1140,
        "wires": [
            [
                "e0efbec229d3b08a"
            ]
        ]
    },
    {
        "id": "f6e108499ff02805",
        "type": "ui_template",
        "z": "7a5397e6f3f6e0e5",
        "group": "77d9e820a79ab53e",
        "name": "Icon 1",
        "order": 14,
        "width": 3,
        "height": 3,
        "format": "<img src=\"{{msg.payload.icon}}\" style=\"width: 100%; height: 100%;\">",
        "storeOutMessages": false,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 850,
        "y": 620,
        "wires": [
            [
                "106678610fd26521"
            ]
        ]
    },
    {
        "id": "32f9f0655ad7e869",
        "type": "ui_template",
        "z": "7a5397e6f3f6e0e5",
        "group": "77d9e820a79ab53e",
        "name": "Icon 2",
        "order": 16,
        "width": 3,
        "height": 3,
        "format": "<img src=\"{{msg.payload.icon}}\" style=\"width: 100%; height: 100%;\">",
        "storeOutMessages": false,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 850,
        "y": 660,
        "wires": [
            [
                "706a9ef3f3a13c6b"
            ]
        ]
    },
    {
        "id": "1d1c534204dd62cf",
        "type": "switch",
        "z": "7a5397e6f3f6e0e5",
        "name": "",
        "property": "payload.number",
        "propertyType": "msg",
        "rules": [
            {
                "t": "eq",
                "v": "1",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "2",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "3",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "4",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "5",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "6",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "7",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "8",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "9",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "10",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "11",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "12",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "13",
                "vt": "num"
            },
            {
                "t": "eq",
                "v": "14",
                "vt": "num"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 14,
        "x": 650,
        "y": 780,
        "wires": [
            [
                "f6e108499ff02805"
            ],
            [
                "32f9f0655ad7e869"
            ],
            [
                "154bb19b33dd4aa3"
            ],
            [
                "63b7304e320323e9"
            ],
            [
                "77c8b83eb03d2c4a"
            ],
            [
                "b6601b41c2265d31"
            ],
            [
                "d078d2ca88b7aea2"
            ],
            [
                "d9daefceda765058"
            ],
            [
                "e7adae706d10a64e"
            ],
            [
                "af2dc6d034e5bbc4"
            ],
            [
                "bd7fec81f3348bde"
            ],
            [
                "55184d4384911cf5"
            ],
            [
                "ef595db4e4d8f1be"
            ],
            [
                "a497176ae03c5310"
            ]
        ]
    },
    {
        "id": "e0efbec229d3b08a",
        "type": "ui_text",
        "z": "7a5397e6f3f6e0e5",
        "group": "77d9e820a79ab53e",
        "order": 13,
        "width": 11,
        "height": 3,
        "name": "Forecast 14",
        "label": "{{msg.payload.detailedForecast}}",
        "format": "",
        "layout": "row-left",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 1010,
        "y": 1140,
        "wires": []
    },
    {
        "id": "106678610fd26521",
        "type": "ui_text",
        "z": "7a5397e6f3f6e0e5",
        "group": "77d9e820a79ab53e",
        "order": 15,
        "width": 11,
        "height": 3,
        "name": "Forecast 1",
        "label": "{{msg.payload.detailedForecast}}",
        "format": "",
        "layout": "row-left",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 1010,
        "y": 620,
        "wires": []
    },
    {
        "id": "706a9ef3f3a13c6b",
        "type": "ui_text",
        "z": "7a5397e6f3f6e0e5",
        "group": "77d9e820a79ab53e",
        "order": 17,
        "width": 11,
        "height": 3,
        "name": "Forecast 2",
        "label": "{{msg.payload.detailedForecast}}",
        "format": "",
        "layout": "row-left",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 1010,
        "y": 660,
        "wires": []
    },
    {
        "id": "154bb19b33dd4aa3",
        "type": "ui_template",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "name": "Icon 3",
        "order": 1,
        "width": 3,
        "height": 3,
        "format": "<img src=\"{{msg.payload.icon}}\" style=\"width: 100%; height: 100%;\">",
        "storeOutMessages": false,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 850,
        "y": 700,
        "wires": [
            [
                "b7601a83f8d0c138"
            ]
        ]
    },
    {
        "id": "63b7304e320323e9",
        "type": "ui_template",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "name": "Icon 4",
        "order": 3,
        "width": 3,
        "height": 3,
        "format": "<img src=\"{{msg.payload.icon}}\" style=\"width: 100%; height: 100%;\">",
        "storeOutMessages": false,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 850,
        "y": 740,
        "wires": [
            [
                "083ec3f5b035a41a"
            ]
        ]
    },
    {
        "id": "77c8b83eb03d2c4a",
        "type": "ui_template",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "name": "Icon 5",
        "order": 5,
        "width": 3,
        "height": 3,
        "format": "<img src=\"{{msg.payload.icon}}\" style=\"width: 100%; height: 100%;\">",
        "storeOutMessages": false,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 850,
        "y": 780,
        "wires": [
            [
                "3132130fa9ebb53b"
            ]
        ]
    },
    {
        "id": "b6601b41c2265d31",
        "type": "ui_template",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "name": "Icon 6",
        "order": 7,
        "width": 2,
        "height": 2,
        "format": "<img src=\"{{msg.payload.icon}}\" style=\"width: 100%; height: 100%;\">",
        "storeOutMessages": false,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 850,
        "y": 820,
        "wires": [
            [
                "f4fc5bee3e9d46be"
            ]
        ]
    },
    {
        "id": "d078d2ca88b7aea2",
        "type": "ui_template",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "name": "Icon 7",
        "order": 9,
        "width": 2,
        "height": 2,
        "format": "<img src=\"{{msg.payload.icon}}\" style=\"width: 100%; height: 100%;\">",
        "storeOutMessages": false,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 850,
        "y": 860,
        "wires": [
            [
                "9551ba45e24a16f3"
            ]
        ]
    },
    {
        "id": "d9daefceda765058",
        "type": "ui_template",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "name": "Icon 8",
        "order": 11,
        "width": 2,
        "height": 2,
        "format": "<img src=\"{{msg.payload.icon}}\" style=\"width: 100%; height: 100%;\">",
        "storeOutMessages": false,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 850,
        "y": 900,
        "wires": [
            [
                "dd4b555abf4786bd"
            ]
        ]
    },
    {
        "id": "e7adae706d10a64e",
        "type": "ui_template",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "name": "Icon 9",
        "order": 13,
        "width": 2,
        "height": 2,
        "format": "<img src=\"{{msg.payload.icon}}\" style=\"width: 100%; height: 100%;\">",
        "storeOutMessages": false,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 850,
        "y": 940,
        "wires": [
            [
                "f85f2bdb54b2a303"
            ]
        ]
    },
    {
        "id": "b7601a83f8d0c138",
        "type": "ui_text",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "order": 2,
        "width": 11,
        "height": 3,
        "name": "Forecast 3",
        "label": "{{msg.payload.detailedForecast}}",
        "format": "",
        "layout": "row-left",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 1010,
        "y": 700,
        "wires": []
    },
    {
        "id": "083ec3f5b035a41a",
        "type": "ui_text",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "order": 4,
        "width": 4,
        "height": 3,
        "name": "Forecast 4",
        "label": "{{msg.payload.detailedForecast}}",
        "format": "",
        "layout": "row-left",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 1010,
        "y": 740,
        "wires": []
    },
    {
        "id": "3132130fa9ebb53b",
        "type": "ui_text",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "order": 6,
        "width": 4,
        "height": 3,
        "name": "Forecast 5",
        "label": "{{msg.payload.detailedForecast}}",
        "format": "",
        "layout": "row-left",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 1010,
        "y": 780,
        "wires": []
    },
    {
        "id": "f4fc5bee3e9d46be",
        "type": "ui_text",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "order": 8,
        "width": 5,
        "height": 2,
        "name": "Forecast 6",
        "label": "{{msg.payload.detailedForecast}}",
        "format": "",
        "layout": "row-left",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 1010,
        "y": 820,
        "wires": []
    },
    {
        "id": "9551ba45e24a16f3",
        "type": "ui_text",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "order": 10,
        "width": 5,
        "height": 2,
        "name": "Forecast 7",
        "label": "{{msg.payload.detailedForecast}}",
        "format": "",
        "layout": "row-left",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 1010,
        "y": 860,
        "wires": []
    },
    {
        "id": "dd4b555abf4786bd",
        "type": "ui_text",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "order": 12,
        "width": 5,
        "height": 2,
        "name": "Forecast 8",
        "label": "{{msg.payload.detailedForecast}}",
        "format": "",
        "layout": "row-left",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 1010,
        "y": 900,
        "wires": []
    },
    {
        "id": "f85f2bdb54b2a303",
        "type": "ui_text",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "order": 14,
        "width": 5,
        "height": 2,
        "name": "Forecast 9",
        "label": "{{msg.payload.detailedForecast}}",
        "format": "",
        "layout": "row-left",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 1010,
        "y": 940,
        "wires": []
    },
    {
        "id": "e3053fe028c70aa9",
        "type": "ui_text",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "order": 16,
        "width": 5,
        "height": 2,
        "name": "Forecast 10",
        "label": "{{msg.payload.detailedForecast}}",
        "format": "",
        "layout": "row-left",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 1010,
        "y": 980,
        "wires": []
    },
    {
        "id": "592b32d2ee42a729",
        "type": "ui_text",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "order": 18,
        "width": 5,
        "height": 2,
        "name": "Forecast 11",
        "label": "{{msg.payload.detailedForecast}}",
        "format": "",
        "layout": "row-left",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 1010,
        "y": 1020,
        "wires": []
    },
    {
        "id": "af2dc6d034e5bbc4",
        "type": "ui_template",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "name": "Icon 10",
        "order": 15,
        "width": 2,
        "height": 2,
        "format": "<img src=\"{{msg.payload.icon}}\" style=\"width: 100%; height: 100%;\">",
        "storeOutMessages": false,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 840,
        "y": 980,
        "wires": [
            [
                "e3053fe028c70aa9"
            ]
        ]
    },
    {
        "id": "bd7fec81f3348bde",
        "type": "ui_template",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "name": "Icon 11",
        "order": 17,
        "width": 2,
        "height": 2,
        "format": "<img src=\"{{msg.payload.icon}}\" style=\"width: 100%; height: 100%;\">",
        "storeOutMessages": false,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 840,
        "y": 1020,
        "wires": [
            [
                "592b32d2ee42a729"
            ]
        ]
    },
    {
        "id": "56bb5167f165ab2a",
        "type": "ui_text",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "order": 20,
        "width": 5,
        "height": 2,
        "name": "Forecast 12",
        "label": "{{msg.payload.detailedForecast}}",
        "format": "",
        "layout": "row-left",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 1010,
        "y": 1060,
        "wires": []
    },
    {
        "id": "3c2d906739f2065e",
        "type": "ui_text",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "order": 22,
        "width": 5,
        "height": 2,
        "name": "Forecast 13",
        "label": "{{msg.payload.detailedForecast}}",
        "format": "",
        "layout": "row-left",
        "className": "",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#000000",
        "x": 1010,
        "y": 1100,
        "wires": []
    },
    {
        "id": "55184d4384911cf5",
        "type": "ui_template",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "name": "Icon 12",
        "order": 19,
        "width": 2,
        "height": 2,
        "format": "<img src=\"{{msg.payload.icon}}\" style=\"width: 100%; height: 100%;\">",
        "storeOutMessages": false,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 840,
        "y": 1060,
        "wires": [
            [
                "56bb5167f165ab2a"
            ]
        ]
    },
    {
        "id": "ef595db4e4d8f1be",
        "type": "ui_template",
        "z": "7a5397e6f3f6e0e5",
        "group": "2f878f18d87c7818",
        "name": "Icon 13",
        "order": 21,
        "width": 2,
        "height": 2,
        "format": "<img src=\"{{msg.payload.icon}}\" style=\"width: 100%; height: 100%;\">",
        "storeOutMessages": false,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 840,
        "y": 1100,
        "wires": [
            [
                "3c2d906739f2065e"
            ]
        ]
    },
    {
        "id": "528988c185289648",
        "type": "inject",
        "z": "7a5397e6f3f6e0e5",
        "name": "15min",
        "props": [],
        "repeat": "900",
        "crontab": "",
        "once": true,
        "onceDelay": 0.1,
        "topic": "",
        "x": 100,
        "y": 720,
        "wires": [
            [
                "7366b6efcd6c6169",
                "2e2e95c5deb53196"
            ]
        ]
    },
    {
        "id": "7366b6efcd6c6169",
        "type": "http request",
        "z": "7a5397e6f3f6e0e5",
        "name": "Grid forecast",
        "method": "GET",
        "ret": "obj",
        "paytoqs": "ignore",
        "url": "https://api.weather.gov/gridpoints/GSP/29,65/forecast",
        "tls": "",
        "persist": false,
        "proxy": "",
        "insecureHTTPParser": false,
        "authType": "",
        "senderr": false,
        "headers": [],
        "x": 270,
        "y": 720,
        "wires": [
            [
                "a4ccbe6f67bfdcfe"
            ]
        ]
    },
    {
        "id": "a4ccbe6f67bfdcfe",
        "type": "change",
        "z": "7a5397e6f3f6e0e5",
        "name": "",
        "rules": [
            {
                "t": "move",
                "p": "payload.properties.periods",
                "pt": "msg",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 270,
        "y": 780,
        "wires": [
            [
                "11c52ee41d257c0b"
            ]
        ]
    },
    {
        "id": "11c52ee41d257c0b",
        "type": "split",
        "z": "7a5397e6f3f6e0e5",
        "name": "",
        "splt": "\\n",
        "spltType": "str",
        "arraySplt": 1,
        "arraySpltType": "len",
        "stream": false,
        "addname": "",
        "property": "payload",
        "x": 510,
        "y": 780,
        "wires": [
            [
                "1d1c534204dd62cf"
            ]
        ]
    },
    {
        "id": "77d9e820a79ab53e",
        "type": "ui_group",
        "name": " Tablet",
        "tab": "7c7eaf50c20ab7bb",
        "order": 2,
        "disp": false,
        "width": "14",
        "collapse": false,
        "className": ""
    },
    {
        "id": "2f878f18d87c7818",
        "type": "ui_group",
        "name": "Tablet 2",
        "tab": "44e29057bb6e203e",
        "order": 1,
        "disp": false,
        "width": "14",
        "collapse": false,
        "className": ""
    },
    {
        "id": "7c7eaf50c20ab7bb",
        "type": "ui_tab",
        "name": "Weather",
        "icon": "dashboard",
        "order": 1,
        "disabled": false,
        "hidden": false
    },
    {
        "id": "44e29057bb6e203e",
        "type": "ui_tab",
        "name": "Weather 2",
        "icon": "dashboard",
        "order": 2,
        "disabled": false,
        "hidden": false
    }
]
1 Like