Home Assistant sensor with meteo alerts in Poland.
Version 0.0.5 contain 48 sensors, divided by eg. warning level, phenomenon, activity.
Data comes from meteo service of IMGW-PIB - Instytut Meteorologii i Gospodarki Wodnej, Państwowy Instytut Badawczy, with fallowing endpoints:
- https://meteo.imgw.pl/api/meteo/messages/v1/osmet/latest/osmet-teryt
- https://meteo.imgw.pl/api/meteo/messages/v1/osmet/latest/komet-teryt
- https://meteo.imgw.pl/api/meteo/messages/v1/warnhydro/latest/warn
Warning
Just in case: if you have an earlier version, please remove all devices before migrating to 0.0.4!
Use HACS for instalation, just add https://github.com/duchu-net/meteo-warnings-poland
as custom repo.
Search and add in integration manager [Meteo Warnings Poland], selected your region for watching (rest is optional) - check your region on dynamic map.
- 0.0.5 (dev, main branch) - contain 2 new sensors with max warning level divided by activity (ogłoszony/aktywny).
- 0.0.4 - contain 46 sensors, divided by warning level, phenomenon and activity.
automation:
- alias: "Set Light Color Based on Warning Level"
trigger:
- platform: state
entity_id: sensor.ostrzezenia_krosno_poziom_ogloszony
action:
- choose:
- conditions:
- "{{ states('sensor.ostrzezenia_krosno_poziom_ogloszony') | int == 0 }}"
sequence:
- service: light.turn_on
target:
entity_id: light.my_rgb_lamp_entity
data:
rgb_color: [0, 255, 0] # Green
- conditions:
- "{{ states('sensor.ostrzezenia_krosno_poziom_ogloszony') | int == 1 }}"
sequence:
- service: light.turn_on
target:
entity_id: light.my_rgb_lamp_entity
data:
rgb_color: [255, 255, 0] # Yellow
- conditions:
- "{{ states('sensor.ostrzezenia_krosno_poziom_ogloszony') | int == 2 }}"
sequence:
- service: light.turn_on
target:
entity_id: light.my_rgb_lamp_entity
data:
rgb_color: [255, 165, 0] # Orange
- conditions:
- "{{ states('sensor.ostrzezenia_krosno_poziom_ogloszony') | int == 3 }}"
sequence:
- service: light.turn_on
target:
entity_id: light.my_rgb_lamp_entity
data:
rgb_color: [255, 0, 0] # Red
- Burze.dzis.net sensor - lightning tracking service, data source: burze.dzis.net > blitzortung.org (Germany)
- MeteoAlarm - service aggregating weather warnings in Europe, data source: Federal Institute for Geology, Geophysics, Climatology and Meteorology (Austria)
- multi-sensor coordinator
- warnings in progress
- forecast warnings
- language support
- MeteoalarmCard integration