Skip to content

Commit 756e39f

Browse files
authored
Add README for Python flight monitor project
1 parent df6cd89 commit 756e39f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Python flight monitor
2+
3+
Uses the Flight Finder API to monitor for nearby flights matching an aircraft type, and then alerting if they match particular thresholds:
4+
5+
https://github.com/grega/python-aircraft-monitor
6+
7+
For example, I quite often have low-flying A400 (~300m) passing behind the house and want to be alerted of a likely pass with enough time to grab a camera and long lens:
8+
9+
```
10+
$ python aircraft_monitor.py
11+
Monitoring for A400s within 100km of (xx.xxxx, xx.xxxx)...
12+
Fetching flights from: http://0.0.0.0:7478/flights-in-radius?lat=xx.xxxx&lon=xx.xxxx&radius=100
13+
Response status: 200
14+
Found 23 flights in radius.
15+
16+
--- 2 A400(s) detected ---
17+
🚨 LOW ALTITUDE ALERT: A400 ASLAN78 at 267m, 127.7km away, inf minutes until closest approach.
18+
Alert thresholds not met. Skipping email.
19+
ℹ️ A400 detected: FLTOT49 at 1219m, 43.3km away, 6 minutes until closest approach.
20+
Alert thresholds not met. Skipping email.
21+
---
22+
```

0 commit comments

Comments
 (0)