dlw27
New Member
Posts: 22
|
Post by dlw27 on Mar 30, 2021 15:25:54 GMT -8
I just bought Grove Cable Extenders - Pair. Description says "These two boards are to allow you to extend grove cables to whatever length you need. You can use RJ11 or RJ45 connectors."
RJ45 connectors do not fit in my extenders.
Please correct product's description.
|
|
|
Post by SDL on Mar 30, 2021 17:47:46 GMT -8
My Gosh! You are correct. It's the other way that works. We will fix that immediately. Thanks for bringing this to our attention!
BP
|
|
dlw27
New Member
Posts: 22
|
Post by dlw27 on Jan 5, 2022 8:43:10 GMT -8
My sensors have been functioning well since 1 Jun . . . thanks for your help
2 questions:
1) I have never recorded a wind gust greater than 35kts although I see reports of greater gusts in my area . . . does the algorithm have a limit?
2) What is purpose of file named "nohup.out" ? It keeps growing . . . now over 1GB. Can I simply delete it?
|
|
dlw27
New Member
Posts: 22
|
Post by dlw27 on Jan 5, 2022 11:52:08 GMT -8
Never mind about nohup.out file . . . found my answer.
|
|
|
Post by SDL on Jan 5, 2022 14:15:12 GMT -8
There is a limit somewhere how fast the gust will measure. Since we are depending on interrupts, it will depend on a lot of factors, such as the speed of your Pi, what else you are running, and probably the phase of the moon (that's humor).
BP
|
|
dlw27
New Member
Posts: 22
|
Post by dlw27 on Apr 21, 2022 17:13:20 GMT -8
After several months of normal operation, I discovered SkyWeather did not start after a reboot. I have been using rc.local during those months very successfully, but now SkyWeather does not start after reboot (every 5 days).
Any insight would be helpful. Absolutely no change in any SkyWeather-related before SkyWeather began failing to start after reboot. Just before no-start-after-reboot, I did delete nohup.out as I do periodically due to its extremely large size. Cause or coincidental?
I periodically update with sudo apt update.
My rc.local file below.
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing.
# Print the IP address _IP=$(hostname -I) || true if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi
cd /home/pi/SDL_Pi_SkyWeather nohup sudo python SkyWeather.py &
exit 0
Hardware: Raspberry Pi4 4GB RAM
Linux wx-station 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
|
|
|
Post by SDL on Apr 22, 2022 17:40:42 GMT -8
I would put in a "sleep 1m" command in the file before the cd command. I suspect that is it.
BP
|
|
dlw27
New Member
Posts: 22
|
Post by dlw27 on Apr 25, 2022 15:25:10 GMT -8
Yes and no. sleep 1m did not solve boot problem, but sleep 2m did. Thanks
|
|