|
| 1 | +--- |
| 2 | +title: Build a Privacy-First LLM Smart Home on Raspberry Pi 5 |
| 3 | + |
| 4 | +minutes_to_complete: 45 |
| 5 | + |
| 6 | +who_is_this_for: Anyone who wants a private, cloud-free smart home powered by GenAI on Arm |
| 7 | + |
| 8 | +learning_objectives: |
| 9 | + - "Deploy a local Large Language Model (LLM) for smart home control" |
| 10 | + - "Integrate natural language processing with GPIO control" |
| 11 | + - "Build and run everything on Arm-based single-board computers (no cloud required)" |
| 12 | + - "Optimize for speed, privacy, and offline operation" |
| 13 | + - "Create an interactive web dashboard for smart home control" |
| 14 | +prerequisites: |
| 15 | + - "Basic Python knowledge" |
| 16 | + - "A text editor (e.g., VS Code, Sublime, Notepad++)" |
| 17 | + - "An Arm-based single board computer (e.g., Raspberry Pi 5 with at least 8GB RAM)" |
| 18 | + - "Basic electronic components such as LEDs, sensors, and relays" |
| 19 | + - "Basic understanding of GPIO pins and electronics" |
| 20 | + |
| 21 | +author: "Fidel Makatia Omusilibwa" |
| 22 | + |
| 23 | +### Tags |
| 24 | +skilllevels: "Introductory" |
| 25 | +subjects: "ML" |
| 26 | +armips: |
| 27 | + - "Arm Cortex A" |
| 28 | +tools_software_languages: |
| 29 | + - "Python" |
| 30 | + - "Ollama" |
| 31 | + - "gpiozero" |
| 32 | + - "lgpio" |
| 33 | + - "FastAPI" |
| 34 | + - "VS Code or your preferred code editor" |
| 35 | + - "Raspberry Pi OS (64-bit)" |
| 36 | +operatingsystems: |
| 37 | + - "Windows , Linux, MacOS" |
| 38 | + |
| 39 | +further_reading: |
| 40 | + - resource: |
| 41 | + title: "Raspberry Pi 5 Smart Home Assistant with EdgeAI" |
| 42 | + link: "https://github.com/fidel-makatia/EdgeAI_Raspi5" |
| 43 | + type: "source" |
| 44 | + - resource: |
| 45 | + title: "Ollama Python/JavaScript Libraries" |
| 46 | + link: "https://ollama.com/blog/python-javascript-libraries" |
| 47 | + type: "documentation" |
| 48 | + - resource: |
| 49 | + title: "gpiozero Documentation for Raspberry Pi" |
| 50 | + link: "https://gpiozero.readthedocs.io/en/stable/" |
| 51 | + type: "documentation" |
| 52 | + - resource: |
| 53 | + title: "lgpio Library for Raspberry Pi 5" |
| 54 | + link: "https://abyz.me.uk/lg/lgpio.html" |
| 55 | + type: "documentation" |
| 56 | + - resource: |
| 57 | + title: "Raspberry Pi 5 Official Documentation" |
| 58 | + link: "https://www.raspberrypi.org/documentation/computers/raspberry-pi.html" |
| 59 | + type: "documentation" |
| 60 | + - resource: |
| 61 | + title: "Ollama Model Library" |
| 62 | + link: "https://ollama.com/library" |
| 63 | + type: "documentation" |
| 64 | + |
| 65 | +### FIXED, DO NOT MODIFY |
| 66 | +# ================================================================================ |
| 67 | +weight: 1 # _index.md always has weight of 1 to order correctly |
| 68 | +layout: "learningpathall" # All files under learning paths have this same wrapper |
| 69 | +learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of learning path content. |
| 70 | +--- |
0 commit comments