|
| 1 | +--- |
| 2 | +description: 'If you wish to feed Radar1090 UK, follow the steps below.' |
| 3 | +--- |
| 4 | + |
| 5 | +# Feeding Radar1090 UK |
| 6 | + |
| 7 | +[`Radar1090 UK`] (https://www.1090mhz.uk/) is an aggregator based in the UK. They are mostly interested in getting data feeds from the UK, the Republic of Ireland, and its direct neighboring countries, so if you are located in their operating area, feel free to start feeding them. |
| 8 | + |
| 9 | +The docker image [`ghcr.io/sdr-enthusiasts/docker-radar1090`](https://github.com/sdr-enthusiasts/docker-radar1090) contains the required feeder software and all required prerequisites and libraries. This needs to run in conjunction with `ultrafeeder`, `tar1090`, or another RAW provider. |
| 10 | + |
| 11 | +## Setting up Your Station |
| 12 | + |
| 13 | +### Obtaining an Radar1090 UK Feeder Key |
| 14 | + |
| 15 | +First-time users should obtain a Radar1090 UK Feeder key. To request one, email [[email protected]](mailto:[email protected]) with the following information: |
| 16 | + |
| 17 | +* Your UUID: |
| 18 | +* A station name (3-12 characters): |
| 19 | +* Your antenna location (Latitude, Longitude) and height: |
| 20 | + |
| 21 | +### Update `.env` file with Radar1090 UK Feeder Key |
| 22 | + |
| 23 | +Inside your application directory (`/opt/adsb`), edit the `.env` file using your favorite text editor. Beginners may find the editor `nano` easy to use: |
| 24 | + |
| 25 | +```shell |
| 26 | +nano /opt/adsb/.env |
| 27 | +``` |
| 28 | + |
| 29 | +This file holds all of the commonly used variables (such as our latitude, longitude and altitude). We're going to add our radar1090 Feeder Key to this file. Add the following line to the file: |
| 30 | + |
| 31 | +```shell |
| 32 | +RADAR1090_KEY=YOURFEEDERKEY |
| 33 | +``` |
| 34 | + |
| 35 | +* Replace `YOURFEEDERKEY` with the key you received in response to your email. |
| 36 | + |
| 37 | +For example: |
| 38 | + |
| 39 | +```shell |
| 40 | +RADAR1090_KEY=0x7A3DF151D95F3E9A |
| 41 | +``` |
| 42 | + |
| 43 | +### Deploying feeder container |
| 44 | + |
| 45 | +Open the `docker-compose.yml` file that was created when deploying `ultrafeeder`. |
| 46 | + |
| 47 | +Append the following lines to the end of the file (inside the `services:` section). |
| 48 | + |
| 49 | +```yaml |
| 50 | + radar1090: |
| 51 | + image: ghcr.io/sdr-enthusiasts/docker-radar1090:latest |
| 52 | + container_name: radar1090 |
| 53 | + hostname: radar1090 |
| 54 | + restart: always |
| 55 | + environment: |
| 56 | + - TZ=${FEEDER_TZ} |
| 57 | + - RADAR1090_KEY=${RADAR1090_KEY} |
| 58 | + - VERBOSE=false |
| 59 | + - BEASTHOST=ultrafeeder |
| 60 | + tmpfs: |
| 61 | + - /run:exec,size=256M |
| 62 | + - /tmp:size=128M |
| 63 | + - /var/log:size=32M |
| 64 | +``` |
| 65 | +
|
| 66 | +To explain what's going on in this addition: |
| 67 | +
|
| 68 | +* We're creating a container called `radar1090`, from the image `ghcr.io/sdr-enthusiasts/docker-radar1090`. |
| 69 | +* We're passing several environment variables to the container: |
| 70 | + * `TZ` contains the timezone of your container host to sync time with the server that you added to `.env` previously |
| 71 | + * `RADAR1090_KEY` contains the key that you added to `.env` as per the instructions above |
| 72 | + * `BEASTHOST` indicates where to get the RAW data from |
| 73 | + * `RV_SERVER` is the address of the radar1090 server where your data will be sent. Please do not change this unless you're specifically instructed to |
| 74 | + * `VERBOSE` can be `TRUE` (meaning: show lots of information in the docker logs) or `FALSE` (show only errors in the docker logs) |
| 75 | +* The mounted volumes make sure that the container will use the same timezone as your host system |
| 76 | + |
| 77 | + |
| 78 | +## Refresh running containers |
| 79 | + |
| 80 | +Once the file has been updated, issue the command `docker compose up -d` in the application directory to apply the changes and bring up the `radar1090` container. You should see the following output: |
| 81 | + |
| 82 | +```text |
| 83 | + ✔ Container ultrafeeder Running |
| 84 | + ✔ Container piaware Running |
| 85 | + ✔ Container fr24 Running |
| 86 | + ✔ Container adsbhub Running |
| 87 | + ✔ Container radar1090 Started |
| 88 | +``` |
| 89 | + |
| 90 | +We can view the logs for the environment with the command `docker logs radar1090`, or continually "tail" them with `docker logs -f radar1090`. The logs will be fairly unexciting and look like this: |
| 91 | + |
| 92 | +```text |
| 93 | +[2025-06-18 23:09:08.790][radar1090-log] starting as a service... |
| 94 | +[2025-06-18 23:09:08.914][radar1090] INFO: Waiting for BEASTHOST (ultrafeeder) to come online |
| 95 | +[2025-06-18 23:09:10.067][radar1090] INFO: BEASTHOST (ultrafeeder) is now online |
| 96 | +[2025-06-18 23:09:10.076][radar1090] invoking: stdbuf -oL /usr/sbin/radar -k 0x7A3DF151D95F3E9A -l ultrafeeder -f |
| 97 | +[2025-06-18 23:14:25.839][radar1090-log] ------------------------ |
| 98 | +[2025-06-18 23:14:25.840][radar1090-log] Traffic statistics over the previous 300 seconds: |
| 99 | +[2025-06-18 23:14:25.841][radar1090-log] - Total packets received from ultrafeeder: 20608 |
| 100 | +[2025-06-18 23:14:25.842][radar1090-log] - Duplicate packets discarded: 13960 |
| 101 | +[2025-06-18 23:14:25.843][radar1090-log] - Average bandwidth used (excluding overhead): 3435 bytes/sec |
| 102 | +``` |
| 103 | + |
| 104 | +Once running, you can visit <https://www.1090mhz.uk/mystatus.php?key=YOURKEYHERE> (replace "YOURKEYHERE" with the key that you acquired in the previous step) to view the data you are feeding to radar1090. For example: <https://www.1090mhz.uk/mystatus.php?key=0x7A3DF151D95F3E9A>. |
| 105 | + |
| 106 | +## Troubleshooting |
| 107 | + |
| 108 | +Most log messages are self-explanatory and have suggestions on how to trouble-shoot your issue. Please contact [[email protected]](mailto:[email protected]) for more help. |
| 109 | + |
| 110 | +## Advanced |
| 111 | + |
| 112 | +If you want to look at more options and examples for the `radar1090` container, you can find the repository [here](https://github.com/sdr-enthusiasts/docker-radar1090) |
| 113 | + |
| 114 | +## More information and support |
| 115 | + |
| 116 | +* Please contact [[email protected]](mailto:[email protected]) for more help. |
| 117 | +* You can always find help on the #adsb-containers channel on the [SDR Enthusiasts Discord server](https://discord.gg/m42azbZydy). This channel is meant for Noobs (beginners) and Experts alike. |
0 commit comments