Giter Site home page Giter Site logo

Comments (5)

pnbruckner avatar pnbruckner commented on June 8, 2024

Right now, the integration doesn't support a sensor like that. I'm planning a major upgrade of this integration in the relatively near future. I can consider having it accept a sensor like that.

Can I ask, what generates that sensor? Any idea why the attributes are lat & lng and not the standard latitude & longitude?

from ha-composite-tracker.

kalon33 avatar kalon33 commented on June 8, 2024

If you need some tests, I will be happy to help, as I'm pretty stuck with it right now.

Can I ask, what generates that sensor?

I'm using the TTN (The Things Network) integration to retrieve my LoRaWAN devices, and this one is a RAK Trackit device.

Any idea why the attributes are lat & lng and not the standard latitude & longitude?

My guess is that TTN values are decoded as variables with a given name and value, and that the plugin retrieves these without interpreting them. What is curious in my opinion is that while these are identified as a geographical position by HA which displays the device on the map, it is not usable as a device tracker.

from ha-composite-tracker.

pnbruckner avatar pnbruckner commented on June 8, 2024

@kalon33 I've started working on the major update I referred to above. I'll see if I can work this in.

To that end, could you share the details of the sensor. E.g., go to the States page, click on the entity, and copy & paste what is shown. Or, better yet, go to the Templates page, and use something like:

{{ states.sensor.trackit_child.attributes }}

and share the output? Doing it this way provides more details about the actual Python types of the attributes.

from ha-composite-tracker.

pnbruckner avatar pnbruckner commented on June 8, 2024

@kalon33 I could really use that additional information. I'm trying to add this right now and I need to know for sure the names of the attributes (not what they look like in the UI, which sometimes is different.)

If I don't hear back, I'll assume lat contains latitude, lon contains longitude & acc contains GPS accuracy in meters.

from ha-composite-tracker.

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.