Where you got the sensor.flights_above_hourly?
EDIT: Ok, i got it… but can you share the complete code of your dashboard?
I am trying to convert your code from hourly to daily, created the daily helper, but i still cannot get the correct daily chart.
Can you give me some hints about it?
Daily one is slightly different, here’s the code:
type: custom:stack-in-card
mode: vertical
cards:
- type: custom:bubble-card
card_type: separator
name: Daily Flights
icon: mdi:airplane
- type: custom:apexcharts-card
update_interval: 1min
graph_span: 7d
span:
start: day
offset: '-6d'
series:
- entity: sensor.flights_above_today
type: column
show:
datalabels: true
group_by:
func: last
duration: 1d
apex_config:
chart:
type: bar
height: 300
toolbar:
show: false
dropShadow:
enabled: true
top: 0
left: 0
blur: 1.5
opacity: 0.5
color: '#fcb874'
plotOptions:
bar:
columnWidth: 50%
borderRadius: 4
xaxis:
axisTicks:
show: false
axisBorder:
show: false
labels:
offsetY: -5
datetimeFormatter:
day: ddd
yaxis:
decimals: 0
crosshairs:
show: true
axisTicks:
show: true
tickAmount: 4
labels:
show: true
maxwidth: 4
tooltip:
enabled: false
fill:
type: solid
colors:
- '#077056'
- '#9debd7'
This is the Flight Information card. Slightly modified from default card shared by the developer.
type: markdown
content: >
{% set flight = state_attr('sensor.flightradar24_current_in_area',
'flights')[0] %}
<ha-icon icon="mdi:airplane"></ha-icon> **Flight Number:** {{
flight.flight_number }}
<ha-icon icon="mdi:shield-airplane"></ha-icon> **Airline:** {{ flight.airline
}}
<ha-icon icon="mdi:airplane-search"></ha-icon> **Aircraft Model:** {{
flight.aircraft_model }}
<ha-icon icon="mdi:airport"></ha-icon> **Origin:** {{
flight.airport_origin_city }} ({{ flight.airport_origin_code_iata }})
<ha-icon icon="mdi:airport"></ha-icon> **Destination:** {{
flight.airport_destination_city }} ({{ flight.airport_destination_code_iata
}})
<ha-icon icon="mdi:airplane-takeoff"></ha-icon> **Scheduled Departure:** {{
flight.time_scheduled_departure | timestamp_custom('%I:%M %p') }}
<ha-icon icon="mdi:airplane-landing"></ha-icon> **Scheduled Arrival:** {{
flight.time_scheduled_arrival | timestamp_custom('%I:%M %p') }}
<ha-icon icon="mdi:airplane-clock"></ha-icon> **Flight Time:** {{
((flight.time_scheduled_arrival - flight.time_scheduled_departure) / 3600) |
int }}h {{ (((flight.time_scheduled_arrival - flight.time_scheduled_departure)
% 3600) / 60) | int }}m
<ha-icon icon="mdi:altimeter"></ha-icon> **Altitude:** {{ flight.altitude }}
ft
<ha-icon icon="mdi:speedometer"></ha-icon> **Ground Speed:**
{{(flight.ground_speed * 1.15078) | round(0)}} MPH
title: Flight Information
This is an awesome integration! Thanks Alex!
I was wondering if there is a way to update the home location based on a person’s location?
I’d love to have it update so I only get notified for aircraft above me right now.
Thanks again!
Not sure it works but did you try it with the Lat/Long from your person entity attributes…
I second this… could be very useful.
v1.10.0 Released
Changelog
- Added distance between the aircraft and your point (measurement: kilometers)
- wording corrections Minor setup wording corrections · Issue #32 · AlexandrErohin/home-assistant-flightradar24 · GitHub
Thank u for this beautiful custom integration. As an airline pilot this will help me a lot!!!. god bless you.
I plan to use this to track the flights that I am going to fly and set an automation in node red.
I aim to achieve this by retrieving my aircraft registration based on the flight number that I am going to fly . I will then use the registration to find out the status of the incoming aircraft. however I am not able to “add to track “ a flight that is not live. Is there a work around for this ? . It would be nice if I could add it and then get the updated once it is live .
Thanks in advance .
Hi, This integration is really nice. I’m wondering if it would be possible to havethe same map in our dashboard as we have with a subscription with custom filters and the additionnal layers (like the weather and icing layers). That would be really awesome!
Thanks for the integration.
Couple of questions:
- Somewhere in the first two dozen posts, you indicated that the configuration may be added to the UI instead of having to create a new device. Is this going to happen or did I miss something?
- What goes into “Add to track” and “Remove from track”? I don’t see any documentation for these entities.
Loving this integration and having spent some time customising the screen and verbal alert notifications I’m loving it thank-you.
I thought I’d read on this forum someone had figured out how to add / display the airline tail logo (or like) which Id love to add if its available / possible?
The only other ‘would be nice’ question - is it at all possible to (like the FlightRadar24 webpage) optionally display a linked image of the aircraft flying in this integration’s (detected in zone)?
Many thanks
Hi Guys,
I use Home Assistant in the caravan.
I have defined my cell phone as a home point and it is also updated.
How do I implement this in the Flight Radar addon?
I’ve done it with a table:
and as a background image on a mushroom-template-card:
WOW ! Thanks so much for sharing these - quite a few addons I didnt have but have now added. Not quite up and running yet though.
- Assume these do work without a FlightRadar24 subscription?
- where does the sensor.adsb_fr24_feeder_radar_code come from please?
Thanks again
I have an FR24 feeder at my place, so I pull some data direct from the feeder to make sure it’s still feeding data
How can I count how many planes entered my area (radius) per day?
Neat! that makes more sense
Cheers
First of all to everyone who has contributed to this component, many many thanks.
Its realy impressive!
I used this component now for 3 months, but today i updated to the latest version and i now i don’t get any sensordata back.
I’ve looked into the logging and i get the following errors: (CLOSED)
2024-05-09 18:38:32.559 ERROR (MainThread) [custom_components.flightradar24] 403 Client Error: Forbidden for url: https://data-cloud.flightradar24.com/zones/fcgi/feed.js?faa=1&satellite=1&mlat=1&flarm=1&adsb=1&gnd=1&air=1&vehicles=1&estimated=1&maxage=14400&gliders=1&stats=1&limit=5000&bounds=53.19374090090882%2C53.19884285851967%2C5.242611528728202%2C5.867947401153946
Does someone have a clue what might be causing this.
Before updating the module it all worked fine.
Thanks in advance for any help.
For anyone who runs into the same error.
I needed to restart the MiniPC which is running my HomeAssistant.
Although i forced refresh of all the custom components, it seemed to have cached some data.
I close this issue.