Then you can check to see the process has been killed.
pi@switchdoclabs:~/SDL_Pi_SkyWeather2 $ ps xaf | grep python
236 ? Ss 24:53 /usr/bin/python -O /usr/share/wicd/daemon/wicd-daemon.py --no-daemon --
keep-connection
502 ? S 13:30 \_ /usr/bin/python -O /usr/share/wicd/daemon/monitor.py
23014 pts/0 S+ 0:00 | \_ grep --color=auto python
pi@switchdoclabs:~/SDL_Pi_SkyWeather2 $
Now type the following command on your command line:
sudo python3 testWirelessSensors.py
Then you will see something like this:
pi@SwitchDocLabs:~/SDL_Pi_SkyWeather2 $ sudo python3 testWirelessSensors.py
Starting Wireless Read
rtl_433 version -128-NOTFOUND branch master at 202104131855 inputs file rtl_tcp RTL-SDR
.
.
.
Registered 6 out of 152 device decoding protocols [ 146-148 150-152 ]
Found Fitipower FC0012 tuner
Exact sample rate is: 250000.000414 Hz
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
{"time" : "2021-09-18 14:29:08", "model" : "SwitchDoc Labs SolarMAX", "len" : 44, "messageid" :
448956, "deviceid" : 1, "protocolversion" : 1, "softwareversion" : 14, "weathersenseprotocol" : 10,
"loadvoltage" : 5.160, "internaltemperature" : 12.348, "internalhumidity" : 87.061,
"batteryvoltage" : 12.728, "batterycurrent" : -352.000, "loadcurrent" : 621.000,
"solarpanelvoltage" : 17.752, "solarpanelcurrent" : 566.000, "auxa" : 4, "mic" : "CRC"}
The last packet shows you are connected to SolarMAX2!
Testing with a Raspberry Pi (without SkyWeathe2r)
To test on a Raspberry Pi (without SkyWeather2) you need to hook up the SDR to the USB port on the
Raspberry Pi.
Step 1) Download the SolarMAX2 compatible WeatherSense Python3 library:
https://github.com/switchdoclabs/SDL_Pi_WeatherSense
Page
30
Version 1.1 September 2021
Summary of Contents for SolarMAX2
Page 3: ...Errat a Page 1 Version 1 1 September 2021 ...
Page 9: ...Page 7 Version 1 1 September 2021 ...
Page 18: ...Now we move on to the wiring of the SolarMAX2 Page 16 Version 1 1 September 2021 ...
Page 23: ...Page 21 Version 1 1 September 2021 ...
Page 24: ...This completes the Grove Wiring for SolarMAX2 Page 22 Version 1 1 September 2021 ...
Page 26: ...Fully Wired SolarMAX2 for Reference Page 24 Version 1 1 September 2021 ...