Closed Aaroneisele55 closed 8 months ago
polygon: - point: x: 0.55m y: 2.82m - point: x: 0.55m y: 2.82m - point: x: 1.41m y: 3.2m - point: x: 1.41m y: 3.2m
This (and the other example) is an invalid polygon. Since there are duplicate points and the "polygon" is essentially a line, it does not have a detection area. Therefore the output state of the zone is invalid. In theory, it should never be able to detect something. Please remove any duplicate points within a single polygon from your configuration.
I'll add some more input validation to catch such config issues, once I find some free time.
Hello, I have recently changed my zones and now I'm getting constant occupancy detected obn both of my zones, veven though the coordinates are obviously not in the zone's range. How could I fix this? Here's my zone config like it was before the issue appeared:
And here's my current config with the bug:
How could I fix this? I'll switch back to the original config in the meantime.
Best regards Aaron Eisele