Using the Raspberry Pi and the Z-Wave.Me USB Stick and a garage detector from Vision ZG8101
- Download the raspbian jessie lite 2016-09-23. Apparently after this one can not SSH into a fresh installed raspbian installation. I guess it is safe, but then you need to connect a keyboard and display. Not a wise decision IMHO.
- Using Win32Diskimager creating drive for the Raspi
- SSH into the raspi using putty if you are on Windows
- Do not change the password !! That will bring us into an endless crash circle… Believe me, I have been there.
- download the latest updates with sudo apt-get update && sudo apt-get upgrade -y
- sudo raspi-config to change the time zone and location to whatever suits you.
- Since there is a new kernel we sudo reboot and login again. If you are using putty click on the top left corner and use Restart session.
- We’ll try the all in one installer,
wget -Nnv https://raw.githubusercontent.com/home-assistant/fabric-home-assistant/master/hass_rpi_installer.sh && bash hass_rpi_installer.sh
when the installation crashes we need to do
- rm -rf fabric-home-assistant
- sudo apt-get install libffi-dev libssl-dev
- sudo pip install cryptography –force-reinstall
- and then we try again
-
wget -Nnv https://raw.githubusercontent.com/home-assistant/fabric-home-assistant/master/hass_rpi_installer.sh && bash hass_rpi_installer.sh
- again reboot, this is not working
Lets try with docker instead.
Install a jessie-lite
Then we get docker
-
curl -sSL get.docker.com | sh
setup auto start
-
sudo systemctl enable docker
-
sudo systemctl start docker
-
sudo usermod -aG docker pi
docker run -d –name=”home-assistant” -v /home/pi/docker/config:/config -v /etc/localtime:/etc/localtime:ro –net=host homeassistant/home-assistant