Posts: 3,547
Joined: Sep 2009
Reputation:
106
Hey Ronie...
This sort of thing is a good idea.....seems to be there should ideally be just one super weather addon, for which folks (like me) can write python information providers, to an interface, for...which might save a bit of re-work in all the various addons and keep things very consistent.
Basically the super addon would say 'here's are the _possible_ things to fill up with data' ...and the info provider would fill up whatever it can from that...would be one step back from setting the skin labels etc. directly.
Obviously, different providers might have different limits for stuff, and the addon would need to cope with that when displaying data, but it would at least unify some the weather system. Kind of like the 'Universal ... Scraper' stuff.
Any merit in that idea you think?
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 792
Joined: Nov 2016
Reputation:
108
wags1
Posting Freak
Posts: 792
2020-03-05, 21:19
(This post was last modified: 2020-03-05, 21:20 by wags1.)
Ronie, any chance of incorporating some of the code from the wundergroundpws addon that cytech put together? For those who have their own Personal Weather Station (PWS) it seems to provide some functionality that at least allows you to display weather info from your own PWS. This only works if you have your own PWS and can get a new personal api from weather underground. Do a google search or a search over on github and you should be able to find it. Read the README file for configuration details. It’s still a bit rough around the edges but has some promise I think. Kudos to cytech for working it up!
Posts: 5,210
Joined: Jul 2012
Reputation:
335
2020-03-06, 05:57
(This post was last modified: 2020-03-06, 06:07 by scott967.)
This has kind of broken my skin because I was doing one thing if provider is Yahoo and something else if provider is Weatherbit.io. Is there some way of knowing which provider is available?
Update: OK, I see now you concatenate all the providers you get data for, so I have to prioritize based on what's returned in the providers string.
scott s.
.
Posts: 7
Joined: Nov 2009
Reputation:
0
Hi... Anyone know where I can find this add-on? I don't see in the repos..., Thanks in advance.
Posts: 5,210
Joined: Jul 2012
Reputation:
335
The readme documentation says extended property current.precipitation is the 3 hour accumulation; however what is actually returned is the yahoo precipitation probability. The old weatherbit.io current.precipitation was the accumulation, but it isn't provided now in multi.
It might be nice to restore the accumulation, but probably better to use a new property for it as I think most (all?) weather addons are providing precipitation probability in current.precipitation. Maybe something like current.accumulation.
Also the readme says current.snow is returned but it isn't. (same issue -- it's in leia weatherbit but not returned now.
scott s.
.
Posts: 15,261
Joined: Jan 2009
Reputation:
726
ronie
Team-Kodi Member
Posts: 15,261
thanx, i'll update the readme.
Posts: 29
Joined: Jul 2017
Reputation:
1
2020-04-19, 19:25
(This post was last modified: 2020-04-19, 22:24 by ronie.)
Hi, since I am Philip Arthur Dent I have a possibly incredibly stupid question.
The new Weather Service in Kodi looks fine to me, but I do no seem to be able to see the
Weather maps.
I have (at least I think I have) put in the right keys at the right places but still no maps..
I have attached a log.
mod edit: removed
PAD.
Posts: 15,261
Joined: Jan 2009
Reputation:
726
ronie
Team-Kodi Member
Posts: 15,261
ah, i now remember there's an issue with weather.multi and recent kodi builds...
a fixed version of weather.multi is on it's way to the addon repo.