During HA installation it retrieves location coordinates from somewhere… I’m not sure but those values are bit off. I figured this out recently when working with NodeRed. I expect node red get’s this information from HA. Maybe I’m wrong but it’s not my main question.
Question is: how can I change coordinates of home zone, incl. altitude and especially radius?
Looks like all additional zones has such features.
Anyway, here is what is stated in official documentation:
If no configuration is given, the zone integration will create a zone for home. This zone will use location provided in the configuration.yaml file and have a radius of 100 meters. To override this, create a zone configuration and name it ‘Home’ .
First 2 sentences are bit contradiction and actually not completely true. In my case no configuration is given, no zone record in configuration.yaml, but for some reason I have default home zone, which is called “Domov” (Czech language). Where this name is coming from? The rest of GUI is in English (which I prefer)
3rd sentence doesn’t make things more distinct. To take control over my home zone do I have to create entries in configuration.yaml (I suppose it’s old school approach), or should use visual editor to add zone named “Home” which will override default one? Is using “Home” word obligatory? Or I must use the same name as default zone (Domov)
Go to the ui select the gear symbol on the left sidebar then select zone. You will be able to edit both the position and radius as well as add more zones if you choose.
The UI doesn’t allow me to modify Home zone radius. Or I don’t know how to do that. I can only move the zone around on the map, but since there are no coordinates displayed, I must ask: does it set altitude too?
Also edit option is disabled (greyed out)
I don’t know that you can change Home radius from the fixed 100 m. At least I’m not aware of how to do it. Any other zones you can change the size by clicking and dragging the radius boundary on the zones map.
It’s not really necessary though.
You ALWAYS override the Home Zone by adding it to the zones.yaml file, it will override whatever default Home Assistant has picked, and since you can define the radius in the zones.yaml file, this is the correct way to do it:
You are right! Thanks for pointing that out. I’ve deleted my post so users comming to this will thread will use the recommended way of overriding the Home zone in the zone: section of the configuration.yaml. I’ve overlooked it in the docs. Thanks!
Well I didnt do anything…that I’m aware of, and when I checked this moring, I now only have one HOME zone with the radius specified in my zone.yaml file. So all good.
Hi am new to HA i am trying to add a zone.yaml file but i keep getting an error when i check config
if i have the txt from the zone.yaml just in the config.yaml it works?
if i cant sort this out i wont be able to make any new yaml files.