WD Customization

From WeatherWiki

Customization

How do I change the background colour of the default weather page?

Go to the setup menu. Click on "Setup FTP / Internet/ ...". Click on the tab labelled "Web Files #2". In the section at the bottom labelled "Web Table Setup", click the button labelled "Set Background web page colour". Pick a colour from the display and click OK. The page background you selected will be used.

How do I set the sunrise and moonrise for my location?

Follow the procedures described in the Entering Location Data help page. Only enter degrees, and minutes (i.e. no decimal places). For southern hemisphere, the latitude is a negative number. (The latitude is the lines parallel to the equator.) For places West of GMT (i.e. England), the longitude needs to be negative. For some time zones, you may need to use the "fine tunes" to get the rise and set times for your location to be accurate.

Where do I create the wxlocal.html folder?

  1. On a Windows-based computer, open Windows Explorer (Shortcut: Press Windows key and E at the same time).
  2. Open the wdisplay folder, usually located in the root folder of your hard drive (c:\).
  3. Look for the webfiles folder. This is the folder where you need to create the wxlocal.html file.

Note: Make sure the file extension is .html and not .htm (you can change the extension as needed in the FTP/Internet/Custom web page setup).

What is customtext.txt?

This file defines the data required to be saved in customtextout.txt.

How do I convert the customtext.txt file to a CSV file?

The customtext.txt text file is already formatted in comma separated values (CSV) format. No conversion is required.

How do I create files in .asp or .php file format?

Use "Setup | customise the file creation/ftp schedule". There you can set the remote name for the wxlocal.html file. If you are running your own server, then you can use the special file conversion in the custom webpage setup, under Setup, FTP setup, to force a new file name (i.e. put in the local file name as anything except wxlocal.html and set a new remote file name.)

How do I add a METAR report on my website?

Within the Setup menu, click "setup FTP / ...", then select the tab "FTP /METAR download". Go to the lower portion of the display and choose a METAR station. Tick "include the text files on my web page". Finally, set up the scheduled times for downloading and click the red button to turn it ON.

How do I upload a graph of weather data for a day from the graph history to my website?

Go to View, Graph History, get the graph that you want, then click "saved to file." The next step is you need to go to action, manage my ftp server, and choose the file that you want to upload. For example, the graph will be saved as savedgraph.gif under weather display.

How do I make changes to the default webpage?

Weather Display Web pages are created from three files: datahtm0.txt, datahtm2.txt and datahtm3.txt. If you know HTML, you can alter datahtm2.txt , and Weather Display will keep the changes. But first you must go to "Setup, control panel | FTP / Internet ... | Web Files", and click the box labelled "Let me manage the datahtm2.txt file". Also, you can add of course add email link, images and web links on this same page. See also Creating a Weather Web Page for more information.

How do I make the image from Input daily weather stay on the main screen?

To turn off the forecast image, go to ftp setup, then files, then untick show wm918/wmr918 forecast image on summary.gif then under input daily weather, tick "use this image on the web page instead". This is not permanent, and will be unticked on program re-start.

How do I get SMTP AUTH for weather warnings?

If you have it set for the weather report, it should work for the weather warning, too. To get SMTP AUTH, set up weather reports first, even if you don't use them. That then gives you email warnings and weather reports. It seems slightly complex, but it works.

How do I create the custom text file customtext.txt?=

See the page labelled "Logs and Logging"; there is even a sample. While described as a log file, you can actually use it to transfer data to any program in any format you want. The example was used to send data to the HoomSeer program.