Comments (16)
Thank you! Fixed by your PR #30 π
from docker-fr24feed-piaware-dump1090.
Testet latest docker image and it is working as expected.
from docker-fr24feed-piaware-dump1090.
Hello,
Running dump1090 on another host is not fully supported right now.
You should change the config file with something like #13 (comment).
from docker-fr24feed-piaware-dump1090.
Unfortunatly this is not possible as the docker container runs in kubernetes behind rProxy and device which dump1090 is running is not available from the remote network. So it isn't enought to just direct allow connection to the dump1090-device.
There is a other way that could work, but isn't possible with your container: antirez/dump1090#87
run on dump1090-fa node:
rtl_tcp -a 0.0.0.0 -f 1090000000 -s 2000000
run inside the docker:
nc 11.22.33.44 1234 | dump1090 --ifile -
But this is not possible as I've to put netcat
in front to pipe it :(
Would there be a way to make this possible in this image as a option?
I tried by myself but didn't get it to run... for me the image is crashing when I want to use dump1090 :( may because there is no RTL USB mapped to docker?
from docker-fr24feed-piaware-dump1090.
I tried by myself but didn't get it to run... for me the image is crashing when I want to use dump1090 :( may because there is no RTL USB mapped to docker?
Yes, I think you can override the configuration with DUMP1090_ADDITIONAL_ARGS
with --net-only
or something like that (see the doc).
But you still have to tweak a bit to use netcat.
I can't test it myself, I let you try it, and maybe open a pull request with your work.
from docker-fr24feed-piaware-dump1090.
I just played around and got it working.
I created a pull reqeust:
#30
Important notes:
Requires appox. 35-40 Mbit/s bandwidth.
Example RTL_TCP command: ./rtl_tcp -a 0.0.0.0 -f 1090000000 -s 2400000 -p 30005 -P 28 -g -10
Use correct frequency, sample rate and ppm_error value.
from docker-fr24feed-piaware-dump1090.
Just one more thing.
As rtl_tcp is usinge to much bandwidth I looked out for another solution.
I found one that is working too.
You can run dump1090-fa
on a remote host and configure --net-bo-port=30005
.
Then you need to configure extra arg --net-bi-port=30004
on dump1090
inside the docker container.
After that we can just netcat the the remote feed to the local dump1090 instande with nc [REMOTE-DUMP1090] 30005 | nc -q1 localhost 30004
I will try to get a PR for this too.
from docker-fr24feed-piaware-dump1090.
That could be a good way to save bandwidth π
We just need to add a new "service" with nc [NC-REMOTE-HOST] [NC-REMOTE-PORT]| nc -q1 localhost [NC-LOCAL-PORT]
from docker-fr24feed-piaware-dump1090.
That could be a good way to save bandwidth π
We just need to add a new "service" withnc [NC-REMOTE-HOST] [NC-REMOTE-PORT]| nc -q1 localhost [NC-LOCAL-PORT]
This is exactly my idea... but I don't know how to solve it when we want to use multiple remote dump1090 instances.
So best way would be that we can specify multiple NC-REMOTE-HOST
as 192.168.1.200,192.168.1.201,...
and it would netcat all of them to the localhost.
If we want to do this just for one, it should be easy.
Anyway... I think about rename the ENVs used.
RTL version to:
RTL_TCP_REMOTE_HOST
RTL_TCP_REMOTE_PORT
RTL_TCP_OVER_NETCAT
and for the new one we should use:
DUMP1090_REMOTE_HOST
DUMP1090_REMOTE_PORT
SERVICE_ENABLE_DUMP1090_OVER_NETCAT
Bandwidth with new solution looks like it is below 200kbps.
from docker-fr24feed-piaware-dump1090.
We can rename args that way π
Take a look at https://stackoverflow.com/questions/11917708/pipe-multiple-commands-into-a-single-command
Maybe we can pipe all nc
into one, not sure about this one?
Or maybe this script : https://github.com/wiedehopf/combine1090/blob/master/combine1090.sh
If it works, we need to find a way to split different host with ,
and it should be good.
from docker-fr24feed-piaware-dump1090.
Okay... I got it to work as a new netcat service but for now with just one remote dump1090 instance.
I've created a PR (#31) so that others can use it too.
I renamed the ENVs to more match the used method. (RTL_TCP or DUMP1090).
I created a new ENV SERVICE_ENABLE_IMPORT_OVER_NETCAT
and also updated readme to describe both cases in seperate topics.
New method with dump1090 is using less bandwidth. (appox. < 100 Kbit/s)
I hope that helps.
from docker-fr24feed-piaware-dump1090.
So best way would be that we can specify multiple NC-REMOTE-HOST as 192.168.1.200,192.168.1.201,... and it would netcat all of them to the localhost.
I'm not motivated enough to try to implement this one. But that's a good idea.
from docker-fr24feed-piaware-dump1090.
So best way would be that we can specify multiple NC-REMOTE-HOST as 192.168.1.200,192.168.1.201,... and it would netcat all of them to the localhost.
I'm not motivated enough to try to implement this one. But that's a good idea.
I do not have multiple rtl-sdr usb sticks so I donβt know if I will do this too.
Thanks for your help! :-)
from docker-fr24feed-piaware-dump1090.
Maybe multiple time with the same stick, or with a dummy blank endpoint.
Also, I've seen that it can create some trouble with MLAT etc, so it is not worth the trouble.
from docker-fr24feed-piaware-dump1090.
I just had the idea to specify it the other was like host1:port1,host2:port2
In this case we can just use this to split IPs and port by ,
and then replace :
with space. The result is that each IP/Port combination is a separate line.
Example:
echo "192.168.1.1:30001,192.168.1.20:30002,10.10.0.10:30003" | awk -v RS=, '1' | sed 's/:/ /g'
But I don't get it how I can make netcat connect to each of them simultaneously.
from docker-fr24feed-piaware-dump1090.
But I don't get it how I can make netcat connect to each of them simultaneously.
Me neither, maybe with the script of combine1090
from docker-fr24feed-piaware-dump1090.
Related Issues (20)
- Segmentation fault on Raspberry Pi Zero W HOT 2
- MLAT on flightaware "Receiver location not configured" HOT 4
- Failed to start add-on under Home Assistant HOT 1
- STATUS: Exited (0) HOT 10
- multi feeder HOT 2
- Request for dashboard link for each service
- Radarbox - 'already claimed' error on supplied sharing key HOT 1
- ADSBHub feeding
- Connection refused at web interface (8080) on 1.29.0 HOT 2
- ADSBHub sometimes key could not work HOT 4
- piaware MLAT Client with wrong configuration for Beast-format results connection and http feed tracker dosnΒ΄t show any airplanes HOT 7
- ADSB exchange uuid generation. HOT 3
- Please advice. HOT 1
- How to Access rtlsdr-gain Parameter? HOT 1
- MLAT inactive - A new upgrade is available for your Raspberry Pi RadarBox software!
- Services in container keeps stopping HOT 4
- Address already in use, container stops
- dump978
- FR24 feeder reported as online, no data uploaded HOT 1
- Feature Request: Feed in to 360Radar
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-fr24feed-piaware-dump1090.