Hmm. You have a different problem than just not starting. Do you have another Pi? Install SKyWeather on that Pi and see if it starts up. You have a problem with one of the three things I thing: 1) The Pi has a problem 2) Your image has a problem 3) You have a power problem.
What do you see on the monitor when the Pi does not autostart?
Post by Powderjockey on Nov 20, 2019 18:48:47 GMT -8
OK, For the past 10 days I've monitored the system. Every 5 days the Pi reboots and the SkyWeather does not start. I placed the required "script" into the /etc/rc.local prior to the 10 days. When I go to start the SkyWeather the following is what I get.
SkyWeather Weather Station Version 052 - SwitchDoc Labs......... I appears the pigpiod starts, but the python file for the SkyWeather does not.
File details for the rc.local are as follow:
#!/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
pigpiod cd /home/pi/SDL_Pi_SkyWeather nohup sudo python SkyWeather.py &