It is time to install Hassbian (and Home Assistant). You can connect a monitor and keyboard to your Pi if you like. The advantage of doing this is it can help in troubleshooting.
In my home network, IPv6 appears to cause issues. I’m not entirely sure if it’s because my Network switch, or the fact that I’m using a Raspberry Pi 2 Model B.But if you have problems in Step 5, try disable IPv6 in your home router (or DHCP server), and try again.
- Remove the micro-sd card from your computer and insert it into your Raspberry Pi
- Connect a wired Ethernet cable from your Access Point to your Pi (Keyboard and monitor optional)
- Power on the Pi
- Wait for Hassbian to download and install the latest version of Home Assistant. This installation is happening in the background. No installation information will display on the connected monitor.
- Be prepared to wait if you have a slow Internet connection. (I’m on ADSL with a 3.5 Mbps download. It took about 15 to 20 minutes for Home Assistant to install and then start!!!)
While the installation is progressing, you can SSH into your Pi and monitor the status of Home Assistant (For instructions on how to SSH, refer to the next page). Run the following command:
netstat -an|grep 8123
- The above command checks if Home Assistant is running and actively LISTENING for connections at port 8123. If you see this, then it means Home Assistant is now installed and running.
- Now from your computer, fire up the browser and goto http://hassbian.local:8123 (Or click this link). You should see this:
- Home Assistant can auto-discover devices. After a few seconds, you’d find extra devices showing up in Home Assistant.
- If you get nothing in steps 7 and 8 above. Please disable IPv6 on your Router (or DHCP server). Reboot the Pi and try again.
- The zeroconf name (hassbian.local) doesn’t always work. If you have problem auto-discovering the Pi, go to your Router (or DHCP Server’s) configuration page and look for the IP address of your Pi. Your Pi should have a hostname of ‘hassbian’.
That’s it. You now have a working Home Assistant running in your home network. A couple more steps to complete before we conclude this HOW-TO.
Comment from: Dmitry Novikov Visitor
It is very interesting that I cam use Pi to install Snakeoil. any special image required?
Comment from: Member
ARMv7 edition of Snakeoil is not ready yet. Hopefully I can find some time to implement that in the coming months.
Comment from: jucas_pt Visitor
Great article, I just add one thing…you should tell to look for the permissions of the folders where the private keys are. I’ve got some issues when i tried to connect to HTTPs and was resolve by changing the permissions of home assistant user for that folders.
Maybe because of the version of hass.io - 0.82.1