Hi, I’m completely new to home assistant. I have it running on oracle virtualbox in a windows PC.
I wanted to use the Picture elements feature and hence wanted to start by adding images to www in config. One problem though, I had done all my previous configuration through the online vsc editor alas you can’t add images the same way.
I have Samba Share installed but am unable to find my device in any way. Is it possible to add the images through some other way or any idea on how to access these files through some other means.
If you search the forum you will find hundreds of posts about samba not working, most using the Home Assistant image. Add the VM NIC interface complexity…
Download WinSCP from HERE and install on your Windows PC
Log in to the Home Assistant VM (use the IP of your Home Assistant VM)
All of your configuration files are saved in the /config folder. If you have a new install, you will need to create the www folder inside the /config folder.
You can now drag and drop files from your PC to HA easily. Hope this helps.
Nevertheless I just got sambashare working.
In case anyone is trying in This PC
Click on add a network location
Then when entering the address enter \your.server.ip.here\config
and then enter credentials set in samba share
Sorry to bump this topic. I’m a newbie but I’d like to give my humble advice:
I too came across difficulties using this method, I took a look at the configuration file and in order to use a SFTP-connection you’ll need to change sftp to true and set the username to root.
I’m taking a sharp learning curve to be able to work with HASS. Fingers crossed, because the journey is difficult. Even posting code has its own rules here and is a journey on its own
That’s not how I have any of my systems configured, they all work with the config as I previously posted.
As a test, I just set one machine too sftp: true and the connection was blocked. Changed back to sftp: fase and I was able to connect immediately with WinSCP.
I’m not here to start a discussion or to get into an argue with somebody. I appreciate your post because it helped me get where I needed to be. So, many thanks! I really appreciate people helping each other resolving issues.
My connection was blocked when connecting through SSH in WinSCP, I kept getting ‘wrong password’ even though my password was set up correctly. Only after changing the settings I mentionned I was able to get in.
I didn’t want to keep this for myself, if this could be in any way be helpfull for someone.