-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose acarsdec -n, -N and -j options #95
Comments
If I'm understanding you right this option is already partially available, although undocumented which I should change. If my memory serves me correctly All vdlm2dec and acarsdec instances in the container are started up in the container with
|
Thanks for taking time to reply me. I just tested the following:
and acarsdec started without any issues. I didn't see any errors, just the following messages: Found Rafael Micro R820T tuner Could you give it a try to see if you have the same behavior? My acarsdec was built from source, like yours I suspect. By the way, the options I am really interested on have exposed are -n and -N as both allow to feed external programs like Planeplotter and FlghtAirMap (which run on different servers) |
We do build both decoders from source for use in the container. My memory is exceptionally fuzzy about what log entries acarsdec spits out but I feel like what you posted looks normal for startup. It should show received messages on the console log. I'll try and see if the decoders can be started up with multiple feed outs, and if so I'll add in an option for it to do that. I have a feeling it won't, though. If it won't, I can add in an option to start up another decoder with the It depends on what your goal is. If you want to use ACARS Hub to just effectively run the SDR dongles and the decoders, and not worry about everything else it does like storing messages, web front end, etc, then it would be pretty easy for me to add this in. Otherwise, I'd have to rewrite some of the ACARS Hub code to ingest the data in a different format to allow for a single decoder to output data in the PP format, while having it do everything ACARS Hub does right now. Again, it's all contingent on whether the decoder can output in both PP and JSON formats simultaneously. I'll test and get back to you. |
I would say ACARS Hub for me would be the primary interface to read and search for ACARS messages |
The goal is that ACARS Hub becomes that perfect world you've described and it's where I'm going to be taking this project. Eventually I'll add in readsb so the requirement to also be running tar1090 to get the ADSB data is removed. If you have any suggestions about what tar1090 does that ACARS Hub isn't please let me know. Besides a few interesting things like range rings and showing more data about the plane when you click on it there isn't much more to do. I took a look through the acarsdec source code and for sure it won't support outputting to multiple sources. I'll have a look through vdlm2dec and see what it'll do. That said, it doesn't look hard to make it do that so I'll give it a go and we'll run a modified decoder in the container. Way back in the day we ran a custom version of acarsdec because there was a little nasty bug in the decoder that was causing a lot of problems. Eventually the author of acarsdec merged in the change so we switched back to using his version. I'm unfamiliar with FAM statistics but for sure I can look at emulating that functionality in ACARS Hub. |
Thanks for working on this request. |
Will it be possible to to expose acarsdec options to send acars messages to addr:port via UDP?
This would allow docker-acarshub to send acars messages to programs like FlightAirMap
The text was updated successfully, but these errors were encountered: