Open Weather Map not working with version 2022.1
Posted: Wednesday 28 September 2022 14:45
Hi All,
I'm having an issue getting OWM to work with Domoticz 2022.1 (same issue running on both a Raspberry pi and also a Windows 10 machine as a test)
I enable new devices to be added.
Configure the hardware using my API key and location. I change the default forecast to use OWM.
My issue is that I do not get any additional devices created and I see errors in the error log:
I know the API key and the connectivity to OWM is okay as I see this in the status log after I configure. I use place,country and the api returns the city ID and Lat/Long.
The status logs show: (location details removed in this snippet, but they are correct)
If I manually CURL the OWM API from within a SSH session, I get the data returned. The forecast screen also works correctly, so it's not a connectivity issue either.
OWM has never worked, so I don't see that the issue is related to some leftovers from a previous upgrade.
I've a number of other devices connected via Z-Wave and a P1 sensor which all work perfectly.
Any help would be gratefully received.
Thank you in advance.
Cheers
Kevin
I'm having an issue getting OWM to work with Domoticz 2022.1 (same issue running on both a Raspberry pi and also a Windows 10 machine as a test)
I enable new devices to be added.
Configure the hardware using my API key and location. I change the default forecast to use OWM.
My issue is that I do not get any additional devices created and I see errors in the error log:
Code: Select all
Error: Weather: Error getting http data!
The status logs show: (location details removed in this snippet, but they are correct)
Code: Select all
2022-09-28 10:23:51.088 Status: New sensors allowed for 5 minutes...
2022-09-28 10:24:21.555 Status: Weather: Using specified location (City XXXXXXXX, YY)!
2022-09-28 10:24:21.869 Status: Weather: City (1234567)-> Lat/Long = 50.XXXX,4.YYY
2022-09-28 10:24:21.869 Status: Weather: Updating preferences for forecastscreen to use OpenWeatherMap!
2022-09-28 10:24:21.870 Status: Weather: Started
OWM has never worked, so I don't see that the issue is related to some leftovers from a previous upgrade.
I've a number of other devices connected via Z-Wave and a P1 sensor which all work perfectly.
Any help would be gratefully received.
Thank you in advance.
Cheers
Kevin