For those who are feeding ADSB data into FlightRadar24/FlightAware/ADSBExchange and the like, I have setup a component which can show you the planes you are receiving data from on your HA map.
For those that would like to dive in, first off you need FlightAirMap or Github.
Once that is installed, check you can get the geojson data (for me that is http://192.168.0.200/FlightAirMap/live/geojson ).
Then, you will need to get the component from Github and put it in your custom_components directory.
Then, add it to your configuration.yaml like this
geo_location:
- platform: flightairmap_feed
url: http://192.168.0.200/FlightAirMap/live/geojson
radius: 20000
Radius in in metres.
The default update setting at the moment is 10 seconds.
You can then add the to a lovelace map card via
- entities: []
geo_location_sources:
- all
type: map
This then gives you something like below.
Some intial issues that will be fixed shortly:
- If you have no planes, then it will give you errors, but shouldn’t crash the plugin. I am working on getting this better. This doesn’t seem to be an issue for others, but because of my location I regularly get this.
- The ICAO value coming from Flight Air Map is just the registration code of the plane, rather than the proper ICAO value at the moment, so I have removed that. It is on my list of things to fix.
Thanks to @exxamalte as this was based on the NSW RFS incidents code, that I have just adapted to FlightAirMap and their geojson feeds.
I haven’t tested it with any of the other data that it is possible to use with FlightAirMap, so let me know how you go if you use this data.