ESPresense / ad-espresense-ips

DEAD: See https://github.com/ESPresense/ESPresense-companion
64 stars 9 forks source link

device_tracker or device_tracker.see #4

Open mousemat86 opened 2 years ago

mousemat86 commented 2 years ago

Is there any way to use ESPresense as a device.tracker for a person enitity?

Or perhaps there's a way to use the device_tracker.see to pull information from ESPresense?

DTTerastar commented 2 years ago

I have thought about adding that to the appdaemon companion app. You know any python?

DTTerastar commented 2 years ago

So for this we need to add a mapping between devices and people, right? Is it one to one, or do we use multiple devices? If one device leaves is the person gone?

rrosson commented 2 years ago

To me this looks to be an adjustment to device.tracker in HA. So when you are home it should show what room espresence has determined you in instead of just stating that you are home. Th fun part is that I think device.tracker uses GPS data to determine this. Not sure how this would work or if even possible.

DTTerastar commented 2 years ago

The code in this repo will already take 3+ base stations and output latt/long per device. I though you wanted to roll up device to person. Make sense? Read the other issue if I'm not making any sense #2 .