Underground search bar at the top of your page, type
in your home city or a city you would like to monitor.
You may have to hunt around a little to find it on the
You should see a dropdown called “Change
Station;” if you click on it, you will see a list of all PWS
close to your city. Pick one (for example, my station ID
is KILJERSE7) and make a note of the station’s ID.
Configure the Weather
You can use your web browser to connect to the
weather gauge’s web server to get to the configuration
page. Now that your weather gauge is connected to
your home Wi-Fi network, you can use a Windows 10
PC, Mac, or smartphone that is connected to the same
network to configure it (if your PC supports multicast
When the weather gauge is rebooted, it will tell
you the multicast address and the IP address to use to
access it. If you can’t connect with the multicast
address, try the IP address.
Back in Step 4-B of the software install, I gave the
Pi the machine name of wugNutsVolts; this means the
multicast address for the weather gauge is
http://wugNutsVolts.local. Type that address or the IP
address into your browser to access the main screen
shown in Figure 9.
Next, tap or click on the hamburger menu (remember,
the three white bars in the upper right corner) and select
Maintenance. You will be prompted for the admin
password; enter Limestone5$.
Once logged in, you will see the maintenance page as
shown in Figure 10.
In the “Weather Underground API Key” text box, type
in your API key; type in your Weather Station Number in
the Weather Station text box. Tap or click on Save
Configuration, and then tap or click on Reboot Gauge and
Your weather gauge will reboot and start pulling data
from the Weather Underground.
At this point, the weather gauge is running with
minimal security (if you changed the Pi’s default password,
and did not enable any of its external interfaces like SSH
If you didn’t change the Pi’s default password, you are
opening yourself up to a future attack. Please change the
password if you haven’t. You should only operate your
weather gauge on your home network behind a router
with a built-in firewall.
If you’re interested in locking down your Pi, I suggest
researching and implementing the following:
• Change the Raspberry Pi’s default password.
• Change the weather gauge’s admin password in the
maintenance “hamburger” menu. Tap on the “Change
Admin Password” in the “System Control” screen group
(see Figure 10).
• Enable the built-in firewall with the iptables and
• Change the default “pi” user name to another
name. If you do this, make sure you update the path to
your new user name in the following: rGauge.service,
updateMe, and autoStart files.
• Only use SSH for remote administration with
public/private key pairs instead of passwords.
• Only access your weather gauge over SSL. The
weather gauge has a self-signed certificate that should be
replaced with your certificate. To use the SSL connection,
go to https://wugNutsVolts.local. You will receive an error
since this is a self-signed certificate. If you add that
certificate to your browser, you’ll be able to access all the
weather gauge web pages over SSL.
I spent close to a year of my spare time on this
project, and still look forward to seeing it built on and
expanded! Please share your weather gauge projects. I
would love to see them! NV
■ FIGURE 9. Home screen. ■ FIGURE 10.
January 2018 35