Page 2 of 2
Re: Open Weather Map API migration
Posted: Thursday 26 December 2024 11:28
by madpatrick
Hi
Still not working
I've a valid OMW3 subscription.
Tested it with
https://api.openweathermap.org/data/3.0 ... id=[APIKEY]
still not working within Dashticz
--------- UPDATE ---------
I've it working now
added this in the bloks
and changed owm_city from city number to city name
Re: Open Weather Map API migration
Posted: Sunday 26 January 2025 19:11
by meal
Hello,
Context of my application :
Version: 2024.7 (build 16453)
Build Hash: 9e3192374
Compile Date: 2025-01-11 15:44:31
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Dec 1 2024, 12:12:57) [GCC 10.2.1 20210110]
Installation of Dashticz beta version V3 on 26/01/2025
Issue:
The weather block using openweathermap api V3 is not operational.
The root cause is a use of http access instead of https to get the coordinates of the city
http://api.openweathermap.org/geo/1.0/d ... d=MYAPIKEY
Fix:
The issue is fixed by changing the http to https access in line 213 of the file:/home/pi/dashticz/js/components/weather.js
var url = '
https://api.openweathermap.org/geo/1.0/direct?q=' + // switch from http to https
BR
Re: Open Weather Map API migration
Posted: Wednesday 29 January 2025 20:24
by Lokonli
meal wrote: ↑Sunday 26 January 2025 19:11
Hello,
Context of my application :
Version: 2024.7 (build 16453)
Build Hash: 9e3192374
Compile Date: 2025-01-11 15:44:31
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Dec 1 2024, 12:12:57) [GCC 10.2.1 20210110]
Installation of Dashticz beta version V3 on 26/01/2025
Issue:
The weather block using openweathermap api V3 is not operational.
The root cause is a use of http access instead of https to get the coordinates of the city
http://api.openweathermap.org/geo/1.0/d ... d=MYAPIKEY
Fix:
The issue is fixed by changing the http to https access in line 213 of the file:/home/pi/dashticz/js/components/weather.js
var url = '
https://api.openweathermap.org/geo/1.0/direct?q=' + // switch from http to https
BR
Thanks! Fixed in latest Dashticz beta.