Build a Privacy-First LLM Smart Home on Raspberry Pi 5
Introduction
Run LLMs locally on Raspberry Pi 5 for Edge AI
Set up software dependencies on Raspberry Pi 5 for Ollama and LLMs
Test Raspberry Pi 5 GPIO pins for smart home devices
Build and Run a Smart Home Assistant on Raspberry Pi 5 with LLMs
Next Steps
Build a Privacy-First LLM Smart Home on Raspberry Pi 5
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
The LED connected to GPIO 17 should turn on and off as coded without GPIO-related errors. If nothing changes, check the wiring and pin selection in the script.
Use GPIO 17 (physical pin 11) with a 220Ω series resistor. Connect the LED anode (long leg) to GPIO 17 through the resistor and the cathode (short leg) to a GND pin.
The script starts a local web server and prints the address and port in the terminal. Open a browser to your Raspberry Pi’s IP at that port. A responsive page indicates the server is running.
Change into the cloned project directory before launching
smart_home_assistant.py. On start, it initializes the configured GPIO devices and brings up the local web server.Verify the wiring to GPIO 17 and GND, and ensure the script’s pin assignments match your setup. Confirm Ollama is installed and available so the assistant can process model replies, and review the console for JSON parsing or connection errors.