Book Image

Building Smart Home Automation Solutions with Home Assistant

By : Marco Carvalho
5 (1)
Book Image

Building Smart Home Automation Solutions with Home Assistant

5 (1)
By: Marco Carvalho

Overview of this book

Picture a home where you can adjust the lighting based on the time of day or when movement is detected. In this same home, you can also detect when a door is unexpectedly opened or an alarm is triggered in response to any suspicious activity. Such automated devices form part of a smart home, and the exciting part is that this book teaches you how to create and manage these devices all by yourself. This book helps you create your own ecosystem to automate your home using Home Assistant software. You’ll begin by understanding the components of a home automation system and learn how to create, hack, and configure them to operate seamlessly. Then, you'll set up Home Assistant on a Raspberry Pi to work as a home automation server, build your own IoT sensors based on ESP32/ESP8266, and set up real-life automation use cases using hands-on examples and projects. The chapters will also guide you in using software tools such as Node-RED, InfluxDB, and Grafana to manage, present, and use data collected from your Home Automation devices. Finally, you’ll gain insights into new technologies and trends in the home automation space to help you continue with your learning journey. By the end of this book, you’ll be able to build your own creative, IoT-based home automation system using different hardware and software technologies.
Table of Contents (19 chapters)
1
Part 1: Introduction to Home Assistant – Installation and Configuration
4
Part 2: Install, Create, and Hack Sensors and Actuators
7
Part 3: Automations, Customizations, and Integrations Using Home Assistant
10
Part 4: Expanding Home Assistant’s Capabilities
13
Part 5: Learn by Doing and Future Trends

Integrating the LED strip controller into Home Assistant

The WLED integration with Home Assistant is simple. After you execute the steps from the previous section, open the command palette using the C hotkey, type integrations, and select it (or use Settings | Devices & Services), as can be seen in Figure 9.13.

Figure 9.13 – Integrations configuration from the C hotkey

Figure 9.13 – Integrations configuration from the C hotkey

You will see the WLED integration ready to be configured as presented in Figure 9.14.

Figure 9.14 – WLED final configuration screen in Home Assistant

Figure 9.14 – WLED final configuration screen in Home Assistant

Click on the CONFIGURE button to configure the WLED integration within Home Assistant. A pop-up window will be presented asking you if you want to add the WLED to Home Assistant. Click on the SUBMIT button. The screen presented in Figure 9.15 will ask you to assign the WLED to an area. We will leave it blank for now and click on the FINISH button.

Figure 9.15 – WLED final configuration screen in Home Assistant

Figure 9.15 –...