|
Post by wbbeasley on Oct 14, 2021 17:36:17 GMT -8
Just getting started with SkyWeather2 setup on a Raspberry pi 3 Model B. Trying to follow all directions. I bought the preconfigured SD card. On the step running sudo python3 testWirelessSensors.py the step runs but seems to hang on something. Below are screenshots of the start and where it just sits there. I confirmed the SkyWeather 2 is powered and responding with a red blink about every 30 seconds The temp/humidity sensor is running on channel 1 and displaying. not sure what to test next... I should note here the only thing I was concerned about in assembly In assembly the Hat Board did not fit like I would have liked. Below is how my board fits. YOu can see it runs into USB connector and does not fit down solid like I would like. I do get white light and blue light on board. 1) should this cause a problem? If so, what are my options? 2) Is this contributing to the problem with the testWirelessSensors.py test? As an interesting anecdote, the picture in install guide is also slanted but assumed this was not installed all the way and it seems the connector on the board is longer than the one I have Please let me know if I need to share anything else. Thanks, Bryan
|
|
|
Post by SDL on Oct 15, 2021 9:30:12 GMT -8
|
|
|
Post by wbbeasley on Oct 15, 2021 13:22:47 GMT -8
I executed the following from the readme: sudo apt-get install libtool libusb-1.0-0-dev librtlsdr-dev rtl-sdr build-essential autoconf cmake pkg-config cd rtl_433/ Or cd SDR/rtl_433 (if you have the SDL SD Card) mkdir build cd build cmake .. make clean make sudo make install I did not see any red flags but there is a lot that is displayed as you know. I got the exact same results when running testWirelessSensors.py. It still hangs on same spot with no error. So I decided to try just running rtl_433 as mentioned in readme It seemed to run successfully and I caught the following as an example that looks like it is communicating. Not sure what is tripping up the other routine. Should I run steps 2 and 3 that were also skipped because I had the preloaded SD Card? I could start looking at code but hoping for something a little quicker. I appreciate the help.
|
|
|
Post by SDL on Oct 15, 2021 13:33:39 GMT -8
I would guess that you aren't running the latest version then.
cd SDR/rtl_433 and do:
sudo git pull And then rebuild the code as in the README.md
That could also explain the "protocol 152 error" in your previous post.
|
|
|
Post by wbbeasley on Oct 15, 2021 13:50:30 GMT -8
Would that explain this also when I run SkyWeather2.py
pi@SwitchDocLabs:~/SDL_Pi_SkyWeather2 $ sudo python3 SkyWeather2.py
./SkyWeather2.JSON File exists
Traceback (most recent call last):
File "SkyWeather2.py", line 34, in <module>
import wirelessSensors
File "/home/pi/SDL_Pi_SkyWeather2/wirelessSensors.py", line 26, in <module>
import aqi
ModuleNotFoundError: No module named 'aqi'
|
|
|
Post by SDL on Oct 15, 2021 16:12:11 GMT -8
No, you need to install the aqi library. Take a look at the README.md in the SkyWeather2 directory.
Update with git pull too.
to install on SDL SD Card do this:
sudo pip3 install python-aqi sudo pip3 install ffmpeg
BP
|
|
|
Post by wbbeasley on Oct 15, 2021 19:18:45 GMT -8
Boom. Looks like it is working. Now onto getting WeatherSTEM and preparing it for outdoors. Thanks for your help!
-Bryan
|
|