Page 1 of 1
Open Weather Map not working since 2021.1 upgrade
Posted: Saturday 24 April 2021 15:27
by f14driver
Hi,
Maybe sombody already has a solution for this, my OWM isn't recieiving any updates on it's sensor since the upgrade to version 2021.1
The worker can be started and stopped without errors, it logs that the worker is started but the sensors aren't updated at all.
Did someone else have the same issue and maybe even a solution for it ?
Lookiung forward to your input.
Re: Open Weather Map not working since 2021.1 upgrade
Posted: Saturday 24 April 2021 15:37
by plugge
Sounds like a browser cache problem.
Try the instruction at
https://www.domoticz.com/wiki/Browser_Cache
Most likely this will solve the problem.
Re: Open Weather Map not working since 2021.1 upgrade
Posted: Saturday 24 April 2021 17:01
by EddyG
Does not sound like a browser cache problem to me at all.
Beter increase logging and post those OWM results here.
My OWM is working fine.
Re: Open Weather Map not working since 2021.1 upgrade
Posted: Saturday 24 April 2021 18:02
by kiddigital
Look at the logging and see if the OWM module is able to get the data for the given location. There have been significant changes to the OWM API’s and the module in Domoticz.
Re: Open Weather Map not working since 2021.1 upgrade
Posted: Saturday 24 April 2021 18:50
by f14driver
It isn’t a cache problem. I upgraded 14 Pi’s without a hitch.
This one has the sole function of being a virtual weather station and UPS monitor.
Only notificaties I get is the mention that the location is found ( Amsterdam, NL).
If I put in the exact location based on longitude and lattitude it also confirms the location.
There are no errros in the logging but measurements for all devices are not coming in.
Worked fine under the 2020.1 stable version.
Re: Open Weather Map not working since 2021.1 upgrade
Posted: Saturday 24 April 2021 19:24
by EddyG
It still might be an idea to increase loglevel to debug. You will see more and might identify what the cause is.
Re: Open Weather Map not working since 2021.1 upgrade
Posted: Sunday 25 April 2021 10:43
by f14driver
Fixed by recreating the OWM Hardware and devices on a different Raspberry Pi, all readings are coming in correctly now.
Thanks for the advice, the devices dind't report anything on the old Pi.
Statistics are gone off course but that wasn't the main concern.
Reused the API key form the old station and all is running without errors now.
Re: Open Weather Map not working since 2021.1 upgrade
Posted: Sunday 25 April 2021 10:46
by kiddigital
@f14driver , did you have ‘enable adding new devices’ turned on (on your old Pi)? Might be that the OWM module wanted to create some additional devices which it could not do and therefor also not updated the existing ones?
Re: Open Weather Map not working since 2021.1 upgrade
Posted: Sunday 25 April 2021 11:12
by f14driver
@kiddigital, yes that was enabled, devices were present but didn't reveive any updates. Also no entries came into the logging.
After recreation it worked fine, I wanted to move the weatherstation at some point in the future but have expidited that now
Thanks for the advice.
Re: Open Weather Map not working since 2021.1 upgrade
Posted: Wednesday 28 April 2021 15:23
by mobielbas
Same problem after updating. Thanks for the solution!
Re: Open Weather Map not working since 2021.1 upgrade
Posted: Saturday 01 May 2021 16:11
by marivesel
Hi, the problem is that after the 2021.1 upgrade, the OWM Devices you have used before are no more used by Domoticz/OWM Add-On. Maybe the upgrade changes some modifications about the Add-On.
The problem is easily fixed - just delete/ignore the previously used devices. Then go to to Setup-Devices, sort them by ID and you will find some new OWM Devices, which are correctly working and are updating, you just need to hit the green arrow next to them, to add them to your UI.
Re: Open Weather Map not working since 2021.1 upgrade
Posted: Monday 18 July 2022 20:04
by axello2
Thanks for the fix! After removing + adding it worked for me as well.
Re: Open Weather Map not working since 2021.1 upgrade
Posted: Tuesday 19 July 2022 8:54
by jake
Same problem after updating from a half year old beta version to most recent.
I fixed it by selecting the open weather hardware and click 'update'.
I need to build a script that checks for last update, or last change in temperature, since it wasn't the first time that I made a wrong decision by acting on outdated outside temperature.