Edit Yaml - Raspberry Pi All-In-One Installer

Hi All,

I’ve just installed HASS using the Raspberry Pi All-In-One Installer, however struggling to edit the YAML file (which lives in (home/hass/.homeassistant) I believe this to be permissions however unsure how where/what level to change.

I am logging in as Pi when using either ssh or cyberduck (mac user)

Any help much appreciated.

Are you using sudo? What errors do you get?

the YAML files will be owned by the hass user, you should be able to do:

$ sudo su - hass

To switch to that user then you should have the correct permissions to edit the file.

Do you have to edit in terminal/using SSH, i was hoping to download the file make changes and reupload

you can do it that way if you want to… just make sure the files are uploaded by the owner of the hass installation …

you could use something like winscp

How do I find the hass user/password?

I find it easiest to set up a Samba share to my HA folder. That way, I can edit directly in my text editor. Good tutorial here:

Also, some tips for using Notepad++ that I figured out through trial and (lot’s of) error:

If you’re logged in as “pi” - the default user (pass: raspberry), you can switch users with:

sudo su -s /bin/bash hass