

Home automation with Go
Sep 10, 2024
Mike Riley and Ricardo Gerardi, co-authors of "Automate Your Home Using Go," delve into the exciting realm of home automation with Go. They share their journey transitioning from Python, practical advice for Raspberry Pi projects, and how tools like Prometheus can enhance automation. The duo highlights real-world applications, from a weather-responsive lighting system to a wildlife photography bird feeder. Their hands-on experiences emphasize the balance between using existing solutions and customizing systems, igniting curiosity in coders at all levels.
AI Snips
Chapters
Books
Transcript
Episode notes
Getting Started with Go and Raspberry Pi
- Buy a Raspberry Pi, preferably a Pi 4 with 8GB of RAM.
- Install the Go SDK and a Go extension library to access GPIO pins.
Freezer Monitoring with TinyGo
- Mike used TinyGo on a Pi Zero W to monitor his freezer's temperature.
- This setup, integrated with Prometheus and Grafana, alerted him to a heater failure while he was away.
Deploying Go Programs on Raspberry Pi
- Deploy Go programs onto a Raspberry Pi by cross-compiling and transferring executables, or using containers.
- Configure the Pi to run the program on boot using systemd or container management tools.