Commit Graph

18 Commits

Author SHA1 Message Date
Mark Bumiller d72a90306b removing unused image and code 2023-02-26 11:36:11 -05:00
Mark Bumiller 689251c1b8 fixing conditional logic 2022-12-12 07:02:37 -05:00
Mark Bumiller d6bb192163
treating aircraft data as alist 2022-12-07 18:59:39 -05:00
Mark Bumiller 4d44d58306 simplifying rapidadsbx logic
- raising exception if response not 200
- decode json from resposonse lib
- simplifying iteration of planes
- updating plane data in the same loop as querying api

fixes Jxck-S/plane-notify#84
2022-12-05 18:45:18 -05:00
Jack Sweeney 3eb6f51225 Merge branch 'rapidapi' of https://github.com/makrsmark/plane-notify into multi 2022-11-14 13:47:07 -05:00
Jack Sweeney dc828e6bed Cleaner error raise to Discord, remove bad Twitter raises 2022-11-14 13:21:40 -05:00
Jxck-S f600964f93 Minor pushes of old updates
-Minor Linux fixes for /tmp,
-remove seperate discord messages, all one
-Fix empty discord roles
2022-10-24 22:07:30 -04:00
Valerio Souza c7d11b95f4 RapidAPI 2022-05-18 13:33:22 -03:00
Jxck-S 492c21db49 Meta, Fuel,TextCred,Overrides 2022-05-16 16:35:24 -04:00
Jxck-S 1366f7d3ca Fix for hanging requests, Remove PID File
- Removed PID file generation, uneeded use matching process to
plane-notify name
- Add timeout to requests for ADSBX, previously hanging.
- Fix exception for Discord
2021-10-13 21:27:38 -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 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 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 073e8f9feb Begin Restructure
-main file is now __main__.py
2021-02-19 00:28:37 +00:00