Home AssistantThe Master Handbook
From First Steps to AI-Powered Home Automation
One book, one house, one continuous path: you set up Home Assistant, run your heating and solar power, and finally let an AI help you build and troubleshoot. No prior knowledge needed.
More than 500 pages in full color. Free AI companion included.
New AI companion version 2026.12, matched to Home Assistant 2026.12. Download it here
What is "Home Assistant: The Master Handbook"?
"Home Assistant: The Master Handbook" is a book by Thomas Giehl that walks you step by step through home automation with Home Assistant. It starts with choosing hardware and goes all the way to energy management and working with AI. No prior knowledge needed.
The book comes with a free AI companion for Claude, ChatGPT, Gemini and Copilot. It is maintained after printing and follows the Home Assistant releases. The current version is 2026.12, matched to Home Assistant 2026.12.
- Size
- more than 500 full-color pages, 40 chapters in six parts
- Editions
- paperback, hardcover and Kindle eBook on Amazon
- Up to date
- Book: Home Assistant 2026.10
AI companion: version 2026.12 - Published
- 2026, self-published through Amazon KDP
Christmas gift idea for tech lovers
Looking for a Christmas gift for a smart home fan?
The Master Handbook is a gift for anyone who wants to automate their own home, from beginners to old hands.
Know someone who switches the lights from their phone, keeps an eye on their solar power and perks up at the words "smart home"? Then this gift is practically under the tree already.
The Master Handbook walks step by step through Home Assistant: from the first install through lighting, heating and energy to AI-powered home automation. More than 500 full-color pages, one example home that runs through the whole book, and a free AI companion that keeps helping long after the holidays. Beginners get a clear path. Experienced users find ideas for the long winter evenings.
Amazon shows delivery times and gift options at checkout.
What makes this Home Assistant book different?
It does not leave you alone where it gets interesting. There are good books about Home Assistant; this one takes you all the way to advanced topics with one example home and an AI companion.
One house, forty chapters
Alex, Kim, Mia and Ben build out their home step by step. Every guide plays out in this one example installation, so you see how the pieces work together instead of collecting isolated recipes.
An AI companion that stays current
The book comes with a free AI companion for Claude, ChatGPT, Gemini and Copilot. With it, your AI knows how the book is laid out, points you to the right chapter and knows what changed in new Home Assistant releases. Go to the AI companion
AI as a tool, with rules
Part VI shows how to connect Home Assistant to an AI via MCP. It hunts down errors in logs and traces and drafts automations. Nothing changes without an impact report and your approval.
All the way to advanced topics
Dynamic electricity pricing and charging windows, home batteries, EV chargers and bidirectional charging, taking devices out of the manufacturer's cloud, and a standby system on a cheap thin client.
Hardware that fits you
A selection matrix takes you from your needs to the right hardware in about ten minutes: Green, Raspberry Pi, mini PC, NAS or virtual machine.
Rookie mistakes
A dedicated appendix collects the typical mistakes, sorted by chapter, so you don't have to make them all yourself.
What is in the book?
Six parts, one path: from a quick start to working like a pro with AI. Each part builds on the last, but you can jump in wherever your setup is today.
IQuick start
Chapters 1 to 4. What Home Assistant can do, the right hardware, first devices, first dashboard, first automation, backup and remote access.
IIFundamentals
Chapters 5 to 11. Integrations and entities, areas, dashboards, automations, scripts, helpers, templates and just enough YAML.
IIIRadio and devices
Chapters 12 to 16. Zigbee, Matter and Thread, Z-Wave, ESPHome, Shelly, Tasmota and community integrations (HACS, now Marketplace).
IVProjects for beginners
Chapters 17 to 20. Lighting and presence, notifications, garden irrigation, cameras and alarms.
VProjects for advanced users
Chapters 21 to 28. Heating, air conditioning on surplus solar, the energy dashboard, batteries and dynamic pricing, EV charging, pyscript and Modbus, leaving the cloud, resilience.
VIPro use with AI
Chapters 29 to 40. Assist and local models, MCP, setting up projects and skills, working rules, troubleshooting, automations and code with AI, documentation, monitoring, security and costs.
How can AI help you with Home Assistant?
Connected via MCP, an AI finds errors in logs, drafts automations and writes the documentation for your setup. It can also break a lot. Part VI shows in twelve chapters how to use it safely.
- Connect Home Assistant to Claude via MCP, with a project, project knowledge and skills
- Working rules: impact report first, then approval, always with a way back
- Troubleshooting with logs, traces and history
- Develop automations, dashboards and pyscript together
- Automate documentation and monitoring
The AI companion works with
- Claude
- ChatGPT
- Gemini
- Copilot
Download the AI companion for free, currently version 2026.12. The archive password is in chapter 0. Go to the AI companion: download and setup
The hallway light no longer turns on automatically in the evening.
I checked the traces of “Hallway light at sunset”. The automation runs fine, but since the clocks went back the hallway gets dark before sunset.
Suggestion: also trigger when the hallway illuminance sensor drops below 30 lx.
| Affected | Effect | Risk |
|---|---|---|
| 1 automation | new trigger | low |
| Hallway dashboard | none | none |
Looks good, go ahead.
What do you learn on in the book?
You learn on one continuous example home: the house of the Mustermensch family. Every screenshot comes from a dedicated demo instance.
Alex and Kim live with Mia and Ben in a detached house in Cologne. It starts with a lamp that needs the manufacturer's app, a thermostat and a smart plug with an app each, and a dark hallway on a Tuesday evening. The installation grows with every chapter.
- Chapter 3lamp, smart plug, thermostat
- Part IVlighting, garden, security
- Part Vsolar, battery, heat pump, EV charger
- Part VIthe AI joins in

Who is this book for?
You're just starting
You don't have Home Assistant yet or just installed it. The book walks you through from choosing hardware.
You want more
Your system runs, but heating, solar, battery or EV charging are still missing. Part V was written for you.
You want to work with AI
You already use Claude, ChatGPT, Gemini or Copilot and want to put them to sensible use in your home.
Which edition is right for you?
Prices on Amazon.com, as of October 2026, plus applicable sales tax. The AI companion is free with every edition.
Who is the author?
Thomas Giehl heads IT at a non-profit organization in Germany, trained in measurement and control engineering, and has used Home Assistant since the early versions.
He started in 1982 with an Apple II that refused to boot for days, because nobody had told him the boot command. He stuck with it. Later he ran the workshop of a large computer retailer, and spent twenty years at an international corporation, ten of them as head of IT for Europe.
Before studying physics, he trained in classic measurement and control engineering. A sensor measures, a controller acts: that is exactly how an automated home works. This background shapes the book, especially on heating and energy management. You bring home more than instructions: expertise that still holds when the next device arrives.
He has used Home Assistant since the early versions. It started with a small lamp, then heating and energy management followed. That journey is in this book, updated to the current state of Home Assistant.
Besides IT, he has published a historical novel and music for wind orchestra. He lives with his wife near Cologne.
Frequently asked questions about the Home Assistant book
Is there a good book on Home Assistant for beginners?
"Home Assistant: The Master Handbook" by Thomas Giehl is written for beginners and advanced users alike. It has more than 500 full-color pages and is available as a paperback, hardcover and Kindle eBook on Amazon.
Do I need prior knowledge for the book?
No. The book starts with the question of which hardware fits you and explains every term the first time it appears.
Is there a Home Assistant book that covers working with AI?
Yes. Part VI of the Master Handbook shows in twelve chapters how to connect Home Assistant to Claude via MCP and work with the AI under clear rules: impact report first, then approval. The method carries over to ChatGPT, Gemini and Copilot.
What is the AI companion to the book?
The AI companion is a free package of instructions and text files for your chatbot. With it, Claude, ChatGPT, Gemini or Copilot knows how the book is laid out, sends you to the right chapter and points out changes in new Home Assistant releases. It does not contain the book text.
Which AI do I need for the AI companion?
Claude, ChatGPT, Gemini or Copilot. A lot works with free accounts, more with a paid one. Chapter 0 explains the differences. Part VI works with Claude, but the method carries over.
Where do I get the AI companion?
For free on the companion page or on GitHub. The archive is password protected; the password is in chapter 0. The current version is 2026.12, matched to Home Assistant 2026.12.
How current is the book?
The book reflects Home Assistant 2026.10 (October 2026). The AI companion catches later changes until they make it into a new edition of the book.
Does Home Assistant cost anything?
Home Assistant itself is open source and free. You pay for hardware and devices. The selection matrix in chapter 2 helps you find out how much you need to spend.
Is there a German edition?
Yes, "Home Assistant: Das Masterhandbuch". See the German site for details.
Start with the first lamp.
And don't stop until your home works the way you want it to.