This is a Flight Hunter made with a Raspberry pi 3B+. It can take photos or videos and store them on an AWS S3 cloud. This project was created because a Raspberry pi 3b+ has been in the closet for years.
koc01.2.mp4
Clone the project
git clone https://github.com/MitchBred/flight-hunter
Go to the project directory
cd flight-hunter
You can always generate .env
file manually by running
cp .env.example .env
Install dependencies
python -m pip install -r requirements.txt
Run script
python main.py
Tips:
- If you install this project on a Raspberry pi check first [Lessons Learned]
Copy .env.example to .env
cp .env.example .env
To run this project, you will need to add the following environment variables to your .env file
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
X_RAPID_API_KEY
X_RAPID_API_HOST
LAT
LON
KM_RADIUS
CAPTURE
OS
- sudo crontab -e
*/5 * * * * python3 /home/pi/Desktop/flight-hunter/main.py
- Use Linux ARM64
- Live previews.
- Choose between image or video capturing.
- Calculate radius distance from your home.
- Send images trough Whatsapp.
Client: Python
Server: Laravel (PHP)
-
Standby mode on Raspberry pi when there are clouds.
-
Monitoring Raspberry pi 3b+ (voltage, etc.).
-
Add USB camera (better quality) with 360° view.
-
Add solar panel to power bank.
-
Send images or videos to your own whatsapp chat. https://github.com/Ankit404butfound/PyWhatKit
-
Get automatically Latitude and Longitude from Raspberry pi.
-
Create archive page.
-
Laravel app to a Node app
https://projects.mitchellbreden.nl/flights
Here the server side of the related project
What did you learn while building this project? What challenges did you face and how did you overcome them?
- Install 64 bits version Ubuntu Server and not a 32 bits version.
- Can only use capture functions on the Raspberry pi.
- Check the right user privileges before you install the project on the Raspberry pi.
- Check how to connect the camera connection through the Raspberry pi.
- Check sometimes your logging
cat /var/log/syslog