Build Your Own IoT Stack
From first sensor to AI-powered insights — Raspberry Pi, ESP32, MQTT, Home Assistant, Grafana, and LangChain, distilled from 4+ years of real projects.
19 chapters
Table of Contents
- 01 Introduction: Build Your Own IoT Stack
- 02 Chapter 1 — Why a Raspberry Pi (and Which One)
- 03 Chapter 2 — Your First Smart Device: Plugs, Home Assistant, and Local Control
- 04 Chapter 3 — Electronics You Actually Need to Understand
- 05 Chapter 4 — Raspberry Pi Pico W: MicroPython, MQTT, and Your First Sensor Loop
- 06 Chapter 5 — ESP32 vs Pico W: Choosing Your Edge Device
- 07 Chapter 6 — The ESP32 in Practice: Solar, Valves, and Node-RED
- 08 Chapter 7 — The Sensor Dictionary: DHT, MLX, and What to Buy First
- 09 Chapter 8 — MQTT vs RabbitMQ vs Kafka: The Right Protocol for the Right Job
- 10 Chapter 9 — Decentralized IoT: Streamr and What Open Networks Offer
- 11 Chapter 10 — Your Phone as a Sensor: PhyPhox and Python
- 12 Chapter 11 — Plant Monitoring with VPD: The Full Build
- 13 Chapter 12 — Computer Vision on the Edge: Pi Camera and Frigate
- 14 Chapter 13 — Monitoring Your Homelab and IoT Nodes
- 15 Chapter 14 — Grafana and Prometheus: The IoT Data Stack
- 16 Chapter 15 — AIoT: Asking Questions of Your Sensor Data with LangChain
- 17 Chapter 16 — Home Assistant: Sonoff, Zigbee, and Automations That Actually Run
- 18 Chapter 17 — The Raspberry Pi as AI Node: MQTT Meets the LLM
- 19 Chapter 18 — What a Smart Home Actually Needs