mindlesstux / adsb_radius_alert

Send alerts based on if aircraft are withing a certain range of a point based on data gathered by fa-dump1090
3 stars 0 forks source link

Error starting adsb_radius_alert #1

Open graememilne opened 2 years ago

graememilne commented 2 years ago

adsb radius alert Hi trying out this interesting software. When i, python3 alert_check.py, i get an error.(see screen capture) I have also enclosed the screen capture of the changes i made at the top of file. config Hope you can help me resolve issue (maybe i have missed something ??) config

mindlesstux commented 2 years ago

It has been a while since I wrote the code but looking at the error message my gut says something is wrong with the aircraft.json.

The first thing I note is you are using tar1090 and not FlightAware. The config line calls for flightawares aircraft.json. I can look into the tar1090 format but it wont be for a few weeks most likely (If I remember) unless it is something quick I can knock out.

graememilne commented 2 years ago

Hi Thank you for the reply . I so happened to has web interface for flightaware installed also . So have changed it Capture

mindlesstux commented 2 years ago

Same error message with that change?

graememilne commented 2 years ago

yes,unfortunately

On Fri, 19 Aug 2022 at 20:47, MindlessTux @.***> wrote:

Same error message with that change?

— Reply to this email directly, view it on GitHub https://github.com/mindlesstux/adsb_radius_alert/issues/1#issuecomment-1221080917, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVZQ7M5AENSQCFY3HIP6JLVZ7XFXANCNFSM57B2EWPA . You are receiving this because you authored the thread.Message ID: @.***>

mindlesstux commented 2 years ago

@graememilne Pull a fresh copy and let me know.

graememilne commented 2 years ago

Hi Thank you for the quick fix . It appears to be working now. Are theses screen captures supposed to be what it prints ?? Here we have 2 test transponders on masts. 1 is not far from my home location 424a71 and 424a72 which are at 200 feet and 800 feet which are a good test if no aircraft around at moment .

I am thinking i require to set up cron timer to print out on screen ??

On Sat, 20 Aug 2022 at 02:52, MindlessTux @.***> wrote:

Closed #1 https://github.com/mindlesstux/adsb_radius_alert/issues/1 as completed via 08af56d https://github.com/mindlesstux/adsb_radius_alert/commit/08af56d20ec72ce2ea6ed3a580e03c8d4476fae8 .

— Reply to this email directly, view it on GitHub https://github.com/mindlesstux/adsb_radius_alert/issues/1#event-7225734160, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVZQ7MUPBSCTTX72BVOXZLV2BB7HANCNFSM57B2EWPA . You are receiving this because you were mentioned.Message ID: @.***>

mindlesstux commented 2 years ago

It is meant to be run under cron and dump notices to the configured targets via apprise.