Comments (5)
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.
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.
@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.
@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)
- Generate a virtual "Family" Sensor just for presence at home HOT 1
- Stale GPS location is accepted HOT 20
- Feature Request: Zone Prioritization HOT 8
- feature request: prioritize specific entities for "home" state HOT 7
- Cannot find in HACS->Custom Repositories HOT 2
- Error "Failed to load resource" (probably related to the platform's icon) HOT 5
- Add consider_home option HOT 1
- GPS/Reouter combination issue HOT 4
- Removed from HACS and now error in log upon HA reboot HOT 6
- ImportError: cannot import name 'open_binary' from 'importlib_resources' with Core 2023.7.2 HOT 11
- Home Assistant 2023.7.2 results in invalid config HOT 3
- Composite Integration Won't Start HOT 14
- device_tracker.nothing_phone_1 missing gps attributes HOT 6
- Deprecated constants which will be removed in HA Core 2025.1 HOT 2
- FR: add option to set entity_picture in UI HOT 12
- MultipleInvalid: length of value must be at least 1 for dictionary value @ data['composite']['trackers'] HOT 3
- Integration needs a reload when entity becomes unavailable HOT 5
- Entity_Id vs Entities HOT 2
- add 'driving' as state for tracker
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-composite-tracker.