[
    {
        "id": "1689eb0077d3ba22",
        "type": "tab",
        "label": "Rain",
        "disabled": false,
        "info": ""
    },
    {
        "id": "467deb9d59581b25",
        "type": "inject",
        "z": "1689eb0077d3ba22",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "3600",
        "crontab": "",
        "once": true,
        "onceDelay": 0.1,
        "topic": "",
        "payloadType": "date",
        "x": 160,
        "y": 100,
        "wires": [
            [
                "29e8e12189fe8e06"
            ]
        ]
    },
    {
        "id": "29e8e12189fe8e06",
        "type": "http request",
        "z": "1689eb0077d3ba22",
        "name": "Jepps Hill IVICTORI1014",
        "method": "GET",
        "ret": "obj",
        "paytoqs": "ignore",
        "url": "https://api.weather.com/v2/pws/observations/current?stationId=IVICTORI1014&format=json&units=m&apiKey=*** API KEY***",
        "tls": "",
        "persist": false,
        "proxy": "",
        "authType": "",
        "senderr": false,
        "x": 360,
        "y": 160,
        "wires": [
            [
                "83f3e17a8097227c",
                "97dfe5b7a3d12d73"
            ]
        ]
    },
    {
        "id": "83f3e17a8097227c",
        "type": "debug",
        "z": "1689eb0077d3ba22",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 650,
        "y": 160,
        "wires": []
    },
    {
        "id": "97dfe5b7a3d12d73",
        "type": "change",
        "z": "1689eb0077d3ba22",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.observations[0].metric.precipTotal",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "topic",
                "pt": "msg",
                "to": "Jepps Hill",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 450,
        "y": 220,
        "wires": [
            [
                "38b5df8509b68621",
                "4339c7d5edae1c66"
            ]
        ]
    },
    {
        "id": "5ae0f58ccc79380d",
        "type": "http request",
        "z": "1689eb0077d3ba22",
        "name": "BOM Coldstream",
        "method": "GET",
        "ret": "obj",
        "paytoqs": "ignore",
        "url": "http://reg.bom.gov.au/fwo/IDV60901/IDV60901.94864.json",
        "tls": "",
        "persist": false,
        "proxy": "",
        "authType": "",
        "senderr": false,
        "x": 310,
        "y": 340,
        "wires": [
            [
                "a29ce1f8713f8dd2",
                "09a6fba102b05fa5"
            ]
        ]
    },
    {
        "id": "13d16fc70fadbc8b",
        "type": "inject",
        "z": "1689eb0077d3ba22",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "3600",
        "crontab": "",
        "once": true,
        "onceDelay": 0.1,
        "topic": "",
        "payloadType": "date",
        "x": 120,
        "y": 340,
        "wires": [
            [
                "5ae0f58ccc79380d"
            ]
        ]
    },
    {
        "id": "a29ce1f8713f8dd2",
        "type": "debug",
        "z": "1689eb0077d3ba22",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 540,
        "y": 340,
        "wires": []
    },
    {
        "id": "09a6fba102b05fa5",
        "type": "change",
        "z": "1689eb0077d3ba22",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "$number(payload.observations.data[0].rain_trace)",
                "tot": "jsonata"
            },
            {
                "t": "set",
                "p": "topic",
                "pt": "msg",
                "to": "Coldstream",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 400,
        "y": 400,
        "wires": [
            [
                "e80abb2232d4a75f",
                "4339c7d5edae1c66"
            ]
        ]
    },
    {
        "id": "53d0815830a427ce",
        "type": "debug",
        "z": "1689eb0077d3ba22",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 630,
        "y": 500,
        "wires": []
    },
    {
        "id": "fc3da32e2b342035",
        "type": "http request",
        "z": "1689eb0077d3ba22",
        "name": "Healesville Fire Station IHEALESV5",
        "method": "GET",
        "ret": "obj",
        "paytoqs": "ignore",
        "url": "https://api.weather.com/v2/pws/observations/current?stationId=IHEALESV5&format=json&units=m&apiKey=*** API KEY***",
        "tls": "",
        "persist": false,
        "proxy": "",
        "authType": "",
        "senderr": false,
        "credentials": {},
        "x": 360,
        "y": 520,
        "wires": [
            [
                "53d0815830a427ce",
                "6fdb55e37731c0a5"
            ]
        ]
    },
    {
        "id": "e97273c92d7ce1dd",
        "type": "inject",
        "z": "1689eb0077d3ba22",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "3600",
        "crontab": "",
        "once": true,
        "onceDelay": 0.1,
        "topic": "",
        "payloadType": "date",
        "x": 130,
        "y": 460,
        "wires": [
            [
                "fc3da32e2b342035"
            ]
        ]
    },
    {
        "id": "6fdb55e37731c0a5",
        "type": "change",
        "z": "1689eb0077d3ba22",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.observations[0].metric.precipTotal",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "topic",
                "pt": "msg",
                "to": "Firestation",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 420,
        "y": 580,
        "wires": [
            [
                "8d3bbe0b084cb693",
                "4339c7d5edae1c66"
            ]
        ]
    },
    {
        "id": "8d3bbe0b084cb693",
        "type": "influxdb out",
        "z": "1689eb0077d3ba22",
        "influxdb": "ca2902bb8ed96100",
        "name": "fire_station_rain",
        "measurement": "fire_station_rain",
        "precision": "",
        "retentionPolicy": "",
        "database": "database",
        "precisionV18FluxV20": "ms",
        "retentionPolicyV18Flux": "",
        "org": "watertank",
        "bucket": "watertank",
        "x": 640,
        "y": 580,
        "wires": []
    },
    {
        "id": "e80abb2232d4a75f",
        "type": "influxdb out",
        "z": "1689eb0077d3ba22",
        "influxdb": "ca2902bb8ed96100",
        "name": "coldstream_rain",
        "measurement": "coldstream_rain",
        "precision": "",
        "retentionPolicy": "",
        "database": "database",
        "precisionV18FluxV20": "ms",
        "retentionPolicyV18Flux": "",
        "org": "watertank",
        "bucket": "watertank",
        "x": 680,
        "y": 400,
        "wires": []
    },
    {
        "id": "38b5df8509b68621",
        "type": "influxdb out",
        "z": "1689eb0077d3ba22",
        "influxdb": "ca2902bb8ed96100",
        "name": "jepps_hill_rain",
        "measurement": "jepps_hill_rain",
        "precision": "",
        "retentionPolicy": "",
        "database": "database",
        "precisionV18FluxV20": "ms",
        "retentionPolicyV18Flux": "",
        "org": "watertank",
        "bucket": "watertank",
        "x": 700,
        "y": 220,
        "wires": []
    },
    {
        "id": "4339c7d5edae1c66",
        "type": "ui_chart",
        "z": "1689eb0077d3ba22",
        "name": "Rain",
        "group": "9e9defc275051d0e",
        "order": 3,
        "width": 0,
        "height": 0,
        "label": "Rain",
        "chartType": "line",
        "legend": "false",
        "xformat": "auto",
        "interpolate": "linear",
        "nodata": "",
        "dot": false,
        "ymin": "",
        "ymax": "",
        "removeOlder": "90",
        "removeOlderPoints": "",
        "removeOlderUnit": "86400",
        "cutout": 0,
        "useOneColor": false,
        "useUTC": false,
        "colors": [
            "#1f77b4",
            "#aec7e8",
            "#ff7f0e",
            "#2ca02c",
            "#98df8a",
            "#d62728",
            "#ff9896",
            "#9467bd",
            "#c5b0d5"
        ],
        "outputs": 1,
        "useDifferentColor": false,
        "className": "",
        "x": 750,
        "y": 340,
        "wires": [
            []
        ]
    },
    {
        "id": "ca2902bb8ed96100",
        "type": "influxdb",
        "hostname": "127.0.0.1",
        "port": "8086",
        "protocol": "http",
        "database": "database",
        "name": "",
        "usetls": false,
        "tls": "",
        "influxdbVersion": "2.0",
        "url": "http://192.168.1.3:8086",
        "rejectUnauthorized": true,
        "credentials": {}
    },
    {
        "id": "9e9defc275051d0e",
        "type": "ui_group",
        "name": "Rain",
        "tab": "f4cb39df05d8b677",
        "order": 1,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "f4cb39df05d8b677",
        "type": "ui_tab",
        "name": "Tank Level",
        "icon": "dashboard",
        "disabled": false,
        "hidden": false
    }
]