Commit Graph

45 Commits

Author SHA1 Message Date
Jxck-S 4f9d660883 Fixes Twitter Replies
-Fixes issues for multiple planes on same twitter account.
-Use to reply to latest tweet on account,
now replies to last tweet of thread the specific aircraft.
2021-10-28 20:30:14 -04:00
Jxck-S 405cc549f9 Update Tweepy, Add route lkp to OpenSky
-Tweepy 4.0.0, defTweet fix notify no longer a thing
-Mictronics parse, get type code by icao
-Route lookup now working for OpenSky if enabled
2021-10-01 14:51:17 -04:00
Jack Sweeney 40caa6c016 Docstring fix, ignore route lookup when no type, reg fix 2021-09-22 13:55:47 -04:00
Jack Sweeney 6809dadf24 Diversion/route change, Circling, Clean keys
-New route system check on takeoff/1 min after then every 10 mins,
checks for divert and route change.
-Circling detection, stores traces of track changes, time and coordinates,
triggers once total change of past 20 mins 720 deg and within 15 miles of centroid.
-Sneaky cleaned up keys -_- ;)
2021-08-13 21:44:57 -04:00
Jack Sweeney 2d6a64c764 Data error correction, Plane str method, Fix Data input
-Failover toggle in mainconf
-Error correction on data only ADSBX v2
-Move tabulate print to str method
-OpenSky and ADSBX v1 fixed, was never updated when squawk was added or new lastpos datetime
2021-07-30 18:27:51 -04:00
Jack Sweeney 487ac96ebb Requirments update, fix ra with no invader.
-RA fix, not best solution but it works
2021-07-24 22:31:28 -04:00
Jack Sweeney 12ca3ace90 Add region to going to info, new squawks, sel alt noti.
-Move pid file on linux
-ADSBX request, fix when response is cleared and no status code to print
-Airports, common add region function
-Default and per plane configurable data loss time till land.
-New squawk system from emergency-notify
-Disable route lookup for military flags
-Removed duplication of route to message generation, created function
-Route to now puts city/region then airport name
-Seperate sel alt notifications
-Remove Unused old map overlay function
2021-07-13 23:50:57 -04:00
Jxck-S d53be29961 Relative ETA, Auto toggle route lookup, Crash file to Discord
-Auto route lookup toggle
-Simplify failure, removed failed var rely on data to None instead
-ADSBX data matching efficiency improved, index then loop rather than nested loops
-Send crash log as file to discord
-Deduplicate requst code for adsbx requests
-Discord Tag Role ability
-Print out OpenSky error when one exsist
-Ignore missing elements when screenshoting ADSBX
-Relative ETA to destination added
-Fix issue with RA screenshot, add lat/lon param just incase map breaks
2021-06-10 11:21:05 -04:00
Jxck-S 71b4bb807c Switch to all datetime in planeclass, returning to.
-Replace time with datetime
-Fixes 10 hours issue
-Returning to instead of going to if destination is same place as origin
-Plural/singular for time
-Redisable route lookup
2021-05-27 11:51:38 -04:00
Jxck-S aef724bd56 Fix overlays, change to wait for webdriver 2021-05-09 16:47:19 -04:00
Jxck-S 1d7bc62699 New Resolution Advisory system, Mictronics DB, PID File
-Makes PID file on Linux and SIGTERM detection, mess with logging
-Better DIR handling
-Downloads Micrtronics db and unzip, parsing library
-Downloads RA list of day from ADSBX and looks for new ones
-ADSBX Screenshoting, timebased, tracks, labels
2021-05-02 13:27:05 -04:00
Jxck-S e09061289b Dependecies dir, screenshot in temp dir, rename functions
-New dependencies directory, font, airports, regions
-Screenshots put in OS temp directory now
-Fix some function names to be proper
-Testing with resolution advisories
-Adjust nearest airport box
-AppendAirport.py > modify_image.py
2021-04-01 17:20:17 -04:00
Jxck-S e76b8750bf AGL calculation, Traceback, Powerup, Route
-Use AGL to nearest airport when landing or takeoff is a unconfirmed instead of MSL, helps improve reliability in high areas.
-Change airport code on image to IATA / ICAO
-Better exceptions
 -Common Discord message method, full traceback on exits sent to Discord
 -Remove unneeded location code that relied on Reverse Geocode
 -Update TODO and refrences
 -Try powerup
 -Route lookup, not public because it breaks TOS of companies
2021-03-07 20:46:37 -05:00
Jack Sweeney 0184eed167 Many Updates, baro alt, GMaps fixed
-Switch to baro altitude, new variable
-Fix GMaps
-Fix squawk on OpenSky and ADSBX v1
-Coordinates now as pair on print
2021-02-20 00:12:22 +00:00
Jack Sweeney a75245f279 Title Changes, Time remove 0 hours
-Fix Misspell Twitter
-Fix unset reg
2021-02-19 00:47:00 +00:00
Jxck-S d7a812a672 Various Minor Changes
-Cleanup some exceptions
-Remove unused imports
-Make titles switch statement
-Fix invalid callsign in alt text
2021-02-13 22:14:19 -05:00
Jack Sweeney 2a49a94a1a Reduce location name duplication
-If region and municipal are equal only one will be put
2021-02-05 23:04:28 +00:00
Jxck-S 81eccb9910 Improve squawk emergency detection
-copied from my emergency-notify https://twitter.com/adsb_alerts
-BREAKS OpenSky and ADSBX v1 will be fixed eventually
2021-02-02 21:08:02 -05:00
Jxck-S a0d42b47e7 New Location Name Lookup, Althold Sel Alt
-Scrap GeoPy Lookup, now using nearest airport city/state
-Update Nav mode notifications, include althold alitude,
screenshot only on approach
-Discord support for only message, image not required.
2021-01-16 13:38:25 -05:00
Jack Sweeney 90b74df7db ADSBX v2, crash notifications, Squawk, Nav modes
-ADSBX v2 API Support
-ADSBX API Proxy support, https://gitlab.com/jjwiseman/adsbx-api-proxy
-Built in crash notification to discord (Required RN need to add toggle)
-Fix some error handling
-Emergency Squawk Notifcations
-FMS Nav Mode Notifications (WIP, need to add set alt to althold notis and more)
-Landing / Takeoff notification code simplified to one module
2021-01-08 18:06:03 +00:00
Jack Sweeney 849a71732f -Many changes, overlays, cleanup, more config....
-Added tar1090 overlay option per plane.
-Added Discord notifcation of failover(required rn).
-Improved config parsing, subfolder support, disabled folder to ignore, plane configs parsed only once.
-Unified divider length, 100
-Parsing ADSBX and OpenSky are seperate functions also run empty function.
-Made some self variables local, they where unnecessarily self.
-Remove recheck data, uneeded since timeout to landing was added.
-Cleaned up Reverse Geocoder error handling, uses less variables.
2020-12-19 22:21:33 +00:00
Jack Sweeney fea30b4e65 Period fix docustirngs
Remove push response set
2020-11-22 13:20:41 +00:00
Jack Sweeney 9481290598 Fix quotes 2020-11-22 01:42:09 +00:00
Jack Sweeney 90e143191a Formatting
-Remark
-Docustrings
2020-11-21 18:26:27 +00:00
Jack Sweeney a8608f5c54 New Airport Lookup
-New Database Source
-Airport types per plane in config
2020-11-21 03:58:43 +00:00
Jack Sweeney 030f2c14d2 Source failover, from ADSBX to OPENS
Landing by data loss after 5 mins now
2020-11-20 03:24:21 +00:00
Jack Sweeney 47864b7f79 Nearest Airport IMG, coordinates use fix
-Append airport to map
-Import pull data modules only when needed
-Move when nearest airport is calculated
-Fix use of incorrect coordinates for location lookup and nearest airport #216
2020-11-12 04:00:45 +00:00
Jack Sweeney 03d4fb1b95 rename Airport lookup, ignore comments 2020-11-10 02:16:34 +00:00
Jxck-S 7852e5a7a1 Remove extra dict, cleanup parsing 2020-11-09 13:23:09 -05:00
Jxck-S 2ba5a2e931 Handle assisgment errors when bad data 2020-11-08 12:22:31 -05:00
Jxck-S 13bc6dcc91 Changes to last contact output 2020-11-03 16:38:12 -05:00
Jxck-S 976059af3c Change output format, show last contact time, Update Twitter usage 2020-10-28 18:51:15 -04:00
Jxck-S 76313acfe9 Move config files/reduce repase, intital airport lookup 2020-10-25 22:42:50 -04:00
Jack Sweeney 03a1ba7a6f Merge branch 'multi' of https://github.com/Jxck-S/plane-notify into multi 2020-10-10 18:54:00 +00:00
Jack Sweeney 21c68f93cb Differ land/take off statement 2020-10-10 18:53:48 +00:00
Jxck-S 4784dbb4c3 Only check incosistency on loss 2020-10-07 16:31:51 -04:00
Jack Sweeney 6fe6de8857 Add data recheck on feeding status change. 2020-10-05 16:28:23 +00:00
Jxck-S 01022e5e7b Implement OpenSky 2020-10-05 08:11:09 -04:00
Jxck-S 38fadf09d0 Remove leading zeros on flight time 2020-10-04 19:37:25 -04:00
Jxck-S 4e38f0cd9f Fix Pushbullet and set feeding to True on data 2020-09-21 19:04:11 -04:00
Jxck-S 9b5edaa9a3 Updating to more eff. location lookup only after events 2020-09-19 20:00:46 -04:00
Jxck-S ae19c7b6b8 Move ADSBX pull to function 2020-09-19 17:32:33 -04:00
Jxck-S 83b1e71c54 Making fixes to get OOP version running 2020-09-14 10:56:06 -04:00
Jxck-S aeede2633d Inital Multi Version untested 2020-09-11 21:15:51 -04:00
Jxck-S 04379e540a Setting up more for class etc 2020-09-01 19:35:19 -04:00