You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the issue is together with the locales.
In the widget configuration I entered: coordinates = {52.36, 10.76}
But for any reason the coordinates were interpreted as numbers with a comma as separation mark.
Out of curiosity, I would like to understand why this is the case.
But for the moment, the solution is to set the values
like here coordinates = {'52.36', '10.76'} .
Hello,
I would like to use the weather-api-widget. I noticed strange temperatures.
Widget configuration in rc.lua:
generates:
DEBUG: coordinates: table: 0x5e9abaffea70
DEBUG: args.coordinates 1: 52,36
DEBUG: args.coordinates 2: 10,76
DEBUG: coordinates 1: 52,36
DEBUG: coordinates 2: 10,76
DEBUG: weather_api call: https://api.weatherapi.com/v1/forecast.json?q=52,36,10,76&key=API_key&units=metric&lang=de&days=3
---> Mexico
In the API call the coordinates should be with point instead of comma.
https://api.weatherapi.com/v1/forecast.json?q=52.36,10.76&key=API_key&units=metric&lang=de&days=3
--> Germany
Any hint how I can set the coordinates right in the configuration?
The text was updated successfully, but these errors were encountered: