1) Give a description of the problem
I am using the new $twcweather.forecast.qpf function and I cannot get the total rainfall for the day. I’ve read that depending on when you run the function, you will get different results, but how do you get the total for that day. $twcweather.forecast.qpf give me 15 days including the current day. To test, I make this run every hour so I can see and each time, today’s value changes so what do you use to get the total and or expect rainfall for the day?
2) What is the expected behaviour?
I was expecting $twcweather.forecast.qpf[0] to give me the expected total rainfall for the given day. Previously $weather.forecast.simpleforecast.forecastday.qpf_allday.in would run every hour and throughout the day, the number would be a running total. At the end of the day, I would save that to a variable.
3) What is happening/not happening?
I have to $twcweather.forecast.qpf[0] running every hour, but it is not a running total. Sometimes the number is high, and other times it is lower. I’ve noticed that if it does not rain at night, the number is 0 so it looks like it did not rain all day when it actually has, but I have no idea which number to capture this information.
4) Post a Green Snapshot of the piston
(UPLOAD YOUR IMAGE HERE)
5) Attach logs after turning logging level to Full
(PASTE YOUR LOGS HERE THEN HIGHLIGHT ALL OF THE LOGS AND CLICK ON THE </> ICON TO FORMAT THEM CORRECTLY)