Composite Device Tracker Platform

ok, my problem was that device tracker requires float numbers, while sensors were already given with units in which they are measured.

I did not make composite device tracker working. I thought it would just read the GPS coordinates with altitude but it did not created the device tracker. Maybe for the same reason? I will give it a try

So, you have latitude & longitude in some form in some existing sensor entity or entities. Is that correct? If so, please share the details. E.g., how many entities? What does the state value look like, and does it have any related attributes, and if so, what do they look like?

To use an entity as an “input” to the composite tracker integration, it must have three attributes. One must be gps_accuracy or acc, and contain the accuracy of the GPS “fix”, in meters (just as a number.) The other two must be latitude & longitude, or lat & lon, containing the latitude & longitude of the GPS fix, respectively, in degrees (just as numbers.)

If you don’t have an entity in this exact format, then you can create a template entity from your other entity (or entities) that contain the values. If needed, you can just “hard code” the gps_accuracy attribute with the value 0 (i.e., zero.)

Hi Phil, can I ask a quick question?
Sometimes in Composite I have trouble working out WHICH device trackers are configured against a person because of the way the UI uses a friendly name rather than the full sensor name - is there any way to see the FULL sensor names?
Thank you!

If you mean in the configuration flow, when you click on one of the boxes on the “Input entities” page, it shows the friendly name, as well as the entity ID, for each possible selection. If, however, you have multiple entities with the same friendly name, once you pick one, unfortunately, no, you can’t see which entity ID it corresponds do.

Of course, if you know how to look in config/.storage/core.config_entries, you can see the details, including the selected entity IDs.

Also, the composite entity has an attribute, namely entities (which is displayed as “Seen entities” in the UI), that lists the entity IDs of all the input entities that have been “seen”.

Thanks, that did the trick, and is exactly what I was after. I have a tracker, device_tracker.iphonemed_3 that jut appears as iphoneMED in Composite (after it’s initially entered). Thank you