here is a beta-file how to include your pws-data to YoWindow.
EDIT:It was the first template, so don´t copy the following code .
Please read the introduction first.
How to ?
Code: Select all
<!-- %customfile=yowindow.xml% --> <!-- %openfile=ws_variables.txt% --> %unit_off% %alwaysseppoint_on% <response> <current_weather> <temperature value="%curval%"/> <humidity value="%curval%"/> <pressure value="%curval%"/> <visibility value="%horiz_view%"/> <wind> <speed value="%curval%"/> <direction value="%curval%"/> </wind> <sky> <clouds value ="%suneighth%"/> <precipitation mode="yes"/> <precipitation> <snow height="%snowheight%"> </snow> </precipitation> </sky> </current_weather> </response>
At first you should save the file in the primary directory of WsWin (e.g. c:\programme\wswin) and let it open with "openfile".
Look, if it generates the "yowindow.xml" file. You should find it in the html-directory (e.g. c:\programme\wswin\html\yowindow.xml). For testing, open it with Internet explorer to check if the xml-file is displayed "properly" as you can see it here http://acknet.vs120010.hl-users.com/yowindow.xml.
Then, you have to download the latest YoWindow Version. You can find it here http://repkasoft.com/rc.html.
After installation, go to Place (Ort), Place-Character (Ortseigenschaft) and then to setup.
There you have to enter your geo-data and the url where the xml-file generated by the file above is published. You can choose both - a local path or an url on your webserver -.
At the moment there are still some small things we have to work on (e.g. humidity and View). It´s just a beta !
Actual rain (%curval%) and rainrate per hour (%rainrate%) have to be added.
I just couldn´t solve that. Adding these variables, the xml-file is not shown properly. Couldn´t find the reason yet.
EDIT: Now, while we are working on a documentation, you should look at the WsWin thread http://yowindow.com/forum/viewtopic.php?f=11&t=372 to finde new code.
Now have fun !
When you are done you may connect YoWindow to your station, follow these instructions.