Home Assistant Add-on: ADS-B Multi-Portal Feeder (Flightradar24 and FlightAware)

uh, 10 meters, pretty curious if this works :thinking:

I thought about building some antenna myself, but as my play-time is pretty limited I ended up buying some handmade from eBay (ADS-B Antenne, Mode-S Antenne für ADSB 1090 MHz. | eBay).

Hopefully it will be better than the bundled one, and maybe i will try to use some ‘window-get-through’ and place it outside.

As I live near Frankfurt International Airport the general ADS-B Coverage is pretty good already, so not sure how many nights I want to invest in optimizing it.

This is my status page. How do I know about the errors?

Just check the LOG of the Add-on:

First I have to stop the container in portanier. What is the default password of portainer? Bcz password was introduced in recent portainer update and I can’t get into it.:sleepy::sob::sob:

Just remove and reinstall portainer? then you should be able to setup a new password.

I stopped Portainer and setup your add-on. for me the steps were simple. Only CUPS (for printing) was running in portainer. If you could setup cups as add-on too it will solve it printing issue for many people.
copy sharing key from FR24 data sharing site (using laptop not available on mobile app) and paste in configuration.
Add my location latitude and longitude with 6 decimal places.
It is working partially one issue

2021-10-12 21:50:46 | [mlat][i]Stats 24/0
2021-10-12 21:50:49 | [mlat][i]No ADS-B time reference available (0/0)
2021-10-12 21:50:59 | [mlat][i]No ADS-B time reference available (0/0)
2021-10-12 21:51:06 | [feed][n]ping 2
2021-10-12 21:51:06 | [mlat][i]Pinging the server
2021-10-12 21:51:07 | [mlat][i]Stats 24/0
2021-10-12 21:51:07 | [feed][n]syncing stream result: 1
2021-10-12 21:51:09 | [mlat][i]No ADS-B time reference available (0/0)
2021-10-12 21:51:19 | [mlat][i]No ADS-B time reference available (0/0)
2021-10-12 21:51:26 | [mlat][i]Pinging the server
2021-10-12 21:51:26 | [mlat][i]Stats 24/0
2021-10-12 21:51:29 | [mlat][i]No ADS-B time reference available (0/0)
2021-10-12 21:51:36 | [feed][n]ping 3
2021-10-12 21:51:37 | [feed][n]syncing stream result: 1
2021-10-12 21:51:39 | [mlat][i]No ADS-B time reference available (0/0)
2021-10-12 21:51:46 | [mlat][i]Pinging the server
2021-10-12 21:51:46 | [mlat][i]Stats 24/0
2021-10-12 21:51:49 | [mlat][i]No ADS-B time reference available (0/0)

Edit: cups docker container can be found here Setting up local USB printer with CUPS via Portainer

@MaxW Getting this error since 2 days. core-2021.10.6 and supervisor-2021.10.4

21-10-22 15:03:54 INFO (SyncWorker_1) [supervisor.docker.interface] Cleaning addon_f1c878cb_adsb-multi-portal-feeder application

21-10-22 15:04:02 ERROR (SyncWorker_1) [supervisor.docker] Can't start addon_f1c878cb_adsb-multi-portal-feeder: 500 Server Error for http+docker://localhost/v1.41/containers/a2d56965a5fe912d4224e1ab395ce7387297c16710b59e141fdd20ea6f4f220a/start: Internal Server Error ("driver failed programming external connectivity on endpoint addon_f1c878cb_adsb-multi-portal-feeder (f937fe3e711c2a76bf97f6d604720f5fc53d60d4a85698c32df5989fb4fc73ae): Bind for 0.0.0.0:8754 failed: port is already allocated")


Is anyone else having the same issue?

1 Like

image

Seems like your device is not accessible.

what can be the reason? I have tried different ports, restarted the raspberry Pi 4 no luck.
Check rtl-sdr stick on a windows pc, was working fine, both for listening to radio and tracking a/c.
what fixed it for me, removed the SD-card, booted of a flash drive using raspbian bulleyes OS.
updated it

