Weather Display Template

Stillweather
Posts: 4
Joined: Thu Jan 14, 2010 9:54 pm
Location: Branford, Connecticut USA

Re: PWS: Weather Display Template

Post by Stillweather »

That was easy! It must have been the way I saved the crossdomain.xml file. Once I did as you said it worked right away!

Thanks.
Image
User avatar
par
Posts: 8623
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: PWS: Weather Display Template

Post by par »

Perfect! :)
Get YoWindow weather app for your phone or tablet.

Image Image Image
tph06784
Posts: 94
Joined: Sun Oct 25, 2009 3:52 pm

Re: PWS: Weather Display Template

Post by tph06784 »

Changing the way I saved the file made the difference. Working great now.
weathergirl
Posts: 18
Joined: Thu Oct 15, 2009 3:01 am
Name: Ann-Marie
Location: Beamsville, Ontario, Canada
Contact:

Re: PWS: Weather Display Template

Post by weathergirl »

Thanks for the clarification, par. The yowindow is now displaying my pws data :)
User avatar
par
Posts: 8623
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: PWS: Weather Display Template

Post by par »

Woohoooo! :)
Get YoWindow weather app for your phone or tablet.

Image Image Image
Jose1701

Re: PWS: Weather Display Template

Post by Jose1701 »

Works great for me, too.

Something I asked in weather display forum: (will do it here, too)
By the way I'm a bit confused. Now WD makes the xml file which is in use by yowindow. How it is possible to change some settings. e.g. I wanted to let yowindows get the current weatherdescription but let WD do the rest.
Regards

Jose
User avatar
par
Posts: 8623
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: PWS: Weather Display Template

Post by par »

If you remove <sky> tag from the template/script, YoWindow will take the data from METAR.

If you want YoWindow to display description from METAR, but take all other data from your station, there is a problem.
1. YoWindow does not support this trick now.
2. Picture inside YoWindow is built from Weather Station data, and the description is supposed to describe that picture.
Displaying description for other data (METAR) is quite strange.
Why do you need this?
Get YoWindow weather app for your phone or tablet.

Image Image Image
gemini06720

Re: PWS: Weather Display Template

Post by gemini06720 »

Jose1701 wrote:By the way I'm a bit confused. Now WD makes the xml file which is in use by yowindow. How it is possible to change some settings. e.g. I wanted to let yowindows get the current weatherdescription but let WD do the rest.
Jose, I do not think you can do that when using the XML file produced by Weather Display - the template format for the XML is built into WD (the only options are to produce the XML file and to upload the XML file).

The only way to do that would be for Brian Hamilton to produce an external template (with the YoWindow tags in it). When WD runs, it would import that external template to produce the XML file.
jmcmurry
Posts: 368
Joined: Tue Oct 13, 2009 11:09 am
Name: Jim
Location: Mauston, WI, USA
Contact:

Re: PWS: Weather Display Template

Post by jmcmurry »

Jose,

You can implement the template that is in the first post of this thread, then you can experiment with whichever tags you wish. No need to ask Brian to change anything.

- Jim
Jose1701

Re: PWS: Weather Display Template

Post by Jose1701 »

Thanks a lot.

I now understand. I will see if the code that Brian made were good for my personal use. I think it will be fine.

I will see.

Regards

Jose
Post Reply