The WeatherDisplay website.
There is not much information available about consoleWD and even less for the rapsberryPI version.
Most of the info is at the WeatherDisplay forum / FAQ
The following assumptions are made for all text / examples on this page about locations of data:
file to be used for | consoleWD file name | where to get that file | template file name | upload frequency |
---|---|---|---|---|
Weather-data values for all pages of the template | wxlocal.html | scriptsCW/ | tagsCW.txt | 5 minutes |
Realtime weather-data values | WD-Live | built into consoleWD no customization needed | clientraw.txt | set by CW |
WD-Live extra | clientrawextra.txt | |||
WD-Live hour | clientrawhour.txt | |||
WD-Live daily | clientrawdaily.txt |
There are no graphs created by ConsoleWD.
In the weather28/scriptsCW/ folder there should be
The files should be copied to the consolewdfiles/ folder so consoleWD can use them.
If the program is processing the file wxlocal.html correctly you will see tagsCW.txt appearing in the consolewdfiles folder on the RaspberryPI.
All changes are done in the config.txt in the consolewdfiles folder on your raspberryPI.
For WeatherDisplay-Live files such as clientraw.txt set:
Do clientraw FTP=Y
You have to set this setting, even if you do not plan to use WD-Live. The files are needed to get realtime values AND to generate the graphs for the Steelseries pop-ups.
These are the FTP settings which should always be set:
FTP server=your_serve_name FTP username=your_user_name FTP password=your_password FTP port=21 FTP remote dir=/weather28/uploadCW/ FTP remote dir wx.html=/weather28/uploadCW/ FTP use passive=Y FTP use remote file rename= FTP time interval=180
Check your FTP settings. Sometimes one has to add extra info like /httpdos/ or /public_html/ before the root of your website specification. So these lines could also be:
FTP remote dir=/public_html/weather28/uploadCW/ FTP remote dir wx.html=/public_html/weather28/uploadCW/ or FTP remote dir=/httpdocs/weather28/uploadCW/ FTP remote dir wx.html=/httpdocs/weather28/uploadCW/
Try to reach the website first with an FTP program to be sure.
Create custom file=Y Use this filename instead of wx.html=tagsCW.txt Use this filename instead of wx2.html= Use this filename instead of wx3.html= Use this filename instead of wx4.html= Use this filename instead of wx5.html= FTP the custom file=Y Units for custom tag file output: Temp in celsius=Y Wind in=kts Baro in metric=Y Rain in metric=Y
To remove ° and other units in the output specify:
include units tags=N
Time to check if everything works OK. The weather28/uploadCW folder should contain recent copies of:
Weather station type=31 // WMII=33,Irox=59,WMR100=232,WMR200=233,WMR968=8,WMR918=3,Davis VP=31,Davis WMMII=4, WH1081=166,2310=60,WXT510=190,3600=61,Davis IP=32, OWWfile=71 OWW file location= Davis VP IP port=22222 // Port for Davis VP IP data logger Davis VP IP address=192.168.2.3 // IP address " " " " " " Release VP IP= // set to Y to release IP data logger every minute to allow davis web site to be updated latitude=50.895 // latitude, e.g -38.375 for southern hemisphere longitude=-4.697 // e.g -175.456 for east of UTC/London Station name=consolewd Start up daily rain(mm)=0.0 Start up monthly rain(mm)=0.0 Do custom clientraw=Y Customclientraw update rate=1 Do wunderground=N //For updating wunderground.com (set to Y for yes, N for no) (every 5 minutes) Wunderground username= Wunderground password= Wunderground timezone=-5 // e.g 12 for 12 hours ahead of GMT, -12 for - 12 hours timezone= (to change the local PC hour used) Direction offset (whole degrees)=0 Barometer offset(hpa)=0 Comport number (e.g 1)=U //For non USB stations (e.g Davis, OS WMR968), use U for ttyUSB0 (i.e usb to serial) Davis com method=2 // 1 for regular 2 for special davis serial read Revb Davis VP=Y (Y for Yes (new model (default) ) N for No) Davis rain gauge=3 (1 for 0.1 inch, 2 for 0.01 inch, 3 for 0.2mm) Do mysql=N //for mysql updates (see the readme for the table structure), every 5 minutes Mysql username= Mysql password= Mysql server= Mysql databasename= Mysql tablename= Mysql metric=Y (set N for oF, inches of rain, inches for baro) Mysql time=300 (time interval between mysql update in seconds from 60 to 10000 sec) Do CWOP updates=N CWOP station id= CWOP ham call sign=-1 CWOP Latitude= CWOP Longitude= Do clientraw FTP=Y FTP server=188.121.47.1 FTP username=leuven3698 FTP password=xxxxxxxxxxxxxxx FTP port=21 FTP remote dir=/weather28/uploadCW/ FTP remote dir wx.html=/weather28/uploadCW/ FTP use passive=Y FTP use remote file rename= FTP time interval=180 Save logfile=Y Logfile metric=Y Create custom file=Y Use this filename instead of wx.html=tagsCW.txt Use this filename instead of wx2.html= Use this filename instead of wx3.html= Use this filename instead of wx4.html= Use this filename instead of wx5.html= FTP the custom file=Y Units for custom tag file output: Temp in celsius=Y Wind in=kts Baro in metric=Y Rain in metric=Y run cron files=Y do custom log=N custom log out=customlogout.txt copy clientraw/customclient raw to this directory= copy datafiles to this directory= copy logfiles to this directory= wmr200 data read delay= create wxnow.txt file= wxnow.txt directory output= update WOW= WOW id= WOW pass= Modified rain gauge= include units tags=N copy custom files to this directory=