-
Notifications
You must be signed in to change notification settings - Fork 34
Reflect changes to the Yahoo API format #143
Conversation
Works nicely. Thanks! EDIT: There is one quirk, the windchill value for celsius displays the fahrenheit value. |
There are more unit inconsistencies. The data delivered by Yahoo for Berlin today:
This is a mess. I think I'll adapt the chill conversion, but leave the other ones alone for now. |
Unfortunately, not working for me... [Cinnamon 2.8.7 @ Fedora 23] |
Can you take a look at the Looking Glass log? (Super+L, Tab "Log" or in raw form at ~/.cinnamon/glass.log) |
Hmm, I don't know why it was not working before, but it is working for me now. Sorry for the confusion. But I can confirm that the pressure value in mbar is out of range. Currently it is 1015 mbar, according to my phone, but the applet shows 33220.49 mbar. Temperature, wind, humidity and wind chill seems to be OK. |
I had the same problem and after update with these changes, everything worked like a charm. |
Where can you get these changes? The repo at the head of these comments shows that its most recent change is 28 days ago and that was just a version bump. I have version 1.12.4, which is what that repo is. I think the change described here may fix this: TypeError: json.get_object_member(...).get_object_member(...).get_object_member(...) is null But I can't find where it is! |
Found it - was looking at the wrong repo (needed ccprog's fork) and branch... Good news - it works! |
Works perfectly. Thanks. |
Thanks for the fix, really appreciated :) |
Thanks for fixing it |
At pressure they mess inHg with mbar. switch (this._pressureUnit) { and so on for the rest |
Good catch.
Same here. |
Merged. I'd like to figure out the unit inconsistencies before cutting a release. Please feel free to continue discussion here. |
Don't work for me at all. The error in .cinnamon/glass.log: I tried the old and new weather codes GMXX0088 and 676864 for my city Münster, Germany Thanks, |
@ikarus13, If you are using my git ccprog/cinnamon-weather, you need to change the branch: In mockturtl/cinnamon-weather, the changes are now part of the master branch @mockturtl, the question is whether you would patch errors that are obviously in the realm of Yahoo. These errors are known (here and here) and you would have to track their correction and eventually remove the patches again. I don't see a way to reliably distinguish correct and garbled data from the API response. |
Now that this has been merged, is there any plans of a new release of this applet in the near future? Because in the meantime, the applet is broken to everyone (not using git), so I believe a new release should be a high priority. |
Please don't make me continue to moderate your useless questions. |
As described in #127, there seem to be changes to the weather API. These are reflected here, and are working for me as of 13-4-2016.
In addition, to enable users to find current WOEIDs, the "Get WOEID" button now points to http://woeid.rosselliot.co.nz/