From f1a8fe56ffa61fa6243ff7d655914608c36b4652 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Tue, 18 Mar 2025 01:31:38 -0400 Subject: [PATCH] Track nationwide severe thunderstorm warnings --- flows.json | 119 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) diff --git a/flows.json b/flows.json index 85b7c9b..95e10c0 100644 --- a/flows.json +++ b/flows.json @@ -2176,6 +2176,23 @@ "w": 692, "h": 82 }, + { + "id": "d96ff91f5f860dcc", + "type": "group", + "z": "ebd5561c4f077718", + "name": "National Weather Alerts", + "style": { + "label": true + }, + "nodes": [ + "ca1f406359324108", + "9825ebb82719c364" + ], + "x": 34, + "y": 679, + "w": 732, + "h": 82 + }, { "id": "fba69dfc80829db7", "type": "junction", @@ -4705,6 +4722,56 @@ "resend": false, "debugEnabled": false }, + { + "id": "4eaaca1b829b7144", + "type": "ha-device-config", + "name": "National Weather Alerts", + "hwVersion": "", + "manufacturer": "Node-RED", + "model": "", + "swVersion": "" + }, + { + "id": "3983b0de296263e9", + "type": "ha-entity-config", + "server": "9e87348d.9c1c48", + "deviceConfig": "4eaaca1b829b7144", + "name": "National Severe Thunderstorm Warnings", + "version": 6, + "entityType": "sensor", + "haConfig": [ + { + "property": "name", + "value": "National Severe Thunderstorm Warnings" + }, + { + "property": "icon", + "value": "mdi:weather-lightning" + }, + { + "property": "entity_picture", + "value": "" + }, + { + "property": "entity_category", + "value": "" + }, + { + "property": "device_class", + "value": "" + }, + { + "property": "unit_of_measurement", + "value": "warnings" + }, + { + "property": "state_class", + "value": "measurement" + } + ], + "resend": false, + "debugEnabled": false + }, { "id": "afead614fabc01bb", "type": "function", @@ -29579,6 +29646,58 @@ [] ] }, + { + "id": "ca1f406359324108", + "type": "mqtt in", + "z": "ebd5561c4f077718", + "g": "d96ff91f5f860dcc", + "name": "Severe Thunderstorm Warning - National", + "topic": "weather/alerts/general/severe_thunderstorm_warning", + "qos": "2", + "datatype": "auto-detect", + "broker": "fd29421fc00140a8", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 220, + "y": 720, + "wires": [ + [ + "9825ebb82719c364" + ] + ] + }, + { + "id": "9825ebb82719c364", + "type": "ha-sensor", + "z": "ebd5561c4f077718", + "g": "d96ff91f5f860dcc", + "name": "National Severe Thunderstorm Warnings", + "entityConfig": "3983b0de296263e9", + "version": 0, + "state": "payload.count", + "stateType": "msg", + "attributes": [ + { + "property": "alerts", + "value": "payload.alerts", + "valueType": "msg" + }, + { + "property": "tornado_possible", + "value": "payload.tornado_possible", + "valueType": "msg" + } + ], + "inputOverride": "allow", + "outputProperties": [], + "x": 580, + "y": 720, + "wires": [ + [] + ] + }, { "id": "1f7af146c06b8b85", "type": "ha-select",