Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing some US NWS alert types #276

Open
Bestivus opened this issue Dec 22, 2024 · 7 comments · May be fixed by #277
Open

Missing some US NWS alert types #276

Bestivus opened this issue Dec 22, 2024 · 7 comments · May be fixed by #277
Labels
bug Something isn't working

Comments

@Bestivus
Copy link

Describe the bug

Currently there is a Cold Weather Advisory in effect where I live. I have MeteoalarmCard configured with the following integration:

https://github.com/ddeatrich/weatheralerts

The integration shows the alert, but the card does not. Looking at the code, it does not appear that Cold Weather Advisories are defined.

Here are list of alert types the NWS could potentially issue:

https://vlab.noaa.gov/web/nws-common-alerting-protocol/cap-documentation#_eventcode_inclusion-16

Integration state attributes

alerts:

  • area: Northern Oneida; Madison; Southern Oneida; Chenango; Otsego; Sullivan
    certainty: Likely
    description: |-
    • WHAT...Very cold wind chills as low as 15 to 20 below zero
      expected.

    • WHERE...Chenango, Madison, Northern Oneida, Otsego, Southern
      Oneida, and Sullivan Counties.

    • WHEN...From midnight tonight to 9 AM EST Sunday.

    • IMPACTS...The cold wind chills as low as 20 below zero could
      result in hypothermia or frostbite if precautions are not taken.
      ends: "2024-12-22T09:00:00-05:00"
      event: Cold Weather Advisory
      instruction: |-
      Use caution while traveling outside. Wear appropriate clothing, a
      hat, and gloves.
      response: Prepare
      sent: "2024-12-21T15:12:00-05:00"
      severity: Moderate
      title: >-
      Cold Weather Advisory issued December 21 at 3:12PM EST until December 22
      at 9:00AM EST
      urgency: Expected
      NWSheadline:

    • COLD WEATHER ADVISORY IN EFFECT FROM MIDNIGHT TONIGHT TO 9 AM EST SUNDAY
      hailSize: "null"
      windGust: "null"
      waterspoutDetection: "null"
      effective: "2024-12-21T15:12:00-05:00"
      expires: "2024-12-21T23:15:00-05:00"
      endsExpires: "2024-12-22T09:00:00-05:00"
      onset: "2024-12-22T00:00:00-05:00"
      status: Actual
      messageType: Alert
      category: Met
      sender: [email protected]
      senderName: NWS Binghamton NY
      id: urn:oid:2.49.0.1.840.0.f1af1e8688d6ec951202b40c64c84bdc718a128f.001.1
      integration: weatheralerts
      state: NY
      zone: NYZ036,NYC053
      icon: mdi:alert
      friendly_name: weatheralerts_1

Screenshots

image

Card version

v.2.7.1

Installation type

Home Assistant Community Store (HACS)

Card Configuration

- type: custom:meteoalarm-card entities: - entity: sensor.weatheralerts_1 integration: weatheralerts hide_when_no_warning: false disable_swiper: false override_headline: false

Integration type

weatheralerts

Integration configuration

YAML (configuration.yaml)

Integration Configuration

sensor:

  • platform: weatheralerts
    state: NY
    zone: 36
    county: 53
@Bestivus Bestivus added the bug Something isn't working label Dec 22, 2024
@MrBartusek
Copy link
Owner

Please provide screenshot of the card

@Bestivus
Copy link
Author

Unfortunately the alert has expired and I don't remember the exact wording, apologies. I entered a different entity to get a similar error to appear:

image

It looked similar to that, with the entity being sensor.weatheralerts_1 and the error text at the top saying something including "Cold Weather" but not "Advisory". Maybe that the title could not be found?

@rcboy43
Copy link

rcboy43 commented Jan 5, 2025

IMG_20250105_054706.jpg
Currently have the same error.

@chrico03
Copy link

I'm getting the same error as @rcboy43 as well

Image

nicksmith53 added a commit to nicksmith53/MeteoalarmCard that referenced this issue Jan 19, 2025
@nicksmith53 nicksmith53 linked a pull request Jan 19, 2025 that will close this issue
@cleevo989
Copy link

cleevo989 commented Jan 19, 2025

I have the same issue as well here in Michigan. Does any one have a fix for this: Cold Air alert error.?

Nick can you tell me how to fix this.?

@zapatos-design
Copy link

I have the same cold weather alert unknown alert type through the US NWS based weatheralerts integration

@tm24fan8
Copy link

For whatever it's worth, I have a similar issue with a Hydrologic Outlook in effect.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants