Ok, Iāve been trying to figure out something that is probably very simple but my brain refuses to see it!
What Iād like is to have one webpage display the aggregated output from a remote receiver and the local resident dump1090 while each feeding piaware independently. Is this what weāre trying to do here?
On the remote I configure dump1090:
dump1090-mutability --net-bo-port 30007 --net-bi-port 30006
So this is not feeding Piaware, I assume now. I guess I canāt feed piaware & the aggregrator at the same time.
On my aggregrator I start a second dump1090 (changing the ports to avoid conflicting with the first instance):
dump1090-mutability --net-only --net-bo-port 30007 --net-sbs-port 0 --net-fatsv-port 0 --net-bi-port 30006 &
This should not interfere with the primary instance which is running fine at this point.
Then on the main primary Pi again, I start the socat:
socat -u TCP:remotehostIP:30007 TCP:127.0.0.1:30006 &
This connects to the remote and feed the data to 30006 which belongs to the second dump1090 process.
If I send it to 30004, which is the main dump1090 process port, then it comes up on the webpage and if I reconnect my local antenna, I assume it would show me both the local receiver data and the incoming network feed.
socat -u TCP:remotehostIP:30007 TCP:127.0.0.1:30004 &
Now at this point Piaware is complaining because itās detected two receivers feeding.
So then the third command:
piaware-config -mlatResultsFormat "beast,connect,localhost:30004 beast,connect,aggregatorhost:30006"
sends mlat data from the receiver to both piaware & the aggregratorā¦
Do I need to run this one the local main Pi as well? I assume so.
So what am I not seeing?
Thanks for your time!