Real-time ADS-B notifications for specific aircraft takeoffs and landings. Supports output many platforms.
plane-notify
Notify if configured planes have taken off or landed using Python with OpenSky(free) or ADSBExchange Data(paid, declining data, and run by clowns), outputs location of takeoff location of landing and takeoff by reverse lookup of coordinates.
I made this program so I could track Elon Musk's Jet and share his whereabouts with others orginally on Twitter (but now suspended, but now also on other platforms). I have now expanded and run multiple accounts for multiple planes, a list of the accounts can be found here https://grndcntrl.net/links
Contributing
I'm open to any help or suggestions, I realize there are many better ways to improve this program and better ways to get this program to work properly, I'm only a noob. I'll accept pull requests. If you'd like to discuss join https://grndcntrl.net/discord
These output methods once installed can be configured in the planes config you create, using the example plane1.ini
Install Screen to run in the background
bash
apt install screen
Download / Clone
bash
apt install git
git clone -b multi --single-branch https://github.com/Jxck-S/plane-notify.git
cd plane-notify
Configure main config file with keys and URLs (mainconf.ini) in the configs directory
Copy mainconf.ini.example to mainconf.ini andCopy plane1.ini.example to plane1.ini. plane1.ini can change names as long as it ends with the ini extension
Edit them with nano or vi on the running machine or on your pc and transfer the config to where you will be running the bot
Pick between OpenSky and ADS-B Exchange
The OpenSky API is free for everyone but the data is not as good as ADS-B Exchange. The ADS-B Exchange API is not free and this program will not work for the Rapid API from ADS-B Exchange. It only works with the API that they give when you have a partnership with ADS-B Exchange. It is not cheap to get the ADS-B Exchange full API, Don't contact them unless you are ready to pay.
If you'd like to add support for ADS-B Exchanges RapidAPI feel free to work on it and submit a merge request.
If you've set up multiple planes and want to use ADSB Exchange as your source you must have /all endpoint access to their API or it won't work.
Pick the correct API version for ADS-B Exchange.
Proxy is if your running multiple programs that use the ADSB Exchange, setup the proxy from lemonodor so you don't abuse the ADSB Exchange API, otherwise leave enable false.
When using OpenSky there are more bugs because I mainly use ADS-B Exchange and work less on the OpenSky Implementation.
Configure individual planes
An example file is given (plane1.ini) plane config files should be in the configs directory, the program looks for any file in that folder with a .ini extension.
After running this command, due to the -d flag the container will be running in the background. To see the logs of the docker container use docker logs CONTAINER (add -f to continue streaming the containers output)
Telegram message feature - march/2022
Data obtained can be sent through Telegram to a chat (contact), channel or groups.