My Home Assistant App iOS is working perfect. But have one question.
When I leave my home (zone) it will send the street and status in HA will goto not_home.
But when the App sends a new street location HA will send register again a not_home.
Will this impact automations that use home and not_home as condition?
Or will this automation always fire every time?
iam using bluetooth with monitor because my vpn on my iphone isnot always running and things linke nmap/wlan isnt working good enough because our iphones cut off wlan all the time.
All my presenve automation is just simple
my mqtt broker runs on my OS not inside a docker HA addon!
if no one is home - send a retain maessage over mqtt that will disable automation a;b;c
if someone is home - send a retain maessage over mqtt that will enable automation a;b;c
This way even when a duplicated leaving home/ entering home is registered it doesnt harm anything. And when i am restarting HA it also doesnt trigger anything it shouldnt.
In fact to minimize false positives (anybody in the garden not in the house) i had to mount two old decklids from old 3.5" HDDs between my rpi3 (in the shed) and my house (~20 meters away from the house).because the signal is very strong.
In the House i mounted a usb bluetooth dongle inside of an CD shelf connected to my main HA Server with an 5 meter cable. That one covers everything inside the house (older building less steel no drywalls just bricks) and the garden in front of the House.
I’ve paired all the family phones with both devices. (monitor.sh -c macadress) but before i paired them i changed the bluetooth device to their places.
hciconfig hci0 name garden.