I just installed HA container few days ago on my Pi 4. Currently I connected the ios app home assistant to HA on the pi and get it to track my battery and location. I also added Spotify integration and it’s working ok. Now I want to have an automation that when I leave and come back home, it should play spotify. But I tried to leave but HA still shows that I’m home. And if I leave, I can not connect to local HA anymore, so how can it know I left ??
Is there a way to continuously track my iphone location, and when it does not resposne, HA will assume that I’m out?
Unless you set up HA for remote connection it wont (continuously monitor positioning).
I use icloud integration. One downside to icloud integration is you have to re authenticate every few months. If you have family, set up family in IOS that way you have access to all person(s) with authenticate every single, you only need to authenticate the main member.
The wifi present detector will detect device home or not home
you can use person integration to add multiple tracking method for accuracy
I can add a ‘consider home’ threshold for the tracker, ie. only after a certain time, state would change to ‘home’.
NMAP does not seem to catch devices in deep sleep.
NMAP is a port scanner and default scans several ports that I am not interested in being scanned (and thus have blocked) - alternative is to tweak the configuration and maintain this.