# Student in need of help Setting up Weather API

**URL:** https://discourse.nodered.org/t/student-in-need-of-help-setting-up-weather-api/77328
**Category:** General
**Created:** [6 April 2023 20:55 UTC](https://discourse.nodered.org/t/student-in-need-of-help-setting-up-weather-api/77328 "2023-04-06T20:55:23Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![JamesIoTStudent](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@JamesIoTStudent](https://discourse.nodered.org/u/JamesIoTStudent)
#### Post date: [6 April 2023 20:55 UTC](https://discourse.nodered.org/t/student-in-need-of-help-setting-up-weather-api/77328/1 "2023-04-06T20:55:23Z")

</div>

Hello would someone be willing to help me figure out how to add the weather service api so I can see it in a dashboard?

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [6 April 2023 21:01 UTC](https://discourse.nodered.org/t/student-in-need-of-help-setting-up-weather-api/77328/2 "2023-04-06T21:01:17Z")

</div>

You will need to say which API and what you have tried for yourself.

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [6 April 2023 21:10 UTC](https://discourse.nodered.org/t/student-in-need-of-help-setting-up-weather-api/77328/3 "2023-04-06T21:10:27Z")

</div>

Welcome to the forum @JamesIoTStudent

What do you mean by "the weather service"? There are several weather APIs.  
Personally I use OpenWeatherMap.

And how do you envisage your dashboard will look?  
If you search the forum and [flows.nodered.org](http://flows.nodered.org) you will find lots of examples of weather dashboards.

---

<div class="post-metadata">

### Author: ![JamesIoTStudent](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@JamesIoTStudent](https://discourse.nodered.org/u/JamesIoTStudent)
#### Post date: [6 April 2023 21:26 UTC](https://discourse.nodered.org/t/student-in-need-of-help-setting-up-weather-api/77328/4 "2023-04-06T21:26:17Z")

</div>

Thank you I tried National Weather service API (hourly version) and I did get some data back . I am trying this now [GitHub - johnwalicki/Node-RED-Severe-Weather-Alert-Map: Severe Weather Alert Map Node-RED Dashboard using The Weather Company APIs](https://github.com/johnwalicki/Node-RED-Severe-Weather-Alert-Map)

---

<div class="post-metadata">

### Author: ![JamesIoTStudent](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@JamesIoTStudent](https://discourse.nodered.org/u/JamesIoTStudent)
#### Post date: [6 April 2023 23:32 UTC](https://discourse.nodered.org/t/student-in-need-of-help-setting-up-weather-api/77328/5 "2023-04-06T23:32:06Z")

</div>

I ended up using [openweathermap.org](http://openweathermap.org) API and I have had positive results getting data and posting to dashboard. Now Im going to try to figure out how to add custom icons to the dashboard...

---

<div class="post-metadata">

### Author: ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)
#### Post date: [7 April 2023 04:25 UTC](https://discourse.nodered.org/t/student-in-need-of-help-setting-up-weather-api/77328/6 "2023-04-07T04:25:27Z")

</div>

This might give you some ideas of how to plot "things" on the worldmap.

> [@Plotting the location of wildfires on the Dashboard](https://discourse.nodered.org/t/plotting-the-location-of-wildfires-on-the-dashboard/63048):
>
> Just been working on a "fun" project for my IoT students. Plotting the location of wildfires on the Dashboard. It makes use of data from NASA to plot markers on the worldmap node on the Dashboard. Although most of the function nodes (in the flow) use JavaScript, there is a section in the tutorial-guide that introduces some very basic JSONata to query and transform the array-data received from NASA. I must give credit to @E1cid for his work creating the Jsonata in the Chan…

Although it's for plotting wildfires using data from NASA, I'm sure the concept could be adapted.

---

<div class="post-metadata">

### Author: ![JamesIoTStudent](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@JamesIoTStudent](https://discourse.nodered.org/u/JamesIoTStudent)
#### Post date: [7 April 2023 04:43 UTC](https://discourse.nodered.org/t/student-in-need-of-help-setting-up-weather-api/77328/7 "2023-04-07T04:43:43Z")

</div>

Oh wow! Thank you so much Im going to dive into this... could be very helpful as Im in a wildfire state as well!

---

<div class="post-metadata">

### Author: ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)
#### Post date: [7 April 2023 05:54 UTC](https://discourse.nodered.org/t/student-in-need-of-help-setting-up-weather-api/77328/8 "2023-04-07T05:54:54Z")

</div>

My IoT students worked on this exercise one afternoon a week over a number of weeks. If you read through the Tutorial there is a step-by-step guide that should help you. Good luck. Hope you find this helpful.

---

<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: [6 June 2023 05:55 UTC](https://discourse.nodered.org/t/student-in-need-of-help-setting-up-weather-api/77328/9 "2023-06-06T05:55:52Z")

</div>

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