sudo apt update
sudo apt install python3
sudo apt install python3-pip
Install Required Libraries:
sudo pip3 install rpi_ws281x adafruit-circuitpython-neopixel
Wiring Up The Lights: "I'm Using 5 Volt WS2811 LED"
Red Wire To Five Volts
White Wire To GPIO18 "PIN 12"
Blue Wire To Ground
Let's Make Some Files: "Thanks To prueker"
git clone https://github.com/prueker/METARMap.git
mv METARMap/airports /home/pi
mv METARMap/metar.py /home/pi
mv METARMap/lightsoff.sh /home/pi
mv METARMap/refresh.sh /home/pi
mv METARMap/pixelsoff.py /home/pi
Testing The Install:
sudo python3 metar.py
Let's Run A Few chmod Commands:
chmod +x refresh.sh
chmod +x lightsoff.sh
chmod +r pixelsoff.py
chmod +r metar.py
chmod +r airports
To Start The Script By Using Crontab:
crontab -e
Add The Following The The Bottom And Save:
*/5 6-22 * * * /home/pi/refresh.sh
05 23 * * * /home/pi/lightsoff.sh
Airport Search Site: “Click Here”