-
Notifications
You must be signed in to change notification settings - Fork 80
Description
I have fixed these problems but just wanted to put my solutions out there for those that are having problems.
In the metar.py file it calls airports to get the names of the airports needed, but the original file gives errors and you need to change all of the code to have the full name, airports.txt
Recently i had to redo everything because of a suspected corrupted sd card that bricked my os installation. in the latest version of raspberry lite when installing pip3 it gave an externally managed error that had me force the installation that probably caused my next issue, the crontab.
Instead of using crontab -e, i had to manually do "sudo nano /etc/crontab" to add my refresh and reboot code
i used
*/5 * * * * /home/pi/refresh.sh
@reboot sudo python3 metar.py &
and that fixed my problems
I have attached my metar.py for anyone that doesnt want to do the airports.txt fix.