Today, we can create Zones that are based on center point location and radius, this makes it hard to create Zones for places that are near to each other, like buildings, or parts of your backyard, because sometimes the circles may overlap each other:
Yes please! I have two zones that are next to each other making it difficult to tell if I’m at the gym or in the pool even a simple 4 point polygon would fix my issue.
It is currently next to impossible to create zones usable in automations in NYC. In order to capture, let’s say, all of lower Manhattan, the radius circle will include parts of a separate borough (e.g. Brooklyn) or another state (NJ)! Nor can one create a zone east or west of a street and have it include more than just one small entry point. Is someone on a water taxi in the East River or on Wall Street?
I have way too many tiny little zones because of the density of NYC and the lack of precision in creating zones. Any large city or downtown area suffers this same fate. I have to make guesses in my automations based on direction of travel, previous zones, etc. to decide if an action should occur (e.g. send notification reminder to … or mark item as …).
I look forward to zone polygons and the automations I can create based on reliable location data.
basically companion app is using iOS and android api for geofencing, which only supports circles.
I have a work-in-progress code (without iOS and android changes, as I wasn’t aware of that functionality), but without the approval, this isn’t useful.
I’m not sure how they go about it, but basically they use points. And you can just move the points around. I’m assuming base on what you said it uses some web portal. But there might be a better way.
Even if we can only do it on a desktop, we need a better system.
The mobile device knows the gps coordinates. If we create a polygon, it would be fairly easy to mathematically see if this falls inside the polygon. That has nothing to do with zones and they definitely do not need to be circles…
I assume what home assistant dev did is not determine weather whether the coordinates are literally inside the circle but their setup hints its just measuring coordinates from edge of zone so the circle is just a visual representation (i could be wrong but it seems that way from the ui)