The previous two articles of this series introduced a large number of concepts, which are important in gaining an understanding of how Home Assistant works and how devices can integrate with it.
Other items that have been covered include using data from entities in automations, adding users to the system, customising Lovelace dashboards, adding hardware on the local network and adding integrations that pull in data from online sources.
This article will cover the Energy tracking dashboard in Home Assistant, how to use power-monitoring data from smart plugs to create automations, which can alert you when appliances such as the washing machine or dishwasher has completed a cycle. Also being covered is the WireGuard VPN, which can be used to securely access the system from outside of the home network, and the usage of RFID tags, which can be scanned by a smartphone and used to trigger automations.
As previously discussed, the Raspberry Pi is an excellent device to run Home Assistant. However, the unreliability of micro SD cards can let it down. It’s possible to boot the Raspberry Pi directly from an SSD, which this author currently does.
More recent Raspberry Pi firmware makes direct boot from USB possible for some models. This was used with a USB SSD to enable Home Assistant to be installed directly to the SSD – no Micro SD card was needed. To configure this, a Micro SD card was written with the Bootloader>USB boot image file to configure the Pi in the correct way. This can be written to the SD card by using the Raspberry Pi Imager tool (www.raspberrypi.com/software): under Operating System scroll down to Misc Utility Images and click to open the next menu. From this menu, USB boot can be selected.