![SwitchDoc Labs WeatherSense Aftershock Assembly And Test Manual Download Page 19](http://html1.mh-extra.com/html/switchdoc-labs/weathersense-aftershock/weathersense-aftershock_assembly-and-test-manual_1415591019.webp)
22
Page
Version 1.1 June 2021
sudo pip3 install mysqlclient
Next:
sudo -u root -p < WeatherSenseWireless.sql
Step 4:
Note the IP Address of your Raspberry Pi. Type in the following commands to get your IP address:
hostname -I
You will get something like this:
pi@SwitchDocLabs:~/SDL_Pi_WeatherSense$ hostname -I
192.168.1.44
Step 5:
Update WeatherSense to the latest version. Type the following commands into a terminal window.
cd
cd SDL_Pi_WeatherSense
git pull
You will see something like this:
pi@SwitchDocLabs:~/SDL_Pi_WeatherSense$ git pull
remote: Enumerating objects: 19, done.
remote: Counting objects: 100% (19/19), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 12 (delta 10), reused 12 (delta 10), pack-reused 0
Unpacking objects: 100% (12/12), done.
From https://github.com/switchdoclabs/SDL_Pi_WeatherSense
f2193a0..c98a45c master -> origin/master
Updating f2193a0..c98a45c
Fast-forward
README.md | 2 ++
SkyCamera.py | 2 +-
WeatherSenseMonitor.py | 2 +-
pclogging.py | 12 +++++++-----
state.py | 3 +++
testWirelessSensors.py | 18 ++++++++----------
6 files changed, 22 inse), 17 deletions(-)
Or, if your software is up to date:
pi@SwitchDocLabs:~/SDL_Pi_WeatherSense$ git pull
Already up to date.
Step 6:
First we will test the reception of the wireless weather sensors. Test your SDR and WeatherSense
installation as follows. Note you must have completed the WeatherSense AfterShock assembly.
cd /home/pi/SDL_Pi_WeatherSense
sudo python3 WeatherSenseMonitor.py
Now start your AfterShock sensor by turning the SunAirPlus2 switch to on. You will then see something
similar to this on your terminal window:
Summary of Contents for WeatherSense Aftershock
Page 12: ...15 Page Version 1 1 June 2021...