

Home automation with Go (Go Time #330)
Sep 10, 2024
Ricardo Gerardi and Mike Riley, two passionate tinkerers delving into home automation with Go, share their journeys in transforming their homes into smart spaces. They discuss the switch from Python to Go, emphasizing the benefits of using Raspberry Pi. Listeners learn about fun projects, like smart bird feeders and weather-responsive lighting, showcasing how simple coding can enhance daily life. The duo also shares insights on navigating challenges and cultivating skills in microcontroller technology, making home automation accessible and exciting.
AI Snips
Chapters
Transcript
Episode notes
Compile Once, Deploy Anywhere
- Use Go to build single-file executables you can move between Raspberry Pis without reinstalling dependencies.
- Compile once and deploy the same binary to different Pi models to avoid interpreter and dependency issues.
Borrow Enterprise Observability For Home
- Using established tools like Prometheus and Grafana for home automation gives you scalable observability and extensibility.
- Those tools are written in Go and their open source nature lets you build custom exporters and integrations.
Prefer Pi 4 And Use Containers
- Start with a Raspberry Pi 4 (8GB) for most home automation projects because it has enough RAM and CPU to run multiple containers.
- Use container images for deployment so you can cross-compile locally and run reliably on the Pi with restart policies.