To create a webpage with WUHU you can use the Alerts/Actions function.

Get the Examples

Download the examples from here: examples.zip

Extract the contents of the zip file into the WUHU directory. By default it is C:\Program Files\WUHU.

Setup WUHU to create the webpage

Enable the Write Extended Currentdat Setting found in the WUHU Configuration.ini

Restart WUHU

On the WUHU main screen click on the Alerts/Actions button on the main screen.

On the Alerts/Actions screen enable the On Weather Update by checking the check box. Check the check box next to On Update Seconds. Adjust your On Update Seconds value to change how often WUHU will create the webpage. Keep in mind that if you are using the ftp function, you will need to allow enough time for the ftp transfers to complete. (Don’t set the value to 0)

Click on the Sound/Action button next to On Weather Update.

Under Action on Activation, click the browse button…

On the open file dialog, browse to C:\Program Files\WUHU, change the Files of type to Action files (*.txt) and select the Action.txt that you extracted from the example.zip, then click open.

Your on Action on Activation should have actionfile:“C:\Program Files\WUHU\Action.txt” in it, Click OK

Click on Save Changes to exit

Edit the Action file to tell WUHU which files to create and where

Edit the C:\Program File\WUHU\action.txt file so it contains one line for each webpage you want to create

Example:

template:"C:\Program Files\WUHU\highsandlows.txt" "C:\wwwroot\HighsAndLows.htm"
...

The syntax is:

template:"<path to source template>" "<path to destination directory/file wuhu will create>"

All the variables are contained in the template highsandlows.txt example file. This file is just plain text file. You can format or order of the data values using notepad or any other editor as long as the variables start with % and end with %

In this example, WUHU will create the file HighsAndLows.htm in the destination directory c:\wwwroot.

The directory must exist, and WUHU must have the rights to write to it.  (At this point you can use another action to ftp it, or copy it, or move it to another directory so it is accessible via the web or other interface types)