First, download the installation image from here.
Then, unzip the image.
Connect the SD card you are going to put in your Raspberry Pi, and then write the image to the card. Make sure you get the write device for the
dd will overwrite whatever is there, even if it is your system drive.
sudo dd bs=4M if=hassos_rpi3-64-1.9.img of=/dev/sdc status=progress
I also need wifi to work on mine. So grab a USB stick you aren’t using and plug that in. Format it with
fdisk with one partition. Again, be sure you get the right device for this command or you could inadvertently wipe your system drive.
sudo fdisk /dev/sdb o n # all defaults w sudo mkfs.ext4 /dev/sdb1
The name of the drive needs to be
CONFIG, so use the following command to do that.
sudo e2label /dev/sdb1 CONFIG
Make a file named
network/hassos-wifi on the USB stick with the following contents. Replace the SSID and PASSPHRASE parts with your specific wifi setup.
[connection] id=hassos-network uuid=72111c67-4a5d-4d5c-925e-f8ee26efb3c3 type=802-11-wireless [802-11-wireless] mode=infrastructure ssid=SSID [802-11-wireless-security] auth-alg=open key-mgmt=wpa-psk psk=PASSPHRASE [ipv4] method=auto [ipv6] addr-gen-mode=stable-privacy method=auto
You should also put your SSH public key in a file named
authorized_keys like so.
cat $HOME/.ssh/id_rsa.pub > /usb_mount_point/authorized_keys
Now you can put both the SD card and USB stick in the Raspberry Pi and give it power. It should boot up, connect to your wifi, and start install Home Assistant. You should now be able to point your browser at
http://hassio.local:8123 or ssh to the machine at
email@example.com -p 22222, assuming your network is set up appropriately. You could also see what IP address the machine is at, and use that directly.
http://hassio.local:8123 there is just a loading page that refresh frequently. After about 20 minutes, the initial download and setup will complete, and then you can start doing some initial configuration.
The first thing you should do is install the Configurator plugin. In the web interface, select Hass.io from the menu, then at the top select ADD-ON STORE, and find the Configurator add on.
Once you’ve got the Configurator installed, give it a username and password, and start it. Then use the configurator to make initial modifications to the configuration.yaml file. Like setting your latitude and longitude, and timezone info.
For lots more info, go to Home Assistant’s website. Next I’ll be installing a Z-wave USB stick and a thermostat. I’ve still got tons to learn about this stuff, so stay tuned as I start to make my home smart.