piaware in raspberrypi

https://github.com/flightaware/piaware/blob/master/Building-and-installing-PiAware-from-source.mediawiki

Table of Contents
Upgrade Raspberry Pi software to the latest
Obtain, build and install the RTL-SDR libraries
Obtain, build and install dump1090
Obtain, build and install piaware
Upgrade Raspberry Pi software to the latest
 sudo apt-get update
 sudo apt-get upgrade
 sudo rpi-update
If rpi-update reported that it downloaded firmware and said you need to reboot for it to take effect, reboot:
 sudo reboot
Obtain, build and install the RTL-SDR libraries
This is the software that can talk to the software defined radio in the RTL-SDR dongle...
 sudo apt-get install git git-core cmake libusb-1.0-0-dev build-essential
 mkdir src
 cd src
 git clone git://git.osmocom.org/rtl-sdr.git
 cd rtl-sdr
 mkdir build
 cd build
 cmake ../ -DINSTALL_UDEV_RULES=ON
 make
 sudo make install
 sudo ldconfig
 sudo cp rtl-sdr.rules /etc/udev/rules.d
Keep the system from thinking that the RTL-SDR dongle is for watching TV... cat </tmp/no-rtl.conf
 blacklist dvb_usb_rtl28xxu
 blacklist rtl2832
 blacklist rtl2830
 EOF
 sudo mv /tmp/no-rtl.conf /etc/modprobe.d/
 sudo reboot
Obtain, build and install dump1090
This is for the FlightAware version. The main difference is that the FA version of dump1090 can emit "FlightAware" format directly, avoiding piaware having to run the faup1090 translation program. Other than that it's the same as dump1090 from Malcolm Robb.
Should you want to build the FlightAware version, please follow the build/install instructions at https://github.com/flightaware/dump1090_mr/blob/master/README.md#building
Obtain, build and install piaware
Follow the instructions for building and installing PiAware from source at https://github.com/flightaware/piaware#building-and-installing-piaware-from-source
Table of ContentsUpgrade Raspberry Pi software to the latestObtain, build and install the RTL-SDR librariesObtain, build and install dump1090Obtain, build and install piaware

install

Upgrade Raspberry Pi software to the latest

 sudo apt-get update
 sudo apt-get upgrade
 sudo rpi-update

If rpi-update reported that it downloaded firmware and said you need to reboot for it to take effect, reboot:

 sudo reboot

Obtain, build and install the RTL-SDR libraries

This is the software that can talk to the software defined radio in the RTL-SDR dongle…

 sudo apt-get install git git-core cmake libusb-1.0-0-dev build-essential
 mkdir src
 cd src
 git clone git://git.osmocom.org/rtl-sdr.git
 cd rtl-sdr
 mkdir build
 cd build
 cmake ../ -DINSTALL_UDEV_RULES=ON
 make
 sudo make install
 sudo ldconfig
 sudo cp rtl-sdr.rules /etc/udev/rules.d

Keep the system from thinking that the RTL-SDR dongle is for watching TV… cat </tmp/no-rtl.conf

 blacklist dvb_usb_rtl28xxu
 blacklist rtl2832
 blacklist rtl2830
 EOF
 sudo mv /tmp/no-rtl.conf /etc/modprobe.d/
 sudo reboot

Obtain, build and install dump1090

This is for the FlightAware version. The main difference is that the FA version of dump1090 can emit “FlightAware” format directly, avoiding piaware having to run the faup1090 translation program. Other than that it’s the same as dump1090 from Malcolm Robb.

Should you want to build the FlightAware version, please follow the build/install instructions at https://github.com/flightaware/dump1090_mr/blob/master/README.md#building

Obtain, build and install piaware

Follow the instructions for building and installing PiAware from source at https://github.com/flightaware/piaware#building-and-installing-piaware-from-source

https://zh.flightaware.com/adsb/piaware/build/

树莓派安装piware

https://zh.flightaware.com/adsb/piaware/install

您想将您的Raspberry Pi与 dump1090 链接到 FlightAware 吗?

如果您在 Raspberry Pi 上运行带有 dump1090 的 ADS-B 接收器,那么您可以安装 PiAware 软件包以将您的 ADS-B 接收器数据传输到 FlightAware。

PiAware 用户可以同时使用运行 dump1090 的 Raspberry Pi 中的数据,还可以通过 PiAware 将飞行数据发送到 FlightAware。与 FlightAware 共享数据的用户自动有资格免费升级到企业帐户。

什么是 PiAware?

PiAware 是一个 FlightAware 客户端程序,在 Raspberry Pi 上运行,可将 dump1090 ADS-B 和 Mode S 数据安全地传输到 FlightAware。PiAware 适用于已经使用 ADS-B 接收器和 dump1090 运行自己的 Raspberry Pi 的人。

上手又快又容易。

使用下面的简单步骤,您可以配置您的 Raspberry Pi 以提供 FlightAware。该过程需要两到三分钟。

已经在运行 PiAware?

查看

PiAware 升级页面以更新到最新版本。

1需要什么

您应该已经安装了 Raspbian 的 Raspberry Pi,并且对使用它有一定的了解。

如果您不熟悉使用 Pi 或需要从头开始构建接收器,请参阅这些说明!

2下载并安装 PiAware

下载并安装 PiAware 存储库包,它会告诉您的 Pi 的包管理器 (apt) 除了 Raspbian 提供的包之外,如何找到 FlightAware 的软件包。

对于在Raspbian Bullseye OS 上运行的 Raspberry Pi ,请从命令行执行以下命令:

wget https://zh.flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_7.2_all.deb
sudo dpkg -i piaware-repository_7.2_all.deb

对于在

Raspbian Buster OS上运行的 Raspberry Pi ,请单击

此处 这将在您的 Raspberry Pi 上下载并安装 PiAware 和所需的依赖项。

sudo apt-get update
sudo apt-get install piaware

这将启用自动和手动(基于 Web,根据您的请求)PiAware 软件更新。默认情况下禁用这些更新。要禁用更新,请跳过此步骤。

sudo piaware-config allow-auto-updates yes
sudo piaware-config allow-manual-updates yes
3下载并安装 dump1090

如果您还没有安装dump1090等ADS-B接收机软件,那么您可以通过执行以下命令安装FlightAware的dump1090版本。

sudo apt-get install dump1090-fa
4下载并安装dump978
sudo apt-get install dump978-fa

有关为 978 UAT 配置接收器的更多说明,请访问我们的

高级配置页面。

5重启你的 Pi

完成安装和配置软件包后,重新启动 Raspberry Pi 以确保一切正常启动。

sudo reboot
6在 FlightAware.com上绑定您的PiAware客户端。

您可能需要等待 PiAware 启动大约四或五分钟,然后可以将您的 PiAware 设备关联您的 FlightAware 帐户来获取免费的企业级账号。

在 FlightAware.com上绑定您的PiAware客户端。

如果5分钟后您的设备还未显示为已绑定,请重新启动设备,如果这仍然不起作用,请重新确认Wi-Fi设置(如果使用Wi-Fi)正确无误。最后,您还可以通过ADSBsupport@FlightAware.com与我们联系。请检查您的统计信息页面(见以下链接)以确认其是否绑定。

7查看您的ADS-B统计数据
  1. 查看您的 ADS-B 数据统计:https://zh.flightaware.com/adsb/stats
    • FlightAware会立即处理您的数据,并在30分钟内显示统计信息。
    • 或者在登录以后点击标题栏里的“我的ADS-B”。这个链接只会在站点开始发送数据30分钟以后才会显示。
  2. 通过点击位于站点名称右侧的齿轮图标,在统计信息页面配置您的位置和天线高度。
    • 多点定位,也称为MLAT,可以使用从飞机接收消息的站点的位置来精确定位飞机的位置。
  3. FlightAware统计页面还会显示您设备的本地IP地址,并提供用于直接连接的链接。在这里您可以点击SkyAware的链接并通过这个门户网站在地图上查看接收器正在接收消息的航班。

相关链接 (PiAware, Raspberry Pi, dump1090, and more)

您想将您的Raspberry Pi与 dump1090 链接到 FlightAware 吗?
如果您在 Raspberry Pi 上运行带有 dump1090 的 ADS-B 接收器,那么您可以安装 PiAware 软件包以将您的 ADS-B 接收器数据传输到 FlightAware。
PiAware 用户可以同时使用运行 dump1090 的 Raspberry Pi 中的数据,还可以通过 PiAware 将飞行数据发送到 FlightAware。与 FlightAware 共享数据的用户自动有资格免费升级到企业帐户。
什么是 PiAware?
PiAware 是一个 FlightAware 客户端程序,在 Raspberry Pi 上运行,可将 dump1090 ADS-B 和 Mode S 数据安全地传输到 FlightAware。PiAware 适用于已经使用 ADS-B 接收器和 dump1090 运行自己的 Raspberry Pi 的人。
上手又快又容易。
使用下面的简单步骤,您可以配置您的 Raspberry Pi 以提供 FlightAware。该过程需要两到三分钟。
已经在运行 PiAware?
查看PiAware 升级页面以更新到最新版本。
1需要什么
您应该已经安装了 Raspbian 的 Raspberry Pi,并且对使用它有一定的了解。
如果您不熟悉使用 Pi 或需要从头开始构建接收器,请参阅这些说明!
树莓派
已安装Raspbian Bullseye 或 Bullseye Lite操作系统
网络连接
通过网络或使用连接的键盘和显示器访问 Pi 上的命令行 shell
必须在 Raspberry Pi 上启用 SSH 访问才能进行远程访问。有关启用 SSH 的信息,请参阅Raspberry Pi SSH 文档。
2下载并安装 PiAware
下载并安装 PiAware 存储库包,它会告诉您的 Pi 的包管理器 (apt) 除了 Raspbian 提供的包之外,如何找到 FlightAware 的软件包。
对于在Raspbian Bullseye OS 上运行的 Raspberry Pi ,请从命令行执行以下命令:
wget https://zh.flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_7.2_all.deb
sudo dpkg -i piaware-repository_7.2_all.deb
对于在Raspbian Buster OS上运行的 Raspberry Pi ,请单击此处 这将在您的 Raspberry Pi 上下载并安装 PiAware 和所需的依赖项。
sudo apt-get update
sudo apt-get install piaware
这将启用自动和手动(基于 Web,根据您的请求)PiAware 软件更新。默认情况下禁用这些更新。要禁用更新,请跳过此步骤。
sudo piaware-config allow-auto-updates yes
sudo piaware-config allow-manual-updates yes
3下载并安装 dump1090
如果您还没有安装dump1090等ADS-B接收机软件,那么您可以通过执行以下命令安装FlightAware的dump1090版本。
sudo apt-get install dump1090-fa
4下载并安装dump978
sudo apt-get install dump978-fa
有关为 978 UAT 配置接收器的更多说明,请访问我们的高级配置页面。
5重启你的 Pi
完成安装和配置软件包后,重新启动 Raspberry Pi 以确保一切正常启动。
sudo reboot
6在 FlightAware.com上绑定您的PiAware客户端。
您可能需要等待 PiAware 启动大约四或五分钟,然后可以将您的 PiAware 设备关联您的 FlightAware 帐户来获取免费的企业级账号。
在 FlightAware.com上绑定您的PiAware客户端。
如果5分钟后您的设备还未显示为已绑定,请重新启动设备,如果这仍然不起作用,请重新确认Wi-Fi设置(如果使用Wi-Fi)正确无误。最后,您还可以通过ADSBsupport@FlightAware.com与我们联系。请检查您的统计信息页面(见以下链接)以确认其是否绑定。
7查看您的ADS-B统计数据
查看您的 ADS-B 数据统计:https://zh.flightaware.com/adsb/stats
FlightAware会立即处理您的数据,并在30分钟内显示统计信息。
统计页面
或者在登录以后点击标题栏里的“我的ADS-B”。这个链接只会在站点开始发送数据30分钟以后才会显示。
页眉中的我的 ADS-B
通过点击位于站点名称右侧的齿轮图标,在统计信息页面配置您的位置和天线高度。
多点定位,也称为MLAT,可以使用从飞机接收消息的站点的位置来精确定位飞机的位置。
统计页面齿轮图标位置
FlightAware统计页面还会显示您设备的本地IP地址,并提供用于直接连接的链接。在这里您可以点击SkyAware的链接并通过这个门户网站在地图上查看接收器正在接收消息的航班。
统计页面 SkyAware 链接位置
FlightAware PiAware:SkyAware ADS-B 软件网页界面
相关链接 (PiAware, Raspberry Pi, dump1090, and more)