Steps to integrate adsb_hub with PiAware on Raspberry Pi
- Use SSH terminal to connect: ssh pi@ip_of_raspberry, it will ask password which is flightaware by default
- Next step is to download adsb_hub package. Command will be wget http://www.realadsb.com/dl/realadsb.zip
- Unzip the package using unzip realadsb.zip In case unzip is not found you can install it with command sudo apt-get install unzip
- Check version of Java by executing java -version If version is below 11.0 please upgrade sudo apt-get install openjdk-11-jdk If some packages reported missing try sudo apt-get update and then repeat installation
- Then cd realadsb and run ./startpi.sh
- Now you can connect from RealADSB iOS app using ip_of_raspberry
- You can always check if adsb_hub is running and get process id with command like ps aux | grep adsb_hub
- All errors will be reported in adsb_log.err file
When everything is working you can autostart adsb_hub after reboot by editing /etc/rc.local file. In order to do that run sudo vi /etc/rc.local and add before exit 0 in the end:
# Auto run adsb_hub
sudo /home/pi/realadsb/startpi.sh
Enjoy your radiospotting!