AlexandrErohin / home-assistant-flightradar24

Flightradar24 integration for Home Assistant
https://community.home-assistant.io/t/custom-component-flightradar24
MIT License
161 stars 16 forks source link

Feature request: Planes on the ground #14

Closed dront242 closed 9 months ago

dront242 commented 9 months ago

Great integration! 👍🏻 I'd just want the option to show what's on the ground in a specific area. I live right by an airport and as soon as the planes land they "disappear" from HA. / David

AlexandrErohin commented 9 months ago

I have tested for area near an airport. Integration shows all planes on the ground and in the sky. Planes on the ground has Altitude = 0. Maybe the radius that you use in the integration ends on runway and plane parked area is more further. Airports usually very large Try to increase radius

sj3fk3 commented 9 months ago

Pretty sure it shows all the planes (and vehicles) on the ground, I purposely filter them out (only 15Km away from EHAM).

AlexandrErohin commented 9 months ago

You may always filter them when you show flight table https://github.com/AlexandrErohin/home-assistant-flightradar24?tab=readme-ov-file#lovelace-card

There are a lot of criterias to filtering and sorting. Adding all of them would make this integration sophisticated to use

dront242 commented 9 months ago

Ok! I'll do some digging! 🙂 But, having done some quick test, it really seems like the planes are disappearing from the area when landing (as in not even showing up in the "in zone sensor"). I've double checked the area setting but still the same. I can see the planes in the Flight radar app on the ground, but not in HA. We can regard this issue as solved and I'll get back if I find out whats wrong for me.

dront242 commented 8 months ago

I've done some more testing and the only thing I can think about to cause the error is that Flightradar might have a blind spot on the airport in question. For example, all flights are being showed as passing the airport when they've actually landed (which means their positions might not be updated when the planes comes near the ground). And the altitude never report anything less than ~170m.