This document is based on version 2.97.13 of WSWIN available when writing this WiKi part.
WSWIN has an on-line manual at http://www.pc-wetterstation.de/wswinen.pdf
The website is at http://www.pc-wetterstation.de/en1index.html
And there is also a forum: http://www.pc-wetterstation.de/en6index.html
|WSWIN is installed in:||C:\wswin|
|Files to be uploaded are stored then in:||C:\wswin\|
|Default upload folder on your webserver:|
|file to be used for||WSWIN name||where to find||template name||upload frequency|
|Today actual and history min max values||tags.ws.txt||scriptWS/ folder||uploaded as tagsws.txt||5 minutes|
|Yesterday values||n/a||generated by cron-job||tagsydayWS.txt||at 23:45|
|Realtime weather-data values||wswin_nrt.txt||scriptWS/ folder||clientraw.txt||every minute|
In the folder scriptWS/ you fibnd the important control file wswin_customfiles.cfg. You should check this first and maybe read the documentation if this kind of upload-control is new to you.
Here you find only basic information on the setup of WSWIN. Please study the documentation and /or ask your questions on the WSWIN specific parts of the forum.
Before we can anything else we have to check if wswin is instructed to process"custom files".
There are three settings to check in WSWIN:
First we have to check if wswin knows that it has to process realtime files. Go to wswin menu ⇒ Control (UK) or Sturing (Dutch) ⇒ Template/… ⇒ tab NearRealTime
Check box next to Near Real Time File The file-name should be also checked automatically
We now have to check if there is already a wswin-nrt.txt file present. If so we can add ours with a different name or replace the current file.
Why replace? Often the wswin-nrt.txt file is a file to produce a clientraw.txt file. The one you downloaded is the same but includes the necessary tags for WD-live version 6.09.
Download using your FTP program th4 4 files from the scriptWS/ folder (or use the ones in the template download, if it is still on your PC). Move these files to the C:\wswin\ folder, if that is the folder your wswin program is runbnig from.
Check if you already have a wswin_customfiles.cfg in your C:\wswin\ folder.
you now have to compare the lines 2 to 5 from the template version (in the scriptsWS/ folder) with your own version and add the missing lines. At least 1 line should be added as tags.ws.txt can not be there already.
[custom.txt] #=4 1=ws_clientrawextra.txt 2=ws_clientrawdaily.txt 3=ws_clientrawhour.txt 4=tags.ws.txt [wap.txt] . . . shortened . . .
Copy the file from scriptsWS/ to C:\wswin\ and WSWIN will generate the files from now on.
There are no "yesterday' values registred by WSWIN. So to get those values a small script should be run every day around 23.45 but before 00:00
The name of that script www.yourwebsite.com/weather28/yesterday.php
How to run a cron-job is described at: CRON jobs