Skip to content

Dual 1090 978 setup

wiedehopf edited this page May 18, 2023 · 9 revisions

Assign a serial to the SDRs

sudo apt install rtl-sdr

Unplug non 978 SDRs and use this command: sudo rtl_eeprom -s 978

Unplug non 1090 SDRs and use this command: sudo rtl_eeprom -s 1090

Unplug both SDRs, plug them back in again to make the system aware of the new serials. A reboot will not do that.

Reconfigure readsb / dump1090-fa to use serial 1090

  • for readsb:
sudo sed -i -e 's/--device 0/--device 1090/' /etc/default/readsb
sudo systemctl restart readsb
  • for dump1090-fa:
sudo sed -i -e 's/--device 0/--device 1090/' /etc/default/dump1090-fa
sudo systemctl restart dump1090-fa

Install dump978-fa

dpkg --print-architecture | grep -qs -e armhf && URL="https://flightaware.com/adsb/piaware/files/packages/pool/piaware/f/flightaware-apt-repository/flightaware-apt-repository_1.1_all.deb"
wget -O /tmp/piaware-repo.deb "$URL"
sudo dpkg -i piaware-repo.deb
sudo apt update
sudo apt install -y dump978-fa
sudo sed -i -e 's/RECEIVER_OPTIONS.*/RECEIVER_OPTIONS="--sdr-gain 43.9 --sdr driver=rtlsdr,serial=978 --format CS8"/' /etc/default/dump978-fa
sudo systemctl restart dump978-fa

graphs1090

graphs1090 should add 4 978 graphs at the bottom of the page: https://github.com/wiedehopf/graphs1090#graphs1090

If you don't have /ax978 from feeding adsbexchange you'll need to set the location in /etc/default/skyaware978 so that the range graph works (--lat 50.1234 --lon 20.4567)

Using this as an instances file should give you a webinterface for 978 traffic at /978

In addition or as an alternative for combined 1090/978 traffic: https://github.com/wiedehopf/tar1090#configuration-optional

Clone this wiki locally