i’m really new to Home Assistant and i need some help.
i conected WinSCP to my raspberry pi and tried adding something to the configuration.yaml file but i got an error (error code 3)
after some digging around on the internet i installed the vim edditor on my raspberry and that worked allright but anytime i add something to the .yaml file save it and reboot the pie my Home Assistant page wont load.
You need to use an editor where you can see hidden characters like tabs, carriage returns, etc. That is because Yaml is very strict, so you need to use something like Notepad++ with Winscp or install Samba so that you can reach those files via a share and edit them, seeing if there are any invisible characters keeping your HA from starting.
Change to the /home/homeassistant/.homeassistant/ directory and “tail” the home-assistant.log file to see why it is not starting:
i can see the files and open them with notepad++ in WinSCP but when i try to save them i get an error message saying i don’t have permission to edit the file
Are you using Winscp and do you have “ignore permission errors” enabled? Take a look at the Bruh Automation video on Winscp here: https://youtu.be/hFDVB2H6TNo?t=176
You honestly might want to look at the whole video so you can get an idea of everything he did. HA is quite alot to handle even when all steps are followed…
Even though you seem to have your setup working regarding the file editing, you might consider using the HASS Configurator. It’s quite easy to setup and helps keeping the yaml-syntax correct since it’s showing you the whitespace characters.