There’s no indication that it is doing anything. It just carries down to a new line and that’s that. Is this normal? Should there be some display indicating that there’s activity, or is no news good news?
First of all to cd into the home assistant directory the command is:
cd /home/homeassistant/.homeassistant
Next what does your /etc/sysemd/system/[email protected] file look like. It should look similar to this:
#
# Service file for systems with systemd to run Home Assistant as the homeassistant user.
#
[Unit]
Description=Home Assistant for %i
After=network.target
[Service]
Type=simple
User=%i
ExecStart=/srv/homeassistant/bin/hass
SendSIGKILL=no
[Install]
WantedBy=multi-user.target
pi@hassbian:~ $ cd /home/homeassistant/.homeassistant
-bash: cd: /home/homeassistant/.homeassistant: No such file or directory
Second part;
pi@hassbian:~ $ sudo nano /etc/sysemd/system/[email protected]
GNU nano 2.2.6 File: /etc/sysemd/system/[email protected]
[ New File ]
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell
It looks empty. How stuffed am I? Anything I can do to get everything installed?
Thank you again. I wish there was a way to say super thanks here
You’re the legend that gave me hope over this process! I saw that command commented on another person’s post a day or so ago and managed to get some way through before packages started failing. Thank you for being so active. You seem like you have a lot of patience for people trying to learn the OS/software.
My initial problem here was my wpa_supplicant not being read by the system on first boot. Managed to get past that today and wifi on first boot, but it looks like something isn’t installed.
I’ve tried that command. Here’s what I got;
pi@hassbian:~ $ sudo hassbian-config install homeassistant --force
/usr/local/bin/hassbian-config: line 58: /srv/homeassistant/hassbian/suite-states: No such file or directory
Home Assistant install script for Hassbian
Copyright(c) 2017 Fredrik Lindqvist <https://github.im/Landrash>
Changing to the homeassistant user
Creating Home Assistant venv
Changing to Home Assistant venv
Installing latest version of Home Assistant
Downloading/unpacking homeassistant
Downloading homeassistant-0.89.2-py3-none-any.whl (3.9MB): 3.9MB downloaded
Downloading/unpacking hassbian
Could not find any downloads that satisfy the requirement hassbian
Cleaning up...
No distributions at all found for hassbian
Storing debug log for failure in /home/homeassistant/.pip/pip.log
Deactivating virtualenv
Enabling Home Assistant service
Disabling the Home Assistant install script
Starting Home Assistant
Installation done.
Your Home Assistant installation is running at 192.168.0.28:8123 or if prefered http://hassbian.local:8123
To continue have a look at https://home-assistant.io/getting-started/configuration/
If this script failed then this Raspberry Pi most likely did not have a fully functioning internet connection.
If you still have issues with this script, please contact @Landrash on gitter.im
pi@hassbian:~ $
Do you have any commands that I can try the ol cut and paste here?
Just as an experiment, I installed the hassbian scripts in a Debian VM & installed.
Raspian & Linux install instructions might be good additions to the instructions.
Right now, I am trying to get DuckDNS working after running the script.
I had it working on a previous Hassio install but am moving to Hassbian.
I thought I got it from the “home assistant on a raspberry pi zero w in thirty minutes” post on the site. I hope I’m wrong and that you’ve got the answer that will connect me!
I am really embarrassed to ask. I can see the github page, but how do I download something from there that I can flash to an SD card?
It feels like I’m so close! I’ve learnt a lot up to this point which is great, can’t wait to get it working.
Be sure to unzip the download before flashing it to your SD card.
I think some people have has troule reusing cards. I have not had thet issue but I follow the Raspberry Pi instruction for format the card with SD Formatter first.
Sweet, well I’ve downloaded from that link. Looking back I definitely had hassbian installed because my ssh session said pi@hassbian.
I’ve dropped the wpa supplicant and had wifi on first install. Able to change the ssh password and have let it sit for the 20 mins. It looks like the same situation, no Home Assistant
I followed the instructions in the “Home Assistant on a Pi Zero W in 30 mins” and got this;
pi@hassbian:~ $ sudo systemctl enable install_homeassistant.service
Failed to enable unit: File install_homeassistant.service: No such file or directory
pi@hassbian:~ $ sudo systemctl start install_homeassistant.service
Failed to start install_homeassistant.service: Unit install_homeassistant.service not found.
I followed your instructions above and got this;
pi@hassbian:~ $ sudo hassbian-config install homeassistant --force
sudo: hassbian-config: command not found
Tried the sudo nano /etc/sysemd/system/[email protected] and it is empty.
Tried cd /home/homeassistant/.homeassistant and the directory does not exist.
pi@hassbian:~ $ cd /home/homeassistant/.homeassistant
-bash: cd: /home/homeassistant/.homeassistant: No such file or directory
I followed your instructions at 8 and they worked well until I got this error;
pi@hassbian:~ $ sudo apt install upgrade -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package upgrade
pi@hassbian:~ $ sudo hassbian-config install homeassistant --force
sudo: hassbian-config: command not found
Is there anything I can share to work out what is going on? I ran wireshark to check for traffic coming from the Pi and found almost nothing passing.
I want Home Assistant so bad and it feels like it is so close!!!
Help me @ludeeus wan kinobi, you’re my only hope. turns off R2D2 recording.