"My Weather"
#1
display the local weather.
i've seen this with the myhtpc program, it looks
very nice

outbit

Image
#2
i had suggested this in xbmp, and i would still love to see it in xbmc, but i don't think anyone else had much interest in it.

http://sourceforge.net/tracker....d=64793

but weather.com does have an xml interface in to their database, and publishes their interface at

http://www.weather.com/services/oap.html?
from=servicesindex

you just sign up and get a free licence code from them. you can also download their sdk at http://download.weather.com/web/xml/sdk.zip which includes a short pdf on how to use the xml feed as well as all the graphics for various weather conditions.
#3
Star 
i would love this one too
#4
this would rock the casbah!

especially if you could have it display the detailed info you can view when you go to their webpage so you could see an hourly breakdown of the weather.
it would also be cool if you could set a default zip code but still be able to check weather in other zipcodes (using the keyboard interface to input it).
Kodi v17.6 on Asustor NAS
Kodi v17.6 on Fire Stick v2
#5
i think this would be pointless bloat, it has nothing to do with xbmc's purpose of playing media.
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
#6
(poing @ nov. 23 2003,20:02 Wrote:i think this would be pointless bloat, it has nothing to do with xbmc's purpose of playing media.
hmm. it kind of have as much to do with it as a tvguide since you cant watch tv on the box...

a weather guide can show us if we should sit and play/watch movies or go outside in the sun without having to look outside... Wink
#7
also, xbmc/xbmp can act as a dashboard, which means i turn on my stereo switch over to the already running xbox, select "weather" and i can see what the weather will be like today and whether i should bother taking my raincoat/umbrella, or if its shorts and sandals weather, etc.

it would also be neat if it could get the surfing conditions so i know if i should get up early the next morning to go surfing. the same could be said for skiers and snow.

so while it doesn't meet with the "media player" side of things, xbmc is a media "center" and also a dashboard. so anything useful like this should be added if the developers/a developer like the idea.
Kodi v17.6 on Asustor NAS
Kodi v17.6 on Fire Stick v2
#8
i think you have a great idea. i would love to see somthing similar to that. if python matures enough, it wouldn't be too hard to do. hmmm now i need to start looking into python. only thing i don't like about python is that its neat freak Angry . but still powerful enough to do lot of these things.
#9
Star 
thanks for the idea... i made a simple python script to download current weather conditions and display them on your screen.  the ui isn't great, but it works.
Quote:#display weather forecast on your xbox


########enter your zip code###########
zipcode = '94025'        


import sys, urllib, string, urlparse, re, xbmc, xbmcgui

#will parse out text between given tag
def parsexml( line, tag ):
   result= re.search('<' + tag + '>.*' + tag + '>', line, re.dotall)
   try:
       if result.group(0):
           mod = string.replace(result.group(0), '<' + tag + '>','')
           mod = string.replace(mod, '</' + tag + '>', '')
           mod = string.lstrip(mod)
           return mod
   except:
       return


url = 'http://www.rssweather.com/rss.php?config=&forecast=zandh&zipcode=' + zipcode + '&alt=rss20a'
data = urllib.urlopen(url)
currentline= data.read()
itemdivide= string.split(currentline, '<item>')
place= parsexml(itemdivide[0], 'title')

i=1
items= len(itemdivide)
dayforecast=[]
forecast=[]

while i < items:
   check=parsexml(itemdivide[i], 'category')
   if check=="current conditions":
       time=parsexml(itemdivide[i], 'pubdate')
       ctemp=parsexml(itemdivide[i], 'description')
   if check=="weather forecast":
       forecast.append(parsexml(itemdivide[i],'description'))
       dayforecast.append(parsexml(itemdivide[i], 'title'))
   i=i+1
   
# now we have all the parts we need so display to the user

dialog= xbmcgui.dialog()
dayforecast.insert(0, 'exit')
dayforecast.insert(0, 'current temperature: ' + ctemp)
dayforecast.insert(0, 'information from: ' + time)
selected= dialog.select(place, dayforecast)
if selected < 3:
   print 'quitting..'
else:
   dialog.ok(dayforecast[selected],forecast[selected-3])
                 
#10
there is something called superkaramba for unix flavored os-es. it allows tiny (scripted) programs make your desktop more beautifull by adding things like clocks, systeminfo and weatherinfo on your desktop.

i'm not a python guru but i use this "liquid weather ++" script for superkaramba on my freebsd machine and it works great. it displays the weather in you own location (it's configurable through a gui) and it lools very nice. i don't have the time or the python knowledge to pick this up but perhaps someone else will.

check this url for screenshots and the files:
http://www.kde-look.org/content/show.php?content=6384
#11
why not implement a weather info like this in mythtv?

http://mythtv.sf.net/mc/mweather1.png
http://mythtv.sf.net/mc/mweather2.png
http://mythtv.sf.net/mc/mweather3.png
http://mythtv.sf.net/mc/mweather5.png
#12
hi,

i'm currently working on a weather bit for xbmc. it currently looks like this:

my weather

it'll hopefully be fully working in a week or so. after that i'll be looking for ideas and suggestions for improving it and if people would prefer a multi-window approach like in mythtv then i'll give it a go.
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
#13
(mynci @ feb. 02 2004,17:09 Wrote:hi,

i'm currently working on a weather bit for xbmc. it currently looks like this:

my weather

it'll hopefully be fully working in a week or so. after that i'll be looking for ideas and suggestions for improving it and if people would prefer a multi-window approach like in mythtv then i'll give it a go.
wow looks great. but i guess it will be us only ?
  • ASRock ION 330 OpenELEC XBMC Frodo.
  • 47" LG HDTV1080p, AC3/DTS Receiver.
  • 96" Epson LCD 1080p projector
  • 2x Raspbery Pi with XBMC
#14
nope,

anywhere covered by weather.com should be fine and they seem to cover everywhere.
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
#15
hey when your done can i have a look at your source? i want to try my hand at this coding for the box, and your getting your info off weather.com rss stream right? whitch is right up my ally for what i want to do.

just don't know where to begin so if i have a good example to look at.

Logout Mark Read Team Forum Stats Members Help
"My Weather"0