Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building Smart Home Automation Solutions with Home Assistant

You're reading from  Building Smart Home Automation Solutions with Home Assistant

Product type Book
Published in Sep 2023
Publisher Packt
ISBN-13 9781801815291
Pages 356 pages
Edition 1st Edition
Languages
Author (1):
Marco Carvalho Marco Carvalho
Profile icon Marco Carvalho

Table of Contents (19) Chapters

Preface 1. Part 1: Introduction to Home Assistant – Installation and Configuration
2. Chapter 1: Understanding Home Automation Systems 3. Chapter 2: Getting Started with Home Assistant 4. Part 2: Install, Create, and Hack Sensors and Actuators
5. Chapter 3: Hands-On Project 1 – Creating Your Own Sensor 6. Chapter 4: Hacking a Commercial Actuator to Work with Home Assistant 7. Part 3: Automations, Customizations, and Integrations Using Home Assistant
8. Chapter 5: Creating Automations Using Home Assistant 9. Chapter 6: Doing More Using Integrations and Customizations 10. Part 4: Expanding Home Assistant’s Capabilities
11. Chapter 7: Extending Home Automation Capabilities Using Add-ons 12. Chapter 8: Installing and Setting Up Home Assistant Container 13. Part 5: Learn by Doing and Future Trends
14. Chapter 9: Hands-On Project 2 – Creating an LED Strip Controller and Adding It to Home Assistant 15. Chapter 10: Hands-On Project 3 – Creating a Five-Zone Temperature Logger for Your Home 16. Chapter 11: The Road Ahead in Home Automation Technologies 17. Index 18. Other Books You May Enjoy

Storing data in a database using InfluxDB

We will have to configure two parameters to be able to start storing temperatures in the InfluxDB database:

  • The InfluxDB database
  • A user to access the database

We learned how the InfluxDB database works and how to create it in the Installing and creating databases using InfluxDB subsection in Chapter 7. I recommend you review that subsection, where I showed you how to create the Temperatures InfluxDB database we will use in this project.

Configuring a user to access the database is required to get credentials to store data in the InfluxDB database. We will do this by following these steps:

  1. Open Settings | Add-ons | InfluxDB and click on the OPEN WEB UI button. The Chronograf interface will open.
  2. Select the crown icon titled InfluxDB Admin in the Cronograf sidebar.
  3. Click on the Users tab and then on the + Create User button. In the Create User window, fill the User Name field with your_name, and in the Password...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}