Trying to access home assitant via network (windows 11) using Samba just brings me to the home assitant dash board?

Edit: I’m going to abandon this thread for now as it seems there is a networking problem I’m having that is preventing this and other things like cloud integration or logging into the cloud from working too.

Hello, I’m new to home assistant and trying to access the HassOS files via Samba. I have set it up and added my username, password, and IP. But when I double-click the home assistant icon in the network, it just brings me to the home assistant dashboard instead of asking me to log in. Does anyone have any idea what I’m doing wrong here?

Try it using the command line and connecting to

\\(your homeassistanthostname)\

The icon you’re clicking on is likely the one from network discovery pointing at the http:\ address.

For Samba you need to connect using SMB which is good old file print.

It’s a security thing. (From Windows). You need the IP address of your Home Assistant server. (Ping homeassistant.local /4 will tell you what it is.) In my case 192.168.1.57. So in File Explorer address bar, I enter: file://192.168.1.57

From there, right-click on the Config folder, then select “Map Network Drive”. Map the drive to an unused drive letter and make sure “Reconnect at sign-on is selected”. Now the config folder will be a drive letter in Windows.

1 Like

I got 10.0.0.130 after pinging and when I put file://10.0.0.130 into the file explorer address bar I just get an error saying windows cant find that file?

Oops, enter file://10.0.0.130/Config

1 Like

same error, man all I want to do is connect a speaker to mess around with.

Why do you need samba to connect a speaker?

And as ever have you read the docs.

https://chilhass.duckdns.org:8123/hassio/addon/core_samba/documentation

Where did this address come from? You lost me when you said you “got it after pinging”.

Are you guys insane?

The address to put in windows file explorer

\\192.168.1.whatever
1 Like

Start → type CMD → Enter

in the window that just opened up type

net use Z: \\10.0.0.130\ password /user:homeassistant /persistent:yes

this will map a drive called Z: to your home assistant installation, adjust driveletter Z: if you want and replace homeassistant with what ever user you created in the SMB settings.

1 Like

I told him to ping homeassistant.local to get the IP address of his Home Assistant server.

1 Like

Not when his homeassistant.local pings as 10.0.0.130

Good question. The OP was asking how to “access the HassOS files”. I assumed he had installed the Samba add-on.

(for for the long response, I nearly forgot about this thread as I’m trying to fix other issues) I was planning to try and use an aux port to connect a speaker, but I think this is not working because of some network issues since any cloud-dependent integration can’t relate, I cant log into home assistant cloud thought HassOS but I can log in on the website, and I’m struggling to figure out how to fix this. So Ill probably not be able to continue to trouble shoot this problem untell I can fix the network problem first.

Thanks so much Steve. I have been spending hours looking up how to get into my home assistant samba files and nothing worked. The simple explanation you just said worked. I think the main point everyone else missed was making it sound like you put the home assistant address in your web browser instead of putting it in the file explorer address bar. I am happy now !

On windows it works from a web browser too. Example from Edge.
image

for some reason it does not work for me from Firefox, Chrome, or Edge but works from the file explorer address bar. After I got into it I mapped it and all is well. Thanks