ADS-B: ADSBox

From OnnoWiki
Revision as of 05:48, 5 January 2020 by Onnowpurbo (talk | contribs) (→‎Akses)
Jump to navigation Jump to search

Sumber: http://ucideas.org/projects/hard/adsb/index.html Rusia

Download

cd /usr/local/src
wget http://ucideas.org/projects/hard/adsb/adsbox-20180427.tar.gz
tar zxvf adsbox-20180427.tar.gz

cd /usr/local/src
wget https://sqlite.org/2019/sqlite-amalgamation-3300100.zip
unzip sqlite-amalgamation-3300100.zip
mv sqlite-amalgamation-3300100 sqlite3

cd /usr/local/src/adsbox
make

Install Google Earth

Download

https://www.google.com/earth/versions/#download-pro

Edit adsbox.kml file

Edit vi /usr/local/src/adsbox/adsbox.kml


<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
  <description>
  <![CDATA[
	Air Traffic by <a href="http://diseqc.alh.org.ua/projects/hard/adsb/index.html">ADSBox</a>.
Flight <a href="http://192.168.0.165:8080">board</a>. ]]> </description> <NetworkLink> <refreshVisibility>1</refreshVisibility> <flyToView>0</flyToView> <Link> <href>http://192.168.0.165:8080/adsbox.kml</href> <refreshMode>onInterval</refreshMode> <refreshInterval>6</refreshInterval> </Link> </NetworkLink> </Document> </kml>

Edit IP addres agar sama dengan IP yang kita gunakan.


Run

cd /usr/local/src/adsbox
./adsbox &
./adsbox --db-edit &
  • Buka Google Earth
  • Bukan adsbox.kml di Google Earth


Akses

Sesuaikan dengan IP yang kita gunakan

http://192.168.0.165:8080
http://192.168.0.165:8080/sqlite.html

Catatan librtlsdr=

Google Earth notes:

   - install GE;
   - place adsbox.kml file (see ADSBox source dir) in preffered directory;
   - open adsbox.kml in editor and point ADSBox host IP
   and port (8080 as default);
   - start ADSBox server then open adsbox.kml in GE.

Web server notes:

   - open ADSBox info page (e.g http://192.168.1.6:8080) in
   browser and see current status.
   - you may also open SQLite web interface at http://192.168.x.x:8080/sqlite.html
   (run with --db-edit option to enable write queries).

Librtlsdr compile notes:

   - set WITH_RTLSDR=yes in Makefile to enable USB SDR dongles support.
   You may need to point rtl-sdr.h and librtlsdr.so files location also.

Referensi

Pranala Menarik