Community. Driven. Weather. Data.Always Ad-FreeDeveloper FriendlyChecking statusDiscord
Become a supporter
Sign in
DocsHome AssistantHow-to guide

Read storm cells in Node-RED

Get a login for your own MQTT client and read your storm cell topics in Node-RED.


Get a login

Open Credentials on your account, choose New credential, pick MQTT credential, give it a name such as Node-RED and choose Create credential. Copy the username and password; the password is shown once. It can read your own topics as well as your alerts, and you can revoke it from the same page.

Connect Node-RED

Add an mqtt in node and a new broker config:

  1. Server: wss://mqtt.wxalerts.org/mqtt. A wss:// address makes Node-RED connect over WebSocket with TLS.
  2. Security: the username and password of your MQTT credential.
  3. Back on the node, Topic: V2/<account id>/HA/<instance>/storms/place/+/+, QoS 1, Output: a parsed JSON object.

<instance> is your username without the ha-, and <account id> is the number in the topic filters on the Credentials page. See Connecting. A flow built on the older wxalerts/u/<username>/... topics keeps working until Friday, January 1, 2027; change its topic before then.

Follow it with a switch node on msg.payload.episode that passes open and escalate.

An empty payload (the storm has cleared) arrives as an empty string, so check for it before reading fields.

The topics and payload fields are listed in MQTT topics.

View this page as Markdown

May we use Microsoft Clarity to see how pages are used (clicks, scrolling and replays of a visit, with anything you type hidden), plus a random ID linking that to crash reports? Only to find bugs and confusing screens. Never advertising, never sold.