Skip to content
AWTRIX Flows
Submit flow
Full weather forecast by joining sensors and then parsing the combined flow shown on an AWTRIX display
Fig. 1 Full weather forecast by joining sensors and then parsing the combined flow, as David Colahan runs it.

Full weather forecast by joining sensors and then parsing the combined flow

In this flow, I take the value of various existing Home Assistant weather sensors and join them to form a full weather forecast. If any sensor value is updated, the entire forecast gets updated.

Specifications
System Node-RED
Firmware AWTRIX 3
Topic Smarthome
Built by David Colahan
File EgkVBAnY5n4x.json · 8.2 KB
Icons
Published 29 May 2023
Downloads 5
Download flow

This app takes the sensor data that might be used in a custom weather card to create an app. It's a fairly simple app with the one 'trick' being to change the msg.topic of the sensor values to make a meaningful key/value object in the Join node. The Join mode waits until it gets data from all of the sensors (6 message parts) and the outputs each time a new part is received. The function node then parses out the variables to create the app. I've applied some simple conditional logic to shorten the message if there is no rain.

Use your own sensors (set output on connect to on)

More flows for Node-RED or Smarthome

Something wrong with this flow? Report it.