Skip to content

📡 ✈️ The Flight hunter that picks up ADS-B signals from airplanes and take photos or videos with a Raspberry pi 3B+ within a radius default of 5 kilometers

Notifications You must be signed in to change notification settings

MitchBred/flight-hunter

Repository files navigation


Flight Hunter

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.

Video

koc01.2.mp4

Run Locally

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:

Copy .env.example to .env

cp .env.example .env

Environment Variables

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

Run script automatically

  • sudo crontab -e
  • */5 * * * * python3 /home/pi/Desktop/flight-hunter/main.py

Create self-hosted runner

  • Use Linux ARM64

Features

  • Live previews.
  • Choose between image or video capturing.
  • Calculate radius distance from your home.
  • Send images trough Whatsapp.

Tech Stack

Client: Python

Server: Laravel (PHP)

Roadmap

  • 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.

Related project

  • Create archive page.

  • Laravel app to a Node app

Demo

https://projects.mitchellbreden.nl/flights

Related

Here the server side of the related project

SOON

Lessons Learned

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

Authors

License

MIT

About

📡 ✈️ The Flight hunter that picks up ADS-B signals from airplanes and take photos or videos with a Raspberry pi 3B+ within a radius default of 5 kilometers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages