I have been looking for a solution for this for this in the forums for a while but couldn’t find anything conclusive so far.
Home assistant is handling the device trackers with zones easily and I like it but when I get the device tracker states in node-red, there are only 2, either home or not_home. for example if I am at work, I can’t see the friendly name of the zone in payload, so I can’t distinguish if I am at work or school or gym (I am never there anyways…)
I am using google location sharing, other device trackers work differently?
{
“entity_id”:“person.serkan”,
“state”:“home”,
“attributes”:{
“editable”:true,
“id”:“XXXXXX”,
“gps_accuracy”:15,
“source”:“device_tracker.google_maps_XXXXXXX”,
“user_id”:“XXXXXX”,
“friendly_name”:“Serkan”,
“entity_picture”:“/local/serkan_device.jpeg”
},
“last_changed”:“2019-06-16T06:08:30.645367+00:00”,
“last_updated”:“2019-06-16T06:38:19.784017+00:00”,
“context”:{
“id”:“XXXXXXX”,
“parent_id”:null,
“user_id”:null
},
“timeSinceChangedMs”:1789225
}
node red’s geofencing is the only option here?