2021-06-01, 05:34
Ok, latest test version is here: https://www.dropbox.com/s/s4rza68v3hkmv8...4.zip?dl=0 - with the fixes for the min temp issue above.
Also now reports times (Sunrise, sunset etc) - in the local time for the currently being viewed location (as opposed to local time of the system).
Now has sun protection warning info in the extended forecast, if there is a current recommendation (e.g. 'Sun protection is recommended from 9:40am to 3:40pm.')
I have not yet done anything about the max temp as that appears to stay valid in the forecast data from what I can see. Otherwise, not sure what to do there without some example JSON forecast data to help me figure it out...but I think the Fire and UV should work as is.
BUT NOTE -> this now requires the pytz module.
As you're installing from a zip file, I don't think it will automatically fetch this for you. You might have it on your system already for other reasons, in which case it should be ok, once you re-start Kodi.
If not - you can entirely uninstall OzWeather, then re-install from the zip - I _think_ this will then automatically get the dependency for you.
OR, you can manually install pyzt from the .zip here:
http://mirrors.kodi.tv/addons/matrix/scr...trix.2.zip
Then install the updated OzWeather zip, then re-start Kodi and all should be ok.
(I do see that addons installed by zip will not automatically update, so once the final version is accept into the Kodi repo, you will actually have to uninstall/re-install I think - sorry! I have been pushing all the fixes/changes to the v2.0.0 release in the meantime...)
Also now reports times (Sunrise, sunset etc) - in the local time for the currently being viewed location (as opposed to local time of the system).
Now has sun protection warning info in the extended forecast, if there is a current recommendation (e.g. 'Sun protection is recommended from 9:40am to 3:40pm.')
I have not yet done anything about the max temp as that appears to stay valid in the forecast data from what I can see. Otherwise, not sure what to do there without some example JSON forecast data to help me figure it out...but I think the Fire and UV should work as is.
BUT NOTE -> this now requires the pytz module.
As you're installing from a zip file, I don't think it will automatically fetch this for you. You might have it on your system already for other reasons, in which case it should be ok, once you re-start Kodi.
If not - you can entirely uninstall OzWeather, then re-install from the zip - I _think_ this will then automatically get the dependency for you.
OR, you can manually install pyzt from the .zip here:
http://mirrors.kodi.tv/addons/matrix/scr...trix.2.zip
Then install the updated OzWeather zip, then re-start Kodi and all should be ok.
(I do see that addons installed by zip will not automatically update, so once the final version is accept into the Kodi repo, you will actually have to uninstall/re-install I think - sorry! I have been pushing all the fixes/changes to the v2.0.0 release in the meantime...)