Thanks for the quick reply. So far, no issues that I am aware of running the 2 1090 plus the 1 978. Maybe I am tempting fate! Thought I would ask anyway. Again, thank you.
With the new version of PiAware (5.0), it doesnāt seem to like using /dump1090-fa2/ as it says this version of SkyAware will soon be deprecated. Is there a way to see the 2nd instance in the newest/latest version of SkyAware 5.0 (/skyaware2/ for example)? Tar1090 works just fine so if the answer is no thatās okay too! Thanks!
Where are you getting this /dump1090-fa2/ / skyaware2/ from? The URL will be < ip address >/skyaware
Does that URL work for you?
1st one is 192.168.1.151/dump1090-fa/ 2nd is 192.168.1.151/dump1090-fa2/
OR
192.168.151.151:8080 and 192.168.1.151:8181
So same IP for the pi, just 2 instances of dump1090-fa running (2nd named dump1090-fa2)
Using 192.168.1.151/skyaware/ only brings up the 1st one
(using the 2nd instance to capture the planes overhead, ie, lower gain)
Heās using the guide in this thread.
Please see first post of this thread.
Ah I see, thanks for the clarification @wiedehopf @abcd567
@markrrichardson Try replacing the lines below in your /etc/lighttpd/conf-available/89-dump1090-fa2.conf
"/dump1090-fa2/" => "/usr/share/dump1090-fa/html/"
to
"/dump1090-fa2/" => "/usr/share/skyaware/html/"
and
"/" => "/usr/share/dump1090-fa/html/"
to
"/" => "/usr/share/skyaware/html/"
and restart lighttpd
sudo systemctl restart lighttpd
This would maintain your current URLsā¦but if you want to change those, I can help you with that if this first step works
That works perfectly, thanks! Have a wonderful day!
what about using docker containers and separate the 2 instances like that ? it will keep the base OS clean, and only using USB hardware (dongles) so first step chaning the IDs is required, and then just run the containers, each with its own configuration and its own dongle and tcp/ip ports.
Of course someone needs to dockerize piaware.
Is this still the best way to setup 2 1090 stations on one raspi (one low-gain, one high-gain)?
An alternate is to use Docker.
Since I have not tried Docker, cannot say which one is better.
I still dont know how to use docker as of yet but eventually have to learn. Speaking of Log files of Piaware, I would like to be able to log all the aircraft that my Piaware receives on a 24 hour basis and to include the UAT side.
@abcd567 Your script for 2 1090 dongles worked great but now Iām trying to setup the SET GAIN buttons for each. Does the SET GAIN button code from your github site still work with FA 8.2 ???
Iām getting a 404 NOT FOUND error where the button should be located. Any ideas?
Gain button works in ver 8.2 also.
In addition to seeing it embeded in skyaware map, you should also see it in top-left corner of your Browse at āIP-of-Pi/gain.phpā, like below:
Stand-alone
Embeded in Skyaware
I get the gain.php version but not the Skyaware version ā¦
Any ideas what might be causing the 404 NOT FOUND?
Clear Browser cache (Ctrl+Shift+Delete)
Reload Browser (Ctrl+F5)
My post you quoted was made when both the maps ip/dump1090-fa/
and ip/skyaware/
were available.
Since last few versions the ip/dump1090-fa/ map was removed by removing folder /usr/share/dump1090-fa/html
. That is why you get responce āfolder html not foundā.
Now only folder /usr/share/skyaware/html
is available. So in item (1) use following commands
cd /usr/share/skyaware
sudo cp -r html html2