Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Previous section Next section Previous page Next page Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Page 4 of 7
Topic:
Replacement for Weather.com xml feed
This thread has 92 replies. Displaying posts 46 through 60.
Post 46 made on Saturday November 16, 2013 at 12:23
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
For those of you who might be using the old Weather.com data feed with URL starting with:

h t t p://xml.weather.com/weather/local/...

Change the URL to start with:

h t t p://wsdata.weather.com/wxdata/weather/local/...

Note that I have added spaces between the protocol in the URLs above to prevent RC from trying to serve them up as links.

The old URL sends an HTTP 401 Permanent Redirect to the new URL.

Also note that the new URL does NOT provide the preprocessor instruction. If your code expects to receive this and is not robust to operate if not present (as was my XML Weather module), you will also need to change this as even though this is an XML document, there is no leading preprocessor instruction.

If you make these changes it is very likely that everything will work as before.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 47 made on Saturday November 16, 2013 at 12:24
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
And for anyone that has licensed my weather module, please feel free to contact me for an update 'Scripts' page updated to handle the new URL.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 48 made on Saturday November 16, 2013 at 14:31
joeyk201
Long Time Member
Joined:
Posts:
January 2010
81
I tried the file you just posted. Not working for me. You have this in the parameter instructions

"This can be found by going
to weather.com and
entering your zip code.
The page it takes to will
have your city ID in it's
path in the form of an 8
alphanumeric string
I.E. "USMO0204"

This alphanumeric string no longer works it seems. I don't see it in the url path any longer. However I re-enter what it use to be in the older weather module I was using that stop working. Your module didn't work either.

Am I missing something here?
___________________
Pronto Level II Certified
Post 49 made on Saturday November 16, 2013 at 14:34
joeyk201
Long Time Member
Joined:
Posts:
January 2010
81
I am referring to the Weather Module file added by n2hifi today
___________________
Pronto Level II Certified
Post 50 made on Saturday November 16, 2013 at 15:36
Fischi
Long Time Member
Joined:
Posts:
January 2011
114
Hi Mark,
your weather module from the files section doesn't run for me also.

Fischi
Post 51 made on Sunday November 17, 2013 at 10:10
pjjameso
Long Time Member
Joined:
Posts:
April 2008
73
Got Marks file to run,

1. comment out FillEnv(); on home properties
2. comment out CF widget radar on Weather properties.
Paul
Post 52 made on Sunday November 17, 2013 at 11:14
Fischi
Long Time Member
Joined:
Posts:
January 2011
114
Hi Paul,
What did you change ?
I' ve tried many changes but still couldn't get it to run.
Can you give detailed informations ?

Regards, Fischi
Post 53 made on Sunday November 17, 2013 at 21:23
pjjameso
Long Time Member
Joined:
Posts:
April 2008
73
I uploaded the working file. Once again thanks go to Mark.
Paul
Post 54 made on Monday November 18, 2013 at 00:01
Daniel Tonks
Wrangler of Remotes
Joined:
Posts:
October 1998
28,781
Paul - do you mind if I merely update Mark's upload with your file?
Post 55 made on Tuesday November 19, 2013 at 07:49
pjjameso
Long Time Member
Joined:
Posts:
April 2008
73
That would be fine, thanks Daniel
Paul
Post 56 made on Tuesday November 19, 2013 at 21:19
joeyk201
Long Time Member
Joined:
Posts:
January 2010
81
ok guys I don't know whats going on with this file.

I thought n2Hifi's file uploaded on nov16 has been fixed and uploaded again by Daniel Tonks.

Did this occur?

I have been coming home from work for the last 3 days and downloading the same file and it doesn't work.

I have been using the weather.com version 2.0 module for years until recently like everyone it stop pulling data.

So where is this file that works. Can someone clear this up or is it me.

I am running PEPv2.4.18 with firmware v7.3.3 on two 9600's.

Any help is so appreciated. Thanks in advance!
___________________
Pronto Level II Certified
Post 57 made on Wednesday November 20, 2013 at 07:04
Daniel Tonks
Wrangler of Remotes
Joined:
Posts:
October 1998
28,781
Try the file now.
Post 58 made on Wednesday November 20, 2013 at 08:01
joeyk201
Long Time Member
Joined:
Posts:
January 2010
81
Eureka!

Awesome guys!

Glad to report success!

Thank you ALL for providing this!

All you pronto Script guys rock!
___________________
Pronto Level II Certified
Post 59 made on Wednesday November 20, 2013 at 13:23
Fischi
Long Time Member
Joined:
Posts:
January 2011
114
I'm also glad to report success!
The only thing I had to change was the metric/american style because
putting m or s in the parameters doesn't work.
I added "&unit=m" to the code.
Now I can see the temperature in Celsius, only the wind speed comes still
in m/h instead of km/h and the pressure also don't come in metric units.
Does anyone knows how to solve this ?
Thank to ALL !

Fischi
Post 60 made on Wednesday November 20, 2013 at 18:26
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
I just tried unit=m in the URL in a web browser and I see that the service provides metric unit descriptions in the text. I am wondering if the code is explicitly setting english instead of metric unit descriptions.

I have not looked at the code to see how labels are build nor do I have a desire to do so at this time. The above is just my anaysis of what I am seeing in the response from the service.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Find in this thread:
Page 4 of 7


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse