Home Assistant Community

National Weather Service

#1

Since we’re about to lose Weather Underground and now Yahoo Weather, this should be a good alternative.

Please see https://www.weather.gov/documentation/services-web-api

0 Likes

#2

To anyone who might want to take this up, there is already a Python Rest API for this on pypi… should only be a few hours of work to get this into home assistant…NOAA/NWS would be a much better source than having users play API whack-a-mole with a nearly-core feature (weather). My python skills are like 3rd grade level, but I’d be happy to test/help out where I can…

1 Like

#3

I don’t know if you’ve seen this or not:

It’s not an official component of HA but it works pretty good if I do say so myself…:smile:

1 Like

#4

Awesome. You should turn this into a component.

0 Likes

#5

I have literally no idea how to do that.

0 Likes

#6

I think someone already did.

0 Likes

#7

That is just the sensor portion of the alert system. From what I can see there’s not really any more benefit to using that component than using the custom component that was already made by @eracknaphobia that I’m already using in the above referenced thread.

It would still need all of the other automations and scripts there to do anything more with it.

0 Likes

#8

and those scripts are running flawlessly thank you very much.

1 Like

#9

Too bad we have so few votes on this feature request. We need a lot more so it gets developers’ attention and who knows, some of them decide to write a new component for weather based on this service.

0 Likes

#10

I took initiative even though i have never made a HA component before or really did any programming in python. Here is my very early version of the sensor component https://github.com/dcshoecomp/noaa_alerts

https://community.home-assistant.io/t/noaa-weather-alerts-from-weather-gov-aka-us-national-weather-service/104519?u=dcshoecomp
I am using the noaa-sdk :slight_smile:

1 Like

#11

I have a weather component working. See below. It probably needs to be updated to the new structure, but works in 0.89. I’ve hesitated to change it since no other weather platform had changed.

I also have modified the weather card to display day/night and precipitation probability.

image

I was planning on submitting a PR for this after I laid some needed groundwork by adding necessary unit conversations first. But my pressure fix PR has been dead in the water for almost three weeks.

2 Likes

#12

Looks great.

0 Likes

#13

https://community.home-assistant.io/t/us-nws-weather-observations-and-forecast/

0 Likes