Setup hassio on raspberry pi3 with raspbian jessie with pixel

Hi is it possible to install hassio on the Rasberry pi running raspbian jessie, if so do you have a full guide on how this can be done.

If you already have an OS on your Pi, then use this :==> https://home-assistant.io/docs/installation/raspberry-pi-all-in-one/

I wanted to try out HASSIO (it’s not for me), i got it running on Jessie using this guide https://github.com/home-assistant/hassio-build/tree/master/install#install-hassio

curl -sL https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install | bash - -m MY_MACHINE

wouldn’t work for me so i just downloaded the script with

wget https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install

and then run it with ./hassio_install -m raspberrypi3

2 Likes

this did not work for me, does anyone have any idea on how to do this, I have the docker installed but can’t build or run the latest hassio. The instructions aren’t clear enough on how to do this.

Where did you get this from?

/home-assistant/hassio-build/master/install/hassio_install

This command will download “hassio_insatll”

wget https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install

Then you run it with

./hassio_install -m raspberrypi3

That is what I did but it returned this
root@raspberrypi3:/home/pi# ./hassio_install -m raspberrypi3 bash: ./hassio_install: Permission denied root@raspberrypi3:/home/pi#

You need to add execute permissions to the file

chmod +x ./hassio_install

then run it with ./hassio_install -m raspberrypi3 sorry about that.

Just a side note here you shouldn’t really ever need to use the root user, sudo will elevate any command to root privileges, also be careful running unknown scripts as root/sudo as they can do anything to you system.

How did you access it?
pi@hassio:~ $ sudo ./hassio_install -m raspberrypi3
[INFO] Install supervisor docker
[INFO] Install generic HostControl
[INFO] Install startup scripts
[INFO] Init systemd
[INFO] Start services

When I try to load home-assistant in my browser (ip_of_pi:8123) it will not load

I have the same problem… I installed it with command “sudo ./hassio_install -m raspberrypi2” and everything was successfully finised. On MY_PI_IP:8123 don’t run hass.
I checked docker images after installation: there are 2 images … hassio-supervisor and raspberrypi2-homeassistant. But actually, there is running only one container (supervisor). It is OK?

try this:

sudo su -

then run the script. after run the script type exit command to stop being root.

If your using this method with stretch you need to do the following

add
cgroup_enable=memory cgroup_memory=1 in /boot/cmdline.txt at the end of the line and reboot.

So I am in exactly the same situation. Using a Raspberry Pi 3 with raspbian stretch and pixel. I’m using the HDMI output from the pi and also need to install other applications but I want to use hass.io so I can make use of the add-ons, things like updating hass at the click of a button is a huge benefit. I’ve currently followed all the steps that people have talked about above. I’m currently looking at the house logo and it’s been sitting here for about half an hour in the web browser.

Approximately how long does it take for it to initially start up for other people?

2 Likes

@Andy_Nunes

Here’s my guide based on my tests and info above.

NOTE: It is not possible to install packages on Hass.io7. You’ll need to create an add-on to run an application besides Home Assistant: https://home-assistant.io/developers/hassio/addon_development/120

It is not possible to have applications interact directly with Home Assistant. You can have add-ons communicate via MQTT https://home-assistant.io/hassio/run_local/43
How to add VLC into my Hassio? - #5 by balloob

Ref: How to add VLC into my Hassio? - #5 by balloob

Installing HASS.IO on top of Raspbian Stretch on a Raspberry Pi 3

Note, I found a 8GB SD card insufficient as it ran out of space during the setup meaning HASS hung during the preparing Hass.io stage. Changing to a 16GB card fixed this issue.

Requirements
As per home-assistant/hassio-build prepare the system.

Update the apt package index.
#sudo apt-get update

docker
Install docker-ce for the Raspberry Pi. Info source: Get Docker CE for Debian
Install the latest version of Docker CE

#sudo apt-get install docker-ce -y

bash

#sudo apt-get install bash -y

socat

#sudo apt-get install socat -y

jq

#sudo apt-get install jq -y

curl

#sudo apt-get install curl -y

avahi-daemon

#sudo apt-get install avahi-daemon -y

dbus-daemon

#sudo apt-get install dbus -y

Alternatively combine all into one command:

#sudo apt-get install docker-ce socat jq curl avahi-daemon dbus

Add @Philippe_Audet’s edit to the cmdline:

#sudo nano /boot/cmdline.txt

append cgroup_enable=memory cgroup_memory=1 to the end of the text file, then reboot:

#sudo reboot

Installing HASS.IO
Download the installer:

#sudo wget https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install

Add the execute permissions to the file:

#sudo chmod +x ./hassio_install

Then run it with:

#sudo ./hassio_install -m raspberrypi3

4 Likes

does the above still work with the latest version of hassio?
any can confirm this or anyone has this setup working still?

my current is debian stretch (dietpi)

And do you know how to do it in Ubuntu? I don’t have the cmdline.txt file.

Thanks fir your help

FWIW, I started an with a fresh stretch lite on a pi3, and used this
hassio install on stretch lite

Seems to work fine, but I am a newbie lol

But I’m not using a pi. So the instructions are not valid for me.

I am stuck here, docker is already installed

image

follow this:

is it possible to have the Hassio add on menu on the docker ??