sudo apt update
sudo apt full-upgrade

booted again with Homeassistant sd card and boom everything is working fine again.

How to obtain FlightRadar24 ID. Is it possible to obtain it without docker?

@MaxW is it possible to link the position to the position of home assistant?
i am using it in a motorhome and the location i changing contantly.
I was looking for the configuration yaml file via samba share, but i could not find it.

ModeSBeast is not supported. I tried a SDR USB Stick, this works perfectly!

Is there a chance to update the JSON file with the LON/LAT of the HA Home?
As i have that thing installed in a Motorhome, my position changes regularly.
The source could be HA Home position or directly by modbus (there is an automation to update HOME position every 15min)

Technically possible I guess, but needs some coding to do the job. I guess there should be some API call available to get the location.

Veeeery low on my todo, but might have a look at some time.

2 Likes

@MaxW nice job on the Home Assistant Add-on thanks for the great work. Easy to install and configure :smiley:

I sent Flightradar24 an email at [email protected] and asked them for a sharing key which they sent me about 5hrs later :smiley:

Make sure you include your coordinates in the email and you should be good to go.

Thanks for adding the feature!
going to test it asap. let you know

Is there any way this can be configured to use an ADS-B receiver that isn’t USB using TCPIP? I can connect to my Beast Mode-s ADS-B receiver by accessing port 30334 as it outputs a continuous steam of RAW data - I currently use PlanePlotter to visualise the planes and it is configured as a Beast Mode-s receiver via TCPIP. Thanks

1 Like

Okey… Everything is running smooth and fine here… :slight_smile:
Did manage to got hold of another RTL-SDR dongle and installed Thom-X docker image on it, did put it on the other side of my house improving the coverage.

Is there any way to include that RTL to the add-on?

Here is a nice Lovelace card for monitoring your data. For the data, you will need @ exxamalte’s excellent sensors

image
Media used to download from the bottom of this page Press | Flightradar24 Blog.
Make sure you download the png file and copy it into the \yourhomeassistantip\config\www folder.
Code for a static pic without any action and aircraft uploaded for the last 24hours graph

type: entities
entities:
  - entity: sensor.fr24_feeder_aircraft_tracked
    icon: mdi:airplane-marker
  - entity: sensor.fr24_feeder_aircraft_uploaded
    icon: mdi:airplane-check
  - entity: binary_sensor.fr24_feeder_link_connected
  - entity: sensor.fr24_feeder_radar_code
    icon: mdi:radar
  - entity: binary_sensor.fr24_feeder_receiver_connected
  - entity: sensor.fr24_feeder_version
header:
  type: picture
  image: /local/flightradar24_logo_transparent.png
  tap_action:
    action: none
  hold_action:
    action: none
footer:
  type: graph
  entity: sensor.fr24_feeder_aircraft_uploaded
  detail: 2

This is with a clickable pic to your local Fr24 page. Remember to change your homeassistantip to your home assistant IP and Fr24 local server.

also enable color icons based on state.

type: entities
entities:
  - entity: sensor.fr24_feeder_aircraft_tracked
    icon: mdi:airplane-marker
  - entity: sensor.fr24_feeder_aircraft_uploaded
    icon: mdi:airplane-check
  - entity: binary_sensor.fr24_feeder_link_connected
  - entity: sensor.fr24_feeder_radar_code
    icon: mdi:radar
  - entity: binary_sensor.fr24_feeder_receiver_connected
  - entity: sensor.fr24_feeder_version
header:
  type: picture
  image: /local/flightradar24_logo_transparent.png
  tap_action:
    action: url
    url_path: http://yourhomeassistantip:8123xxxxxx_adsb-multi-portal-feeder/dashboard
  hold_action:
    action: none
footer:
  type: graph
  entity: sensor.fr24_feeder_aircraft_uploaded
  detail: 2
state_color: true
2 Likes