I need to set location tracker in order to locate my brother when he is going to another city and when he is going back home.
The purpose is to set his water heater to turn off when he’s in another city (this is a specific city), and turn it on again when he is going home. Owntracks is the first that come in my head, but I don’t want to track him in all location (privacy thing). I only need owntracks to report when he is in another city (to turn off water heater), and when he is going from this another city to a specific intermediate zone (to turn on heater).
Is there any idea how to accomplish this? Thank you very much in advance.
PS : I’ve already know how to setup zones and to connect the owntracks to my MQTT server
as far as I know, when it comes to device trackers, either you track 100% of the time or you don’t
The only way round this would be for your brother to manually stop and resume owntracks which somewhat defeats the purpose of setting it up in the first place.
I get it that once owntracks is activated and connected to Mqtt, it will continuously send data to HA. I just try to find a way to hide my brother location in HA maps when he’s outside predefined zones. If he’s entered ‘home’, ‘another city’, or ‘intermediate city’ then I would like his state to appear in HA.