Control Your Home with Raspberry Pi
Secure, Modular, Open-Source and Self-Sufficient
Koen Vervloesem
Cite this publication as
Koen Vervloesem, Control Your Home with Raspberry Pi (2020), Elektor, Aachen, ISBN: 9783895763830
437
accesses
accesses
13
quotes
quotes
Descripción / Abstract
Índice
- BEGINN
- Table of Contents
- Preface
- Chapter 1 Introduction
- 1.1 What is home automation?
- 1.2 Why use a Raspberry Pi as a home automation gateway?
- 1.3 The properties of a good home automation system
- 1.4 How to use this book
- 1.5 Summary and further exploration
- Chapter 2 The Raspberry Pi as a home automation gateway
- 2.1 Which Raspberry Pi models are suitable for home automation?
- 2.2 Requirements for a reliable home automation gateway
- 2.3 Installing Raspberry Pi OS
- 2.4 Setting up network connectivity with Ethernet or Wi-Fi
- 2.5 Remote access using SSH
- 2.6 Basic setup
- 2.7 The tmux terminal multiplexer
- 2.8 Python
- 2.9 Docker
- 2.10 Summary and further exploration
- Chapter 3 Secure your home automation system
- 3.1 Some general computer security principles
- 3.2 Isolate your home automation devices
- 3.3 User management
- 3.4 Encryption
- 3.5 Keeping your software up-to-date
- 3.6 Summary and further exploration
- Chapter 4 MQTT (Message Queuing Telemetry Transport)
- 4.1 What is MQTT?
- 4.2 Installing and configuring the Mosquitto MQTT broker
- 4.3 Using graphical MQTT clients
- 4.4 Using MQTT in Python
- 4.5 Direct communication between other containers and Mosquitto
- 4.6 Summary and further exploration
- Chapter 5 TCP/IP
- 5.1 Wake other network devices
- 5.2 Remote control with SSH
- 5.3 Collecting information from devices using SNMP
- 5.4 Using devices with a HTTP/REST API
- 5.5 Creating a video surveillance system
- 5.6 Summary and further exploration
- Chapter 6 Bluetooth
- 6.1 An introduction to Bluetooth Low Energy
- 6.2 Enabling Bluetooth
- 6.3 Investigating Bluetooth Low Energy devices
- 6.4 Reading BLE sensor values in Python
- 6.5 Relaying Bluetooth sensor values with bt-mqtt-gateway
- 6.6 Presence detection with Bluetooth
- 6.7 Summary and further exploration
- Chapter 7 433.92 MHz
- 7.1 433.92 MHz protocols
- 7.2 Hardware requirements
- 7.3 Receiving sensor values with rtl_433
- 7.4 Publishing 433.92 MHz sensor values to MQTT
- 7.5 Summary and further exploration
- Chapter 8 Z-Wave
- 8.1 An introduction to Z-Wave
- 8.2 Choosing a Z-Wave transceiver
- 8.3 OpenZWave and Zwave2Mqtt
- 8.4 Using your Z-Wave devices with MQTT
- 8.5 Summary and further exploration
- Chapter 9 Zigbee
- 9.1 An introduction to Zigbee
- 9.2 Creating a Zigbee transceiver
- 9.3 Zigbee2mqtt and Zigbee2MqttAssistant
- 9.4 Using our Zigbee devices with MQTT
- 9.5 Summary and further exploration
- Chapter 10 Automating your home
- 10.1 Node-RED
- 10.2 Home Assistant
- 10.3 AppDaemon
- 10.4 Summary and further exploration
- Chapter 11 Notifications
- 11.1 Forwarding local email
- 11.2 Forwarding emails from Docker containers
- 11.3 Push notifications with Gotify
- 11.4 Notifications on receiving MQTT messages
- 11.5 Summary and further exploration
- Chapter 12 Voice control
- 12.1 A basic Rhasspy setup
- 12.2 A Rhasspy base with satellites
- 12.3 Train your sentences
- 12.4 Intent handling
- 12.5 Summary and further exploration
- Chapter 13 Remote access
- 13.1 Three ways for remote access
- 13.2 Updating your dynamic DNS with ddclient
- 13.3 Running WireGuard on your Raspberry Pi
- 13.4 Summary and further exploration
- Chapter 14 Conclusion
- 14.1 A dashboard for all your services
- 14.2 More about home automation
- Appendix
- 15.1 Getting the name and ID of a serial device
- 15.2 Switching USB ports
- 15.3 Disabling the onboard radio chips
- 15.4 Disabling the on-board LEDs
- 15.5 Securing insecure web services with a reverse proxy
- 15.6 Bridging two MQTT brokers securely
- Index