Well, for irrigation purposes it doesn’t really matter how much it rained a whole week ago. Could also be that it’s an API limitation. @petergridge can surely answer that.
If you need more, you will have to do deal with that yourself. Maybe use the old values from the recorder in a statistic sensor. Or write the values periodically into variables or text inputs.
I found a solution using the Statistics integration.
First of all I created a template sensor, just to be sure to have the entity updated once a hour even if the value do not change (the update is due to the attribute):
Are you still using this? I tried setting it up with the regular openweathermap integration in hourly mode, however i am getting values that are way too high.
I also receive values that are way too high, maybe 5-10 times more than forecasted.
I see that the Openweather sensor.openweathermap_rain it updates every 10 min, so for the newly created sensor “Rain last hour” I have divided it by 6.
template:
trigger:
platform: time_pattern
minutes: “0” # every hour
sensor:
The rain has stopped and i cannot verify, but the values are closer to reality. For example a 1mm/hr rain is a light rain (the car wiper blades can run intermittently), while a 10mm/hr (is more of a rain-storm where wiper blades might need a 3rd speed).
Must admit I’m pretty new to Home Assistant. Busy finding my way. Sometimes it feels like looking into a rusty watch. Feels I’m getting the hang of it though.
And than I come across this… rain gauges. Verry interesting for me. But I can’t get it to do anything.
I do have the openweather itegration running. It is showing me all sorts of weather data. But I’m interested in the cumul for a couple of days. To decide if the garden pump should run. So yeah… this thread is interesting.
Kinda followed the example Boelle gave. Edited configuration.yaml, created rainmeter.yaml and rainmeter_1h.yaml (commented the others out for now).
I can reload this config, seems to be valid. But what does it do? Where can I find what I’ve just created?