CzADSB-Agregator: Porovnání verzí
Z Poznámkový blok
(→Instalace ReADSB) |
(→Konfigurace ReADSB) |
||
| Řádka 27: | Řádka 27: | ||
--net-receiver-id \ | --net-receiver-id \ | ||
--net-ingest \ | --net-ingest \ | ||
| − | --net -- | + | --net \ |
| + | --net-only" | ||
DECODER_OPTIONS="\ | DECODER_OPTIONS="\ | ||
| Řádka 49: | Řádka 50: | ||
--net-asterix-reduce \ | --net-asterix-reduce \ | ||
--net-vrs-port 30009 \ | --net-vrs-port 30009 \ | ||
| − | --net-json-port 30006" | + | --net-json-port 30006 \ |
| + | --tar1090-use-api \ | ||
| + | --api-shutdown-delay 10 \ | ||
| + | --net-api-port unix:/run/readsb/api.sock" | ||
JSON_OPTIONS="\ | JSON_OPTIONS="\ | ||
Verze z 19. 2. 2026, 18:10
ReADSB
Instalace ReADSB
Instalace ReADSB (kompilace, bez podpory SDR)
sudo apt update && sudo apt -y upgrade sudo apt install --no-install-recommends --no-install-suggests -y \ git build-essential debhelper pkg-config fakeroot libncurses-dev zlib1g-dev libzstd-dev help2man git clone --depth 20 https://github.com/wiedehopf/readsb.git cd readsb rm -f ../readsb_*.deb export DEB_BUILD_OPTIONS=noddebs dpkg-buildpackage -b -ui -uc -us cd .. rm -f /tmp/readsb_*.deb mv ./readsb_*.deb /tmp/ sudo apt install /tmp/readsb_*.deb
Konfigurace ReADSB
sudo mcedit /etc/default/readsb # readsb configuration RECEIVER_OPTIONS="\ --write-receiver-id-json \ --net-receiver-id \ --net-ingest \ --net \ --net-only" DECODER_OPTIONS="\ --modeac \ --modeac-auto \ --max-range 500 \ --preamble-threshold 200 \ --forward-mlat \ --forward-mlat-sbs \ --write-json-every 1" NET_OPTIONS="\ --net-api-port 8008 \ --net-receiver-id \ --net-bi-port 30004 \ --net-bo-port 30005 \ --net-ro-port 30002 \ --net-ri-port 30001 \ --net-sbs-port 30003 \ --net-sbs-in-port 30000 \ --net-asterix-reduce \ --net-vrs-port 30009 \ --net-json-port 30006 \ --tar1090-use-api \ --api-shutdown-delay 10 \ --net-api-port unix:/run/readsb/api.sock" JSON_OPTIONS="\ --json-location-accuracy 2 \ --range-outline-hours 24"
Instalace Lightppd
Pro podporu api a stahovani stavů pres http doinstalujeme Lighttpd
sudo apt install -y lightppd