An interesting question from Nickyheng (https://community.home-assistant.io/u/Nickyheng) from the HA community asks about the difference. And point out that they are like two completely separate sets of coordinates. “Using the HLK android tool, zone I created there is not reflected in HA, so I manually created another set of zones in HA. Now it seems I have two different set of zones, one in HLK app and one in HA. ” We would like to provide some of our explanations for this: Yes, the current hlkradartool app provides its own set of zone mechanisms, but this one has this behavior: - Its include and exclude zones are independent, you can't have both at the same time. - Its zones affect the final coordinate output, which means that if include zones are turned on, then only the x and y coordinates will be output for include zones.Whereas for excluded zones, then the targets in the excluded zones act like black holes, resulting in no output for x and y. Since there is no raw coordinate output, the zone mechanism in ha is independent (for screek's code), which has the advantage that can be always have access to xy coordinates.This is pretty cool when paired with a map card, at the cost, of course, of typing in those numbers is kind of a pain in the ass. Maybe in the future some improvements could be made that could also show what happens to the regions in the app, I think it might be a good idea. Currently uncly-yuru's library uses a different idea, exposing the app's settings and the region of judgment, if we understand it correctly. It may then lead to that black hole problem, where the target is only output when it is in the zone. We'll continue to feed back to hlk to always have raw coordinate output in the future.And the ability to include both regions + exclude regions everything combination available in the app.
Created time
Mar 20, 2024 6:46 AM