Commit Graph

65 Commits

Author SHA1 Message Date
Jack Sweeney 7b51e4255d Global Twitter Flag checking 2022-12-22 22:19:12 -05:00
Jack Sweeney 92a6f5808d
Update planeClass.py
Adds Mastodon circling messages
2022-12-22 21:38:36 -05:00
kk6fut 4963c8b15e Plug in Mastodon section 2022-12-14 08:49:05 -08:00
Jack Sweeney 82b1c2f272 Removing PushBullet support
I can longer recommend PushBullet, poorly maintained, switch to the Telegram integration.
No longer needed
2022-12-04 23:10:09 -05:00
Jack Sweeney 4f4ae83800 Blur functions for hiding aircraft identies or PIA
-Blur entire id reg, type, callsign, photo etc with  CONCEAL_AC_ID
-Blur PIA info, callsign and hex/icao
-Add missing option to mainconf example
2022-11-30 12:50:47 -05:00
Jack Sweeney dc828e6bed Cleaner error raise to Discord, remove bad Twitter raises 2022-11-14 13:21:40 -05:00
Jack Sweeney 017e2f6a3d
Merge pull request #74 from makrsmark/bugfix/73-opensky-state
heading is actually true_track
2022-10-24 22:14:30 -04: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
Mark Bumiller 60f8348eea linter fix 2022-10-13 07:32:11 -04:00
Mark Bumiller 76e6c2c483 heading is actually true_track
fixes Jxck-S/plane-notify#73
2022-10-10 08:34:59 -04:00
Jxck-S d71242fa2f Selenium 4.3.0 Fixes
-Replace deprecated functions
-Uses Tar1090 LimitUpdates parameter for screenshots
-Pip updates
2022-07-16 13:33:32 -04:00
Jxck-S fb4ed68b15 TFR context overide variable fix 2022-06-13 21:54:28 -04:00
Jxck-S ee06b4da5f Fix for #53
-Possible fix for #53
-Whitespace trimmed
2022-06-11 14:04:32 -04:00
Jack Sweeney d39b404f62 TFRs toggle, pounds fix, photo override fix
-TFRS toggle
-Pounds fix
-Photo override fix
- Airport code on image fix
-TFR above/below addition
2022-06-09 18:15:54 -04:00
Jxck-S 823d280965 Fix photo size, owner override/fix 2022-05-20 18:15:25 -04:00
Jxck-S cc7a584ac8 Merge branch 'multi' of https://github.com/Jxck-S/plane-notify into multi 2022-05-16 16:37:47 -04:00
Jxck-S 492c21db49 Meta, Fuel,TextCred,Overrides 2022-05-16 16:35:24 -04:00
Aki26 GamePlay 798a0a519c
Fix 'StateVector' object has no attribute 'heading' error.
Issue #42
2022-04-28 21:13:22 +02:00
b0nz 12c4f9b442
Update planeClass.py 2022-03-29 23:02:55 -03:00
rcbonz 0ae887a81e New feature: send a message using Telegram API with obtained data. 2022-03-13 15:52:58 -03:00
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