Category Archives: Weather Site

Weather Display and PSK Digital Master 780 Macro in Ham Radio Deluxe

I dabble with PSK31 within Ham Radio Deluxe Digital Master 780 (DM780) software, one feature I was particularly interested in was the ability to set various macros to automatically read and insert text for transmission from a file.

Weather Display is the software I use for my weather station and is unbelievably flexible in what can do, in my case I have it set to generate a text file of current weather conditions (temperature, wind speed, direction and rain fall) every 10 minutes.

Configuration – Weather Display

Setup >> Log Files
Main Log Setting switch – ON

Custom Log Settings >> Produce a custom log file is ticked
Update Frequency >> 10 minutes

Open explorer >> wdisplay folder >> webfiles

Within webfiles locate customtext and edit with the information you wish to send as the weather macro in DM780, I have this:

The temperature here is %temp%C with an average wind speed of %avgspd%mph from the %dirlabel%, Chatteris rain today%dayrn%mm

As I only have one customtext file set, I simply saved the changes without renaming the file.

The weather tags within the % determine the information that Weather Display inserts, a full list is in a text file named testags is within the webfiles folder.

What does all this do?

The result of all the above is that an existing text file named customtextout in webfiles is generated and overwritten every 10 minutes with the information previously requested in the customtext file.

Ham Radio Deluxe – DM780 Macro Setup

With DM780 open, Tools >> Macros

Double click on existing unticked macro – WX to edit
Right hand side of the screen is a tab called – Text from File – clicking on this inserts –

Weather here is temp is File-contents-go-here

I changed this to –

<his:callsign> de <my:callsign>
<his:firstname>
<file:\\HEWLETT-NN43CTX\webfiles\customtextout.txt>File-contents-go-here<eof>

Data from my weather station: www.chatterisweather.com

Click OK to save the Macro ensuring that the enable box is ticked and exit from setup, the Macro called WX should show in the Info pane.

Note – As the Weather Display program and Ham Radio Deluxe are on separate computers I had to give the webfiles folder share permission on my home network, this is why the link to customtextout starts \\HEWLETT-NN43CTX\, if both programs were on the same PC, the path would be –

<file:C\webfiles\customtextout.txt>File-contents-go-here<eof>

If you need help, contact me via the contact form.

73

Web Site Modifications

Just a few small modifications to the Chatteris.biz Weather pages:

1) The current spate of lightning has caused a problem of page formatting, originally when a storm cell was detected, the information was displayed inside the header of the page, as the lighting cells grew and the information increased, this caused the web page to overrun and loose formatting, I posted the problem in the wxforum.net forum and Wim sorted the script in moments.

Only when lightning cells are detected, will the page header show the lightning alert against a red background, clicking on this message will show the information, I have also added a clickable shortcut to the lightning map page and also a clickable link to how to set a lightning alert up.

Weather alerts page can be accessed from the menu as always.

2) Tidied up the wxspace pages and the radio ham information by adding additional links and sorting page validation errors.

3) Added information on lightning types.

4) Alert message when the weather station is going offline to protect its sensitive and expensive lightning detection equipment, this equipment failed last year due to a storm and I don’t want a repeat, I think the issue was the imbalance in ground potential, so in future when a large storm is over Chatteris, the broadband and external aerial will be unplugged.

Neat Feature of Ham Radio Deluxe

I recently installed Ham Radio Deluxe software, this software allows remote control of my rig as well as a whole host of other functions and features, working through these I stumbled across a neat little feature, that is the ability to automatically post to your web site details of the frequency, mode and time last seen using the rig at regular intervals, I retained the default of every 5 minutes.

An example of the output can be seen here on my site.

Setup is fairly straightforward, the main details you must have are your host upload details and password, I use Notepad++ to edit and create pages, using this I added the following text and saved as radio.html:

2E0DDI was last seen on frequency ###-frequency-###MHz using ###-mode-### mode with a Kenwood ###-radio-### Multi Band Transceiver at ###-timestamp-### – Data automatically updates every 5 minutes when using Ham Radio Deluxe Software.

Once Ham Radio Deluxe is downloaded and the connection and control is established with the radio, go to Tools >> Web Page Updates.

In this panel, enter the location of the html document previously created, your host name, directory you want to upload the document to, (I simply placed it in the root directory – /web), fill in your user id and password, then press the test upload button, if all is well, the detail box will show success, if transfer fails, re-check your settings.

Hopefully your still with me :-), so the next bit is to insert the information which is being uploaded into your web page, the raw information looks like this on my site.

Where you want this to display, add this to the page using iframes –

iframe src=”http://www.your web site/radio.html” frameborder=”0″ width=”700″ height=”75″>/iframe>

In order to show the code I had to remove the < from in front of the first iframe and also in front of the ending /iframe - place the < back in front for the frame to work, (if I'd left the < in, you would have seen a blank frame in the blog page as the information was trying to be gathered from a non existent source of www. your web site) That's it, hope you found it useful, the feature does only work when you are working through the Ham Radio Deluxe software, but it is quite a nice addition to your site. When I get my antenna sorted, I will add a contact log to my web site, again this can be automated through this software. 73

Weather Site Minor Additions

Minor tweaking carried out today:

Added Lightning Analysis tab, this opens another page to show statistics from the Boltek lightning detector.

Expanded to Pollen page to show information from The Weather Channel, I have retained the Chatteris map as this has greater detail on it when you follow the link by clicking the map directly.

Glossary of terms added.

Link from the lightning StormVue NGX and Alerts Page has been set up via the TSentry icon, this link takes you to the Contact Me page – TSentry is the software which send the e-mails when certain conditions are met, have a look at the Alerts Page to see what they are.

Lightning Detectors Working Overtime

Had a good electrical storm that Chatteris Weathers own lightning detectors tracked successfully, the software gives each storm cell a reference number, direction bearing in degrees, distance from Chatteris in miles and it’s status, i.e. weak and steady.

The software will also send subscribers an e-mail when a storm meets certain triggers, a e-mail is also automatically sent when no lightning has been detected for over 30 minutes.

Click on link for further details on the alert scheme – To Alerts Page.

Front Page Season Countdown Error Fixed

Noticed that the Season Countdown timer on the main index page had missed out the Summer and went straight into the countdown to Winter from Autumn, I thought this was a bit harsh as we have to give Summer a go at least, the fault turned out to be where I had changed the Americanism of ‘Fall’ to Autumn, this had upset the script, so made really minor word changes and it seems to be ok again.

Weather PC Backup

The Acronis True Image 2013 backup software in online ‘real time’ mode has caused me some problems since the 28th May when I enabled it, with the Weather Display application hanging  and therefore generating a Clientraw data received error on the web site. I have reverted back to incremental backups every 24 hours, bit of a shame that the backup software won’t work as advertised (plenty of user comments on this when googled), but at least this method works.