touliloup
(Romain)
November 16, 2017, 10:52am
11
That’s possible but you would have to define some priority first.
Which one would win if wifi say you are not_home, bluetooth say you are and owntracks say you are at work (battery died while being at work or smth like that)?
There is many post on this topic:
https://community.home-assistant.io/t/using-multiple-trackers-in-groups-to-detect-presence
https://community.home-assistant.io/t/presence-detection-with-multiple-devices-multiple-trackers/
Use multiple options to determine if they are home or not.
With an iphone the icloud component is pretty reliable and doesn’t require an app.
Combine that with Nmap
and possibly bluetooth off the Pi3
Two ways to combine them. Each automation has a trigger for each of the above trackers going from home to not_home. But you use a condition that all of the trackers are home / not_home. This way any one can trigger the automation but there are checks and balances with the other tracke…
Wait 5 minutes before setting the state away, set hoe as soon as any tracker is detected.
I found the ble tracker using PI3 and the gpsloger are the most reliable
- alias: 'Set Anil Away'
condition:
condition: and
conditions:
- condition: state
entity_id: input_boolean.anilhome
state: 'on'
- condition: state
entity_id: device_tracker.pixel_bt #bluetooth
state: 'not_home'
- condition: state
entity_id: device_tracker.ac37434…