Help with NR configuration

Hello All Sorry to ask what I hope with be a simple question but is been driving me nuts.
I have been using NR for a while now and have figured most things out. but this one it stumping me.
I am using a call service node to get weather forecasts and it returns data like this:
msg.payload : Object
object
weather.openweathermap: object
forecast: array[8]
0: object
datetime: "2024-07-16T12:00:00+00:00"
condition: "rainy"
temperature: 20.4

templow: 14.1
pressure: 1010
cloud_coverage: 87
wind_speed: 24.62
wind_bearing: 294
uv_index: 5.86
precipitation_probability: 100
precipitation: 3.76
dew_point: 14.9
wind_gust_speed: 42.26
humidity: 85
1: object
datetime: "2024-07-17T12:00:00+00:00"
condition: "partlycloudy"
temperature: 20.5
templow: 12.8
pressure: 1021
cloud_coverage: 29
wind_speed: 16.42

I am interested is only the following data
payload["weather.openweathermap"].forecast[0].precipitation
payload["weather.openweathermap"].forecast[1].precipitation_probability

So how do I take this data and use it to set a helper of the same names so I can use it a flow to control garden watering?

Sorry if I am asking this in the wrong area or it a dumb question but just carnt work it out.

Thanks in advance

Is a 'helper' a Home Assistant thing? Not many here use HA so you might be better asking on an HA forum.

Ok thanks for you help

Though if you can tell us in exactly what structure you want the data then we can probably help.
This may be helpful Working with messages : Node-RED

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.