![]() ![]() The current list of Wunderground PWS stations is available here. pws_id ( Optional): You can enter a Personal Weather Station ID.api_key ( Required): The API key for Weather Underground. ![]() If your s_alerts attributes look like this see this post here for all of the possible alert codes.# Example configuration.yaml entry sensor : - platform : wunderground api_key : your_api_key monitored_conditions : - alerts - dewpoint_c # Create a new persistent notification in the UI for a new alert service: persistent_notification.dismiss # up with these if there are more then one. # Dismiss any current alert so the UI isn't filled Well now what? You don't think I'm going to click the sensor every time I notice it turns from a 0 to a 1? Of course not.įirst I made a script to handle creating a Persistent Notification in the Home Assistant Front End: script: Great, we have this information (and in my case, an active alert) in Home Assistant. If we look at the entity attributes for our new s_alerts sensor you'll see where all the useful information is.Īnd if you click on the sensor itself, you'll see this information in it's state card. ![]() This sensor is a little confusing because nobody wants just a binary state- we want to know what's going on. (Most likely with a 0 instead of a 1 unless you have an active weather alert!) I've already added a friendly name to mine. You'll get a binary sensor that looks like this. ![]() I was very excited to have this additional data point in Home Assistant because unless I was at home and able to watch my preferred local news station the only other trustworthy source of getting this information pushed to me was using a Ham radio and tuning into the NOAA Weather Radio transmission on 162.400 Mhz.Īfter you add alerts to your Wunderground sensor configuration like below # Example configuration.yaml entry I remember when this functionality was first included in Home Assistant. Let's take a look at how I started to use the alerts monitored condition of the Weather Underground component in Home Assistant. Leveraging Home Assistant during Severe Weather Brent Saltzman Leveraging Home Assistant During Severe Weather ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |