Skip to content
Italy METEO-HYDRO ALERT (Protezione Civile)
Branch: master
Clone or download
Latest commit 50eafcb Dec 24, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update issue templates Dec 24, 2019
custom_components/dpc Update Nov 23, 2019 Rename LICENSE to Dec 24, 2019 Update Nov 23, 2019
hacs.json Add files via upload Oct 2, 2019 Update Nov 23, 2019


breaking change (2/10/2019)

ISTAT number is now required. Rename codice to level in attributes.


Italy METEO-HYDRO ALERT To get more detailed information about parameters of warnings visit Civil Protection Department.

This component will set up the following platforms.

Platform Description
binary_sensor Show METEO-HYDRO ALERT True or False.

Configuration options

Key Type Required Default Description
name string False dpc Name of sensor
istat string True None Number data warehouse I.Stat
alert string False GIALLA (Verde,Gialla,Arancione,Rossa)
warnings list False - List of monitored warnings

Possible monitored warnings

Key Description
temporali_oggi Enables thunderstorms risk monitoring today
idraulico_oggi Enables Hydraulic risk monitoring today
idrogeologico_oggi Enables Hydrogeological risk monitoring today
temporali_domani Enables thunderstorms risk monitoring tomorrow
idraulico_domani Enables Hydraulic risk monitoring tomorrow
idrogeologico_domani Enables Hydrogeological risk monitoring tomorrow

Example usage (minimal)

  - platform: dpc
    istat: 58091
      - temporali_oggi

Example usage (complete)

  - platform: dpc
    name: DPC Roma
    istat: '058091'
    alert: 'gialla'
      - temporali_oggi
      - idraulico_oggi
      - idrogeologico_oggi
      - temporali_domani
      - idraulico_domani
      - idrogeologico_domani


The istat number is required, you can easily find it here or you can download the complete list here If the Istat number starts with zero, it must be entered between the quotes.


Information provided by Giovanni Pirrotta's Creative Commons Licenses CC-BY-SA 4.0.

Dati forniti dal servizio di Giovanni Pirrotta - Licenza Creative Commons CC-BY-SA 4.0.

Contributions are welcome!

Thanks to PiotrMachowski for inspiration.

You can’t perform that action at this time.