Hi everyone,
I have a Netatmo rain gauge in the garden, and until now the daily rainfall lived in a plain bar gauge on my dashboard. It works, but sitting between twenty other bars and donuts it just blends in. I wanted something I could read at a glance from across the room, so I built a card that draws an actual garden rain gauge, the kind you stick in the ground with a funnel, a graduated tube and a mounting bracket, and fills it with water as the day goes on.
What it does:
- the water level follows your precipitation sensor, in mm or inches depending on the entity unit
- graduations adapt themselves to the daily maximum you set (20 mm here, adjust to your climate)
- a collapsible button opens a 24 h chart of rain bars, either hourly or half hourly
- sensor battery in the top right corner (icon, percentage, or both) and connectivity in the top left
- four gauge tints: clear, bottle green, amber, smoked, and the bracket can be hidden
- full visual editor, so no YAML needed unless you want it
- translated into English, French, German, Spanish, Italian and Dutch, picked up automatically
One thing that saved me time: if the sensor you pick is not a daily cumulative, which happens a lot (a rate in mm/h, or a sensor that only reports the rain since the last reading), the editor shows a button that creates the meter for you. One click and the helper exists and the card switches to it. I got tired of hand building utility_meter helpers every time.
Installation, while the card waits to land in the default store (request submitted):
HACS, three dots menu, Custom repositories, add https://github.com/ADNPolymerase/ha-pluviometer-card with category Dashboard, install it, then hard refresh your browser.
YAML if you prefer:
type: custom:pluviometer-card
entity: sensor.rain_gauge_precipitation_today
label: today
max_level: 20
secondary_entity: sensor.rain_gauge_precipitation
secondary_name: Rain rate
battery_entity: sensor.rain_gauge_battery
connectivity_entity: binary_sensor.rain_gauge_connectivity
show_history: true
Full option list in the README: GitHub - ADNPolymerase/ha-pluviometer-card: Home Assistant Lovelace card: a real garden rain gauge that fills up with your precipitation sensor · GitHub
I tested it against Netatmo, but it takes any numeric sensor, so if you run Ecowitt, a weather integration or something homemade I would love to hear whether it behaves. Bugs and ideas are welcome in the repo issues, or right here.
Happy rain watching.
