Set my home location

This is a clean install of the Home Assistant Operating System on a Raspberry Pi 3 B+.

The Android app gives exactly the same result.

I even tried the Samba route, but it doesn’t show up on my network even though it says it’s running.

I tried a new clean slate install with the same result. The filesystem is “read only”, so there’s no possibility of making changes. I’ve tried every way I can find to make the filesystem writeable, to no avail.

The unauthorized is solved easily : disable enhanced tracking protection in your browser.

As I said, I get exactly the same error from the official Home Assistant app on my phone. It’s not the browser, it’s the Home Assistant setup.

1 Like

I am with wo1fmane here… I’ve done 5 fresh installs, EACH ONE IS GEO LOCKED, also to note, simply because I could I even tried 2 different other sd cards, the same result. For web browsers again simply because I could. I have used browsers (PC opera, chrome, chromium, firefox, IE, Edge) (MAC Brave and Safari) ALL have the same result wo1fmane is talking about

Same for me. I cannot change the location at all, it’s stuck. I can move around the mini-map, but this does not change the location of the pin in it. Right-clicking also does not change the location of the pin on the map.

1 Like

I fixed it by manually configuring in YAML. In my view there is a bug int he GUI, the location is not configurable using the GUI simply.

homeassistant:
  elevation: xxx
  latitude: xxx
  longitude: xxx
5 Likes

I just tried it on 2022.4.5 and could set the home location in the UI just fine. You have to click and drag the marker though.

3 Likes

Here is how to solve the issue… (in version core-2022.5.5)

Steps:
Go to your ‘Map’ card (showing the incorrect location)
Click the ‘pencil’ icon (top-right corner)
Select your ‘Home’ location (right-hand side)
Click & drag your ‘Home’ icon very slightly

… once you drop the icon in a location your ‘Map’ card will now default to the new location.

4 Likes

Tried that numerous times, edit and dragging the pin. Then updating and restarting.

Doesn’t work in GUI.

Doesn’t work. I have the latest HA. I had allowed HA to detect during onboarding.

Having an issue here. I just moved. Trying to move the marker on the map does not work. Even after hitting save and restarting. Marker just reverts to old location. Any ideas?

1 Like

Having this same problem. Drag pin, hit save and back out. Next time I go back into the screen it’s reverted to the old position.

Just wanted to say thanks!! Was tearing my hair out but this worked, I am no longer in Amsterdam.

I’ve just done the same, you have to click and drag the home icon :slight_smile:

Thank you for suggesting this, worked perfectly.

This is fine if you are not far from Amsterdam. If you’re on the other side of the planet it’s not even remotely reasonable.

2 Likes

Pinch the map, this compresses distances, then you can drag your home to your area. Then reverse pinch the map, and you can drag to a fairly precise location

These answers aren’t working for me. I just get this:

image

and then if I click the edit button, I get this:

image

There is literally nothing in my configuration.yaml that sets a home location. So why does HA persist in saying it’s defined in there? Why can’t the error message give the line number of configuration.yaml where the home location is set, so I can see it for myself?

egrep -r <my latitude> config showed it was defined in .storage/core.restore_state and .storage/core.config. Renaming both those files and rebooting just resulted in .storage/core.restore_state being regenerated with the same values — and my home location being changed to 0°, 0° — and still not being editable!

I suspect that the way the home location was defined changed several versions ago, and the change that introduced the new way simply left old configs untouched, rather than migrating them. Am I stuck unless I nuke the whole HA setup and recreate everything from scratch?

Here’s my configuration.yaml. Prize for the first person to point to the line that sets the home location, as claimed by the error message :grin:

# Loads default set of integrations. Do not remove.
default_config:

homeassistant:
  external_url: https://REDACTED
  country: GB

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 192.168.1.11

# Text to speech
tts:
  - platform: google_translate

# Workdays
binary_sensor:
  - platform: workday
    country: GB
    province: England
    workdays: [mon, tue, wed, thu, fri]
    excludes: [sat, sun, holiday]

This is a bit of a guess, but you could try removing the country: key under homeassistant:. This can now be set via the UI. (So can external_url as well by the way).

See the note here about what you won’t be able to edit via the UI if using certain general settings in YAML. I wonder if that also affects changing the home location.

Thanks! That was the issue. I needed to remove both country and external_url, then set them from the UI.

That error dialog really should link to the page you referenced — I could have solved it straight away if it had given me that hint…