Ed Sybesma Posted July 12 Posted July 12 No matter what the chance of rain from other weather forecasts, the forecast for each of the next six days in OpenWeatherMap always shows zero (0). My temperature prediction seems to match well with other weather forecasts. This appears to have been consistently true for the last 3 to 4 weeks, ever since I updated to version 4.0.0.
bpwwer Posted July 13 Posted July 13 Try updating to version 4.0.1. I just pushed this update to the store. It looks like OWM 3.0 API reports POP differently than the previous version of the API.
Ed Sybesma Posted July 13 Author Posted July 13 When I go to install at the store, it is telling me that it is still version 4.0.0.
Ed Sybesma Posted July 13 Author Posted July 13 Attached is a partial screenshot 2024-07-12_18-15-01.pdf
Ed Sybesma Posted July 13 Author Posted July 13 Installed 4.0.1. Chance of rain on Forecast0 (today) is now 1800%. All days thereafter are 0%.
bpwwer Posted July 13 Posted July 13 My system was down so I wasn't able to test, but now that I have it working again. Version 4.0.0 works correctly for me, the change I made in 4.0.1 was wrong and not needed. I've pushed 4.0.2 which is exactly like 4.0.0 If you're seeing POP values of zero, that's what OpenWeatherMap is sending.
Ed Sybesma Posted July 13 Author Posted July 13 Perhaps OpenWeatherMap has changed something. They used to match reasonably closely to the percentages I got from The Weather Channel and Weather Underground. Anyway, thank you for checking.
Ed Sybesma Posted July 13 Author Posted July 13 Interestingly, after installing 4.0.2 my chance of rain today is now 18%, which has a certain ring to it (comparing to the 1800% I received under 4.0.1). My two weather channels are both predicting about 10%. And, again, the remaining days in my predictions are all zero compared to Weather Channel and Weather Underground predictions ranging from 5% to 10% over the next six days.
bpwwer Posted July 14 Posted July 14 You can get the URL that the plug-in is using to query OpenWeatherMap from the log when it's at debug level. You can then cut-n-paste that into a browser address bar and see the raw data that OpenWeatherMap is returning. When I did this with mine, I saw a change of rain (20%) for today and 0% for the remaining daily forecasts which matched what the plug-in reported to IoX.
Ed Sybesma Posted July 14 Author Posted July 14 Interesting, today my Administrative Console is showing the same predictions as yours: 20% today followed by 0% for the remaining days. I am not seeing a URL buried in my debug log, but I am getting some seemingly strange lines including the following: 2024-07-13 14:24:40.933 Thread-2 udi_interface WARNING owm:parameterHandler: Please enter a valid API key 2024-07-13 14:24:40.936 Thread-2 udi_interface WARNING owm:parameterHandler: Please enter a valid location 2024-07-13 14:25:17.521 Thread-6 udi_interface.interface WARNING interface:db_getNodeDrivers: forecast_0 not found in database. 2024-07-13 14:25:19.531 Thread-6 udi_interface.interface WARNING interface:db_getNodeDrivers: forecast_1 not found in database. 2024-07-13 14:25:21.510 Thread-4 udi_interface.interface WARNING interface:db_getNodeDrivers: forecast_2 not found in database. 2024-07-13 14:25:21.543 Thread-6 udi_interface.interface WARNING interface:db_getNodeDrivers: forecast_3 not found in database. 2024-07-13 14:25:23.515 Thread-4 udi_interface.interface WARNING interface:db_getNodeDrivers: forecast_4 not found in database. 2024-07-13 14:25:23.564 Thread-6 udi_interface.interface WARNING interface:db_getNodeDrivers: forecast_5 not found in database. My full debug log is attached. debug.log
bpwwer Posted July 15 Posted July 15 That's not a debug log, just a normal log. You need to set the log level to debug. The plug-in will make the query once when it's started and then at every short poll interval.
Ed Sybesma Posted July 15 Author Posted July 15 Got it. Thanks. You are right, the data at the URL does match what I'm seeing. And since you and I are seeing the same thing at our different locations (this afternoon it is still 20% for today followed by all zeros), and since it doesn't match my other weather data, it sounds like OpenWeatherMap itself is having a problem. Thank you for your time, attention, and assistance.
Recommended Posts