Hello,
I am struggling to install Home Assistant on raspberry. I am using Raspbian.
I am being asked a passwordif I want to install any dependencies.
Anyone got an idea what is it?
Thanks
Hello,
I am struggling to install Home Assistant on raspberry. I am using Raspbian.
I am being asked a passwordif I want to install any dependencies.
Anyone got an idea what is it?
Thanks
Yes, I cannot find the password on this page. My second question may be more basic. I am now looking for it but what’s the best way to access and modify the configuration.yaml file in windows.
I may access the raspberry pi as a network device …
Default password is raspberry.
I am now looking for it but what’s the best way to access and modify the configuration.yaml file in windows.
WinSCP is pretty popular for this among Windows users.
If you you’re just getting started with HASS, I highly recommend BRUH Automation on YouTube. Ben has some great tutorials.
An alternate to WinSCP is setting up a samba share.
Thanks, I am gonna have a look
For some reason, it’s not. I haven’t set anything.
What I am doing: I am connecting to the pi using putty. I can connect me with another username. When I typing the username homeassistant, I am being asked a password.
May be I do not need to login as the homeassistant user. and could work with the configuration.yaml direclty from the main user.
But I would still need to load the home assistant platform on the webbrowser and I guess I need to know the password.
Just to know when starting your raspberry, do you just write the command hass to load the homeassistant platform in the webbrowser?
Thanks
You can work with the standard pi user. You can either grant rw rights in the appropriate directories or work with sudo mkdir ...
and/or sudo nano ...
to create directories and files. Afterwards you can then use sudo chown homeassistant:homeassistant ...
to set ownership allright. A bit cumbersome but it works to get started.
Ok, but let’s say that I want to launch the platform. I don’t really see how I can connect anymore.
This is the error that I got. Does anyone know the password?
I am not an expert, but I think I may be able to help.
The installation process creates the user homeassistant with no password. It is a system account intended to be limited to only running Home Assistant. That is why the homeassistant user can’t run sudo.
If, as you said earlier, you followed the installation instructions for a manual install on Raspbian and the installation steps all worked properly, then you should be able to login as the default user (pi) with the default password (raspberry) and start Home Assistant by typing
sudo su -s /bin/bash homeassistant
source /srv/homeassistant/homeassistant_venv/bin/activate
hass
This I can do it. Then, I cannot change the configuration.yaml file with Win scp because I do not have the enough right. So, I’ve tried to run `sudo nano configuration.yaml’ but I could not do it due to the missing password.
I am gonna try without password.
Hi,
To do this you better should install the samba service to have complete acces, read/write to home assistant files. I think that it’s not really recommended as it expose your config files to the network but at the same time it’s the best way to access to it, considering you will have to deal with it quite a lot.
To do that there is a script called “install_samba.sh” in “home/homepi/hassbian-script” or have a look at Bruh video that explain everything. How To Set Up SAMBA File Sharing On A Raspberry Pi
Edit: Check the new video everything is well explained. https://www.youtube.com/watch?v=tCGlQSsQ-Mc