Kodi Community Forum

Full Version: Gismeteo (weather.gismeteo)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
now it doesn´t work again (502 and 504 error). Nothing was changed.
Give it some time. I noticed some IP changes bewteen gismeteo.com & meteofor.com.
Probably work is still being done.

BTW: gismeteo.ru is still up, -the .com domain has probably been sold.-
It is not usable with Kodi though.
(2024-09-28, 14:54)Han Swolo Wrote: [ -> ]The websitename "gismeteo.com" has changed in https://meteofor.com/, so I have changed this in my addon.xml and now it's working again.

<website>https://www.gismeteo.com/</website> to
<website>https://meteofor.com/</website>
Hope this helps.

The addon.xml file has 2 parts, the one under the <requires> part and the one under the <extension> part. The "requires" part is what dependencies the addon has, e.g. on xbmc.python which actually sets the minimum kodi version it is compatible with.
The stuff under the "extension" part is just info for the addon, e.g. the dev's email, description in various languages etc. So, changing something in it does not affect the addon's functionality at all. Feel free to try jim.com there or any other domain name you like, real or fake. It is as pointless as correcting a typo.

The real work for the addon is done by one or more python files. In this case, and upon close inspection, the addon uses this url to get any info it needs.
 
Code:
https://services.gismeteo.net/inform-service/inf_chrome/forecast/?lang=en&city=(your number here)
You can take the number from gismeteo/meteofor url for your city, e.g. 744 is for London, put it there, open the url in a browser and see if it works. As you can see, no matter how the addon or the site is named, its api is still on the gismeteo.NET domain.
For the time being going to settings of gismeteo >location and resetting to default seems to temporarily get rid of the bad gateway error. Or for me it has. Kodi 21.1/ G streamer
If I put https://services.gismeteo.net/inform-ser...n&city=744 in the browser I get "502 Bad Gateway".
About the "use default location" part. When using that, gismeteo tries to find your location based on your ip and scrapes this url
Code:
https://services.gismeteo.net/inform-service/inf_chrome/cities/?count=1&lang=en&mode=ip&nocache=1
This means "use my ip to find my location, if there are many candidates for it just pick the first and do not cache the result", which is a bit different from the other url that says "use this code to find my location" and nothing more. If it works for you, you can keep it. For me, it shows Athens... which is hundreds of miles away from here, so it is not helpful at all.

About the errors. Let me make it simpler. The addon or the browser do not work because the api returns a 502 or 504 error, which means there is an issue on the server side of it (the server that hosts the api providing all the info), not on the client (the addon or the browser). Also, if it works for someone, it MAY be because kodi or the browser has cached the data last time it run and got proper results. Try it on an private browsing window if possible and check again. If it works consistently, then the api works fine on your end.
We now have another option for weather:

https://forum.kodi.tv/showthread.php?tid=378813
Just a quick FYI - I've sent an email to Gismeteo yesterday (when the issue first came up on my end) and this is what I just received back.
Quote:Thank you for your message. Gismeteo has officially transitioned to Meteofor, and we are now operating under the new brand. If you need more information about Meteofor, feel free to reach out to us.

Best regards,
Meteofor Support Team
Hello! I enjoy your add-on! Just started customizing my Kodi and I love it!
I was wondering if theres a way to have the temperature show in the corner near the time like in the menu while a movie is playing? Or when pressing play? Is this a setting already or a bug I'm not sure.. But when I saw the temp at the top I was like, perfect that exactly what I wanted! And then realized while watching my episode earlier that the temperature was gone, but in fact it was just in the main menu.
Thanks for you good work, and enjoy holiday month! Big Grin
ImageImage
Pages: 1 2 3 4 5 6 7