I’m looking for an integration that will tell me the probability of rain in my area over the next 24 hours. I want to use this with my irrigation automation to skip a watering day if the chance of rain is over 75%. I can’t find an integration that can give me this info. Does anyone know of an integration that will give me this?
Where are you based?? Most integrations do this. Have you checked?
I’m based in Iowa. I’ve tried Accuweather and Openweather but neither seem to have what I’m looking for.
Accuweather has a thunderstorm probability but not a pure precipitation probability
OpenWeatherMap has a sensor.openweathermap_forecast_precipitation_probability
but that is the probability of precipitation for the current day.
What I’d really prefer is something that could tell me the chance in the next 24 hours. Although, I suppose I could maybe get the OpenWeatherMap sensor to work for me if I set my irrigation time in the early morning as that sensor would then basically give me the probability in the next 24 hours.
have you looked at weather.home the default met.no integration that HA installs by default? It has predicted rainfall although not a probability
I have that integration, and it does show probability, but I don’t see how I can specify the next 24 hours. It looks like it’s organized by date so I’d have to continually change the date to look at.
you can use a template sensor to extract tomorrows data from the attributes s
something like this
{{ state_attr('weather.home', 'forecast')[1].precipitation_probability }}
Should return 52 for tomorrow…
Yep, that works. Thanks for the help!!
if is it possible, could you please share your total automation yaml?
How can i use this in the automation? For example i want to get an information message if precipitation is high. Could you please share a example automation ?
I’ve been using your code for some time now, but it seems to have stopped working.
I see in the documents that now we need to call for a forecast update service?
Or am I missing something else?
I ended up fixing it like this, following the docs:
template:
- trigger:
- platform: time
at: "04:30:00"
- platform: time
at: "16:30:00"
action:
- service: weather.get_forecasts
data:
type: daily
target:
entity_id: weather.my_home
response_variable: daily
sensor:
- name: "Precipitation Probability Today"
unique_id: precipitation_probability_today
state: "{{ daily['weather.my_home'].forecast[0].precipitation_probability }}"
unit_of_measurement: "%"