I’m trying to mimic your code for my umbrella reminder message through my speaker and until I saw your post I was using the current chance precipitation provided from the smart weather station tile device. but ive always felt like it wasn’t enough because currently could be no rain but in the next 2 hours could be 100 chance rain. for the purpose of the umbrella reminder it was unreliable. if I understand your code correctly you have an expression which evaluates the max POP for within the next 4 hours. and if its lower than 30 it will say you probably wont need an umbrella.
Ive tried to amend this for the next 6 hours. however in the evaluation box I’m just getting a 2 does that mean the max chance in the next 6 hours is 2% or does the 2 represent something else? I ask because the wiki is kind of confusing to me the way it explains what return you will get the example says something about 40 percent… but the example return shows a bunch of single digit numbers.
Probability of Precipitation
Syntax
$weather.hourly.hourly_forecast.pop
Returns
Returns the probability of precipication. Probability of precipitation refers to the percent chance that a specific location (i.e., the local airport) will receive measurable precipitation (.01 inch of rain or melted snow) in these type of weather conditions. For example, on ten days when the weather is similar to today’s, the airport will receive at least .01 inches of rain on four of those days if the chance of rain is 40%.
Example
[0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 4, 5, 5, 6, 6, 7, 7, 7, 5, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 3, 2]