-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Applet no longer connecting to yr.no #89
Comments
Figured it out. yr.no has changed their website, so the code no longer works. It needs to be be modified to match the new layout. OWM works fine. |
@gbcox You can use the yr.no old website layout to copy the working URL. Before confirm the URL in widget window, remember to replace (not sure for how long yr.no will keep the old URL working) |
This doesn't help. The widget does not accept URLs that begin with Obviously, the code should be updated to parse the new website layout, but sadly, this would probably never happen. The project seems to be abandoned since 2017... |
Before confirm the URL in widget window, remember to replace retro by www |
Confirmed. However, the question remains whether the code will be adjusted to the new website. |
Probably adjusting this line will make it work. |
As @sergiodurand pointed out, there is no need to change anything in the code. Just taking away "retro" from the URL is fine. However, this would work only until |
That's exactly the point, the retro.site will be removed sooner or later. |
Retro site should be online for a couple of years, otherwise does not have sense to make a legacy url. But this repo hasn't been updated in three years. Probably it's time to make a fork. |
I inquired at yr.no on the availabilty of the retro site, and I have just got this answer: "Meteorologisk institutt (Yr) |
I am interested too, I really like yr.no informations + meteogram! |
Workaround:
|
Yep, that works!!! Thanks! |
Meteogram still not work with the workaround on my side. 😢 |
As I have already mentioned above, the retro.yr site will be removed soon, maybe this month. |
Lucky people who'll keep old links 😉 |
Now it seems the retro site has been shut down... |
I just switched over to using Open Weather Map. Seems to work fine. |
Yes, OW works, but yr.no was very accurate in terms of weather forecast... I've loved it but I do not have the programming skills to "repair" yr.no data fetching... 🙁 |
Probably the only solution, since the applet is not maintained anymore (tried to contact the maintainer some time ago without success). With yr.no the applet is dead. |
The retro site is back! The applet is working as expected again. |
Very strange... couple of minutes ago it was "broken" 😁 |
The meteogram on the new yr site appears to be more like what is used on the OWM site - and says "under construction". Not sure if that means they are working on making it look the same as the retro site or keep the "new" look. If they keep the "new" look, I don't see any advantage of yr.no over OWM. The retro meteogram on yr.no is very nice, but the new one isn't anything special. |
The only solution is to fork this. 😉 |
yr.no data has stopped working as of this morning so in effect the app is now specifically for OWM only. They scheduled this at yr.no some time ago and it has come to fruition for the app now, Wednesday onwards is showing N/A for the meteogram already. I will switch the the nearest OWM station too which isn't quite as accurate as the Norwegian Weather Service prediction but still better than BBC's. |
Strange, still works for me! |
Works for me also. No issues. |
|
Are you asking a question? You can't use retro.yr.no. You have to use www.yr.no. For example: https://www.yr.no/place/United_Kingdom/Wales/Betws_yn_Rhos/ |
No, I'm well aware of the need to do that. I'm just providing proof of that exact url not working any longer in the app. Look at the meteogram for Wednesday in the screenshot, the predictive table below it was generated with the last dataset available on the website but there is no detailed weather table for Wednesday onwards that the meteogram would be generated from. The new site has them but the app cannot read them because it doesn't know where to load it from, they are using not only a new site but also a new server and backend. |
I don't know what you're doing, but the URL that I provided: https://www.yr.no/place/United_Kingdom/Wales/Betws_yn_Rhos/ |
Today yr.no stopped working for me. |
I let KDE render the meteogram rather than using the yr.no one in your screenshot because I find the yr.no meteogram too low contrast to see properly and jarring on the black UI background. It's in the app settings to do so, however it cannot render off data it cannot find. But anyway, seeing as it has begun failing for other people it clearly cannot be attributed to 'what I'm doing' now can it. |
It seems the good old http://www.yr.no website has finally gone for good now, and it's time to switch to somewhat less accurate OWP data - at least until someone forks this applet. |
Yes, https://retro.yr.no/ does not exist anymore, but after some recent hiccup the weather widget just works fine. However, it is unclear to me how to add new links that provide the information delivered so far. |
As mentioned previously, you have to rebuild the URL in this format: https://www.yr.no/place/United_Kingdom/Wales/Betws_yn_Rhos/ If you saved your previous places, you should be fine. All of my links are working. |
Ha, yep, it works again, and previous links still work. |
Weird. https://www.yr.no/place/United_Kingdom/Wales/Betws_yn_Rhos/ works while the new website displays it in this format: https://www.yr.no/en/forecast/daily-table/2-7299981/Great%20Britain/Wales/Conwy/Betws%20Yn%20Rhos |
Just over a week on and it's now stopped working permanently for the plasmoid for every location (with a message instead of a meteogram now) and for the last time I had used the right url format since it was posted about last December. Since this is really abandonware anyway it's pointless even discussing this further or as someone else has done opening a new issue. Stick with OWM or move to one of the standard KDE Weather plasmoid data source based Plasmoids. I wish you all well in future endeavours! |
It seems to be a seesaw situation. In fact, for me it's working again after a couple of hours. According to https://developer.yr.no/doc/guides/deprecating-old-widgets/, there is an alternative, which, however, does not work for me. |
It's either their site (they are making ongoing changes), their internet provider, DNS or a mix and/or match of a multitude of factors. I'm the OP and the fix listed in this thread has been working for me since December 2020. Yes, occasionally I notice things aren't updating, but I just leave it alone and the next time I check it's back. I did read your post about the old widgets (thank you for the heads-up, BTW). IMHO, the meteogram was the differentiator for the yr.no service. If they are indeed going to deprecate it, I see no reason for me to continue to use their service. For those of you who might be interested in trying another KDE desktop widget, I would recommend: It also will integrate your google calendar, etc. if you use that service. |
Throttling could explain why it periodically stops working for some. As far I as understand the TOS, this API shouldn't be used directly by clients. So this applet is kind of unsanctioned use of their service. The API used by this applet is being phased out but for those of whom it's still working it's probably not great to use a short update interval. Their data only updates 4 times a day anyways for every where outside of Scandinavia. |
Within the last week, applet stopped updating. I'm thinking it may be due to recent Qt / Plasma updates, but I suppose there is also the possibility that yr.no has changed something on their end. In any event, I thought I'd let you know so you could check it out.
Thanks!
The text was updated successfully, but these errors were encountered: