Giter Site home page Giter Site logo

Comments (9)

fratsloos avatar fratsloos commented on June 16, 2024 2

Version 0.3.0 is available in HACS which solves this issue.

from fr24_card.

sarahmva avatar sarahmva commented on June 16, 2024 1

Fantastic, thank you. It is now working!

from fr24_card.

caphector avatar caphector commented on June 16, 2024 1

Also confirmed as working; thanks!

from fr24_card.

sarahmva avatar sarahmva commented on June 16, 2024

I see the same issue. I wonder if there are different json attributes for different dump1090 versions.
{"hex":"abad6c","flight":"SWA1093 ","alt_baro":25950,"alt_geom":27375,"gs":414.3,"ias":282,"tas":428,"mach":0.700,"track":72.4,"track_rate":0.00,"roll":-0.2,"mag_heading":76.5,"baro_rate":-2112,"geom_rate":-2368,"squawk":"2523","emergency":"none","category":"A3","nav_qnh":1013.6,"nav_altitude_mcp":6016,"nav_altitude_fms":19008,"nav_heading":71.7,"lat":38.543335,"lon":-78.259735,"nic":7,"rc":371,"seen_pos":0.5,"version":2,"nic_baro":1,"nac_p":8,"nac_v":1,"sil":3,"sil_type":"perhour","gva":1,"sda":2,"mlat":[],"tisb":[],"messages":991,"seen":0.5,"rssi":-12.3},
looking through the json data, I see "alt_geom" as altitude and "gs" as ground speed (I assume). Looking through the constructor in the code, it seems to be using "altitude" and "speed" as attribute names (I may be wrong).

from fr24_card.

sarahmva avatar sarahmva commented on June 16, 2024

seems there are too many different forks of dump1090 around. If I understand the flightradar24 github correctly, then they use their own fork of dump1090 with values based on an older specification. Some of the other forks use different attributes:

current versions of dump1090 use
alt_baro: the aircraft barometric altitude in feet
alt_geom: geometric (GNSS / INS) altitude in feet referenced to the WGS84 ellipsoid
gs: ground speed in knots.

@caphector : is your system built from an original flighradar24 image? I use a piaware based system and hence have a different dump1090, seems like your dump1090 is the same than mine when it comes to the json attributes.

from fr24_card.

fratsloos avatar fratsloos commented on June 16, 2024

Yes, I was informed of that in a topic on the Home Assistant Community. It looks like your JSON is from tar1090? I've only tested with Dump1090 (from Flightradar24), which is different.

I'll take a look to get this sorted. Compared to the older specification used by Flightradar24 (where the altitude is altitude), should I use alt_baro or alt_geom?

from fr24_card.

sarahmva avatar sarahmva commented on June 16, 2024

Thanks @fratsloos! based on my comparison between json and the display of my feeder, it is showing alt_baro.

from fr24_card.

RandomFunctionForUsername avatar RandomFunctionForUsername commented on June 16, 2024

Thanks @fratsloos! based on my comparison between json and the display of my feeder, it is showing alt_baro.

I have the same json response with alt_baro, can you tell me what you did to fix this?

from fr24_card.

fratsloos avatar fratsloos commented on June 16, 2024

@sarahmva Thx, I'll use alt_baro.
@RandomFunctionForUsername There is no fix yet, I'll work on it as soon as possible.

from fr24_card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.