Automate Your Home with Raspberry Pi and Go
summary
Builds a voice-controlled home hub on a Raspberry Pi 3 using Go, gobot.io, PortAudio and cgo wrappers, with a local porcupine wake-word engine (about 25 KB) and cloud Google Cloud Speech-to-Text and TTS for commands. Listens for keywords like bumblebee and a debug terminator, recognizes exact phrases to trigger callbacks, talks to a Philips Hue bridge and IR devices, compiles on-device, and runs after roughly four hours of work; demo shows it can speak and toggle lights though some API calls needed fixing.
AI-written summary · about
chapters (20)
- 0:00Introduction and motivation
- 1:07What is Raspberry Pi
- 2:55Why use Go with Raspberry Pi
- 4:23Project overview and goals
- 6:30Setting up the project
- 7:32Main function and architecture
- 9:18Voice assistant privacy concerns
- 10:39Wake word detection with Porcupine
- 11:20Google Cloud speech services
- 12:22Command handling and intents
- 14:50Background goroutines and loop
- 16:59Wake word engine in detail
- 18:02Text-to-speech conversion
- 19:07Command matching logic
- 20:11Demo and live testing
- 21:16Demo results and limitations
- 22:02Extending automation possibilities
- 23:06Key libraries used
- 24:12Summary and resources
- 25:55Q&A
