in as pi with the default password of raspberry.
4. At the command prompt, type sudo raspi-config
and configure the following:
a. Change your password; this is a must!! Please,
please, do this!! The default pi password is
common knowledge and you need to be
responsible and change it!
b. Change your host name. In my case, I
changed it to wugNutsVolts. You will use the
host name to connect to your weather gauge
over the web interface.
c. Under localization options:
i. Change Time Zone to match your time zone.
ii. Change Wi-Fi Country to match your
d. Optionally, you can enable the SSH shell
under Interfacing Options. Only do this if you
intend to use SSH to connect to your Pi remotely.
5. Exit out of config and let the system reboot. Then, log
in with your new password.
6. Now, we need to install Node.js. From the command
line (after you have logged in), type these commands:
a. cd /usr/local
b. sudo wget https://nodejs.org/download/release/
c. sudo tar —strip-components=1 -xvf node-v7.2.0-linux-
d. Now, type node -v and you should see you have
node v7.2.0 installed.
7. Install GitHub. From the same command line, type:
b. sudo apt-get update
c. sudo apt-get install git
8. Install the Weather Underground Gauge node.js
application from my GitHhub site:
a. git clone https://github.com/RuckerGauge
b. cd WeatherUndergroundGauge
c. sudo npm install
9. Now, we need to configure the app to automatically
start when your RaspPi reboots. To do this, follow these
steps (make sure you’re in the WeatherUnderground
a. sudo cp rGauge.service /etc/system/system
b. sudo systemctl enable rGauge.service
10. Power off your Pi and remove your keyboard, monitor,
and Ethernet cable. Reconnect your alphanumeric cables
if required and power the system back on.
If everything went well, your weather gauge will boot
up and go through a quick self-check. You’ll see your
stepper motor move the needle; your LED strip will flash;
and your alphanumeric display will let you know the status
of the IPL (Initial Program Load).
When IPL is complete, the weather gauge will detect
January 2018 33
■ FIGURE 6. Keyboard, monitor, and Ethernet connection.