kevinabrandon / AboveTustin

ADS-B Twitter Bot. Uses dump1090-mutability to track airplanes and then tweets whenever an airplane flies overhead.
MIT License
72 stars 21 forks source link

Military Only #16

Open kevinGZ opened 7 years ago

kevinGZ commented 7 years ago

Can you add Military only Tweet =)

kevinabrandon commented 7 years ago

That would be cool... any idea how to tell if the airplane is military? I've seen that ADSB Exchange can tell if it's civilian/military. If there is an easy way to tell, I could immediately put in a special hashtag indicating it's military.

Assuming it's easy to tell, if you really want just military only, then it would be pretty straightforward code change to filter them out.

For my setup I tweet anything that is one mile away or closer or higher than 50 degrees from the horizon. I would want to keep that the same, but make exceptions for military aircraft, tweeting any that are within 10 miles or 20 degrees from the horizon.

lordkane commented 7 years ago

Hi Kevinabrandon look please this dump1090 version ... https://github.com/Mictronics/dump1090

docs/screenshots there ... this dump1090 can civ and mil

ktul584 commented 6 years ago

If you could discriminate by ICAO hex somehow, most all US military aircraft are AD or AE

kevinabrandon commented 6 years ago

That seems pretty easy, how reliable is that?

ktul584 commented 6 years ago

I'd say 95% or better. The only things I can think of that don't fit are the odd ball unmarked SOCOM planes (UV-18s, CN-235s, etc) and occasionally an E-6B will go up with an alias hex (something like 249249)