Hands-On Project 1 – Creating Your Own Sensor
This chapter will perhaps be one of the most interesting in this book as it contains lots of hands-on exercises. In this chapter, you will learn how to create a combined sensor with two different element inputs: a temperature sensor and a motion sensor. I will refer to it as a double measurement sensor. First, I will explain each electronic part that can be integrated with the sensor and teach you how to interconnect the parts using an electronic circuit. I will also show you how to deploy the MQTT software client that’s been customized for the sensor and show you how the MQTT software client works so that you can use not only this sensor but also other devices that you can customize and integrate in the future. Following this, I will provide detailed coverage of how to set up the MQTT software client so that it works with Home Assistant. Finally, you will learn how to enclose and install the sensor in your home.
We will...