# Help with NR configuration

**URL:** <https://discourse.nodered.org/t/help-with-nr-configuration/89536>\
**Category:** General\
**Created:** [16 July 2024 07:32 UTC](https://discourse.nodered.org/t/help-with-nr-configuration/89536 "2024-07-16T07:32:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ali-Austin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ali-austin/32/80097_2.png) [@Ali-Austin](https://discourse.nodered.org/u/Ali-Austin)\
**Post date:** [16 July 2024 07:32 UTC](https://discourse.nodered.org/t/help-with-nr-configuration/89536/1 "2024-07-16T07:32:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [16 July 2024 08:07 UTC](https://discourse.nodered.org/t/help-with-nr-configuration/89536/2 "2024-07-16T08:07:29Z")

</div>

> [@Ali-Austin](#):
>
> 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

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

---

<div class="post-metadata">

**Author:** ![Ali-Austin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ali-austin/32/80097_2.png) [@Ali-Austin](https://discourse.nodered.org/u/Ali-Austin)\
**Post date:** [16 July 2024 09:50 UTC](https://discourse.nodered.org/t/help-with-nr-configuration/89536/3 "2024-07-16T09:50:11Z")

</div>

Ok thanks for you help

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [16 July 2024 10:04 UTC](https://discourse.nodered.org/t/help-with-nr-configuration/89536/4 "2024-07-16T10:04:24Z")

</div>

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](https://nodered.org/docs/user-guide/messages)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [14 October 2024 10:04 UTC](https://discourse.nodered.org/t/help-with-nr-configuration/89536/5 "2024-10-14T10:04:25Z")

</div>

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