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

Alarms are repeating for the same events #30

Open
atlaspl opened this issue Apr 11, 2024 · 0 comments
Open

Alarms are repeating for the same events #30

atlaspl opened this issue Apr 11, 2024 · 0 comments

Comments

@atlaspl
Copy link

atlaspl commented Apr 11, 2024

I've been using the automation feature to document more efficiently. It was functioning properly until recently. However, since yesterday, there has been a eartquake, and now it occasionally triggers for the same event repeatedly.
The aqutomation is this:

alias: INFO INGV terremoti
description: ""
trigger:

  • platform: geo_location
    source: ingv_centro_nazionale_terremoti
    zone: zone.geoalert
    event: enter
    condition: []
    action:

  • service: notify.joins21
    data:
    title: TERREMOTO
    message: >-
    Rilevato terremoto a una distanza di {{trigger.to_state.state}} Km
    da casa. Magnitudo: {{trigger.to_state.attributes.magnitude}}
    Epicentro: {{trigger.to_state.attributes.region}} Profondità:
    {{trigger.to_state.attributes.depth}} km. Il terremoto è avvenuto alle
    {% set data_utc = trigger.to_state.attributes.publication_date
    %} {{as_timestamp(data_utc)|timestamp_custom('%H:%M:%S -
    %d/%m/%Y')}}

  • service: notify.joins24
    data:
    title: TERREMOTO
    message: >-
    Rilevato terremoto a una distanza di {{trigger.to_state.state}} Km
    da casa. Magnitudo: {{trigger.to_state.attributes.magnitude}}
    Epicentro: {{trigger.to_state.attributes.region}} Profondità:
    {{trigger.to_state.attributes.depth}} km. Il terremoto è avvenuto alle
    {% set data_utc = trigger.to_state.attributes.publication_date
    %} {{as_timestamp(data_utc)|timestamp_custom('%H:%M:%S -
    %d/%m/%Y')}}

  • condition: time
    after: "07:00:00"
    before: "23:00:00"
    weekday:

    • tue
    • wed
    • thu
    • fri
    • sat
    • sun
    • mon
  • service: tts.google_say
    data:
    entity_id: media_player.google_sala
    message: >
    Rilevato terremoto a una distanza di {{trigger.to_state.state}} Km da

    casa. Magnitudo: {{trigger.to_state.attributes.magnitude}}  Epicentro:
    
    {{trigger.to_state.attributes.region}} Profondità:
    
    {{trigger.to_state.attributes.depth}} km. Il terremoto è avvenuto alle
    {% set data_utc =
    
    trigger.to_state.attributes.publication_date %}
    
    {{as_timestamp(data_utc)|timestamp_custom('%H:%M:%S - %d/%m/%Y')}}
    

mode: queued

In my log I found these errors:
Questo errore ha avuto origine da un'integrazione personalizzata.

Registratore: aio_quakeml_client.feed
Fonte: custom_components/ingv_centro_nazionale_terremoti/init.py:160
integration: INGV Earthquakes (documentazione, problemi)
Prima occorrenza: 7 aprile 2024 alle ore 07:45:38 (121 occorrenze)
Ultima registrazione: 10:29:34

Requesting data from https://webservices.ingv.it/fdsnws/event/1/query?lat=**.*******&lon=12.66378164291382&maxradiuskm=75.0&minmag=3.0&starttime=2024-04-10T06:53:00 failed with timeout error
Requesting data from https://webservices.ingv.it/fdsnws/event/1/query?lat=**.*******&lon=12.66378164291382&maxradiuskm=75.0&minmag=3.0&starttime=2024-04-10T07:33:00 failed with timeout error
Requesting data from https://webservices.ingv.it/fdsnws/event/1/query?lat=**.*******&lon=12.66378164291382&maxradiuskm=75.0&minmag=3.0&starttime=2024-04-10T07:54:00 failed with timeout error
Requesting data from https://webservices.ingv.it/fdsnws/event/1/query?lat=**.*******&lon=12.66378164291382&maxradiuskm=75.0&minmag=3.0&starttime=2024-04-10T08:24:00 failed with timeout error
Requesting data from https://webservices.ingv.it/fdsnws/event/1/query?lat=**.********&lon=12.66378164291382&maxradiuskm=75.0&minmag=3.0&starttime=2024-04-10T08:29:00 failed with timeout error

and these:

Questo errore ha avuto origine da un'integrazione personalizzata.

Registratore: aio_quakeml_client.feed_manager
Fonte: custom_components/ingv_centro_nazionale_terremoti/init.py:160
integration: INGV Earthquakes (documentazione, problemi)
Prima occorrenza: 7 aprile 2024 alle ore 07:45:38 (121 occorrenze)
Ultima registrazione: 10:29:34

Update not successful, no data received from <IngvCentroNazionaleTerremotiQuakeMLFeed(home=(.************, 12.66378164291382), url=https://webservices.ingv.it/fdsnws/event/1/query, radius=75.0, magnitude=3.0)>

HOME ASSISTANT:
Core
2024.3.3
Supervisor
2024.04.0
Operating System
12.1
Frontend
20240307.0

Probably the immage I attached can explain the error:
Screenshot_11-4-2024_10549_carhome duckdns org

@atlaspl atlaspl changed the title Alarms repeat for the same events Alarms are repeating for the same events Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant