Updated: Jun 21, 20243 min read

Using Llama 3 to Control Home Assistant

Written by: Fixt
Cool Llama Controlling Smart Home

Hardware Requirements

TypeGPU RAMCPU RAM
GPU only8 GB8 GB
CPU only-16 GB

Install Llama 3 in Ollama

ollama run llama3

Llama Conversation Integration

By acon96

Install Integration

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Configuration

Open your Home Assistant and show de integration menu

My Prompt Template

Open your Home Assistant instance and show an integration.
Tinkerers Content
PromptTemplate
Member Banner

Join at Tinkerer or Automation Hero tier to unlock Exclusive Content!

BENEFITS BY TIER
  • Starters 🌟:
    • Ad-Free: You'll get a completly Add-free experience on our website.
    • Early Tutorial Access: Get early access to our content on our website.
    • Smart Tutorial Video Player: Easily find the exact code, link, or button you need for each part of the tutorial.
    • Discord Access: Connect with other members and receive real-time updates.
    • Member Shoutout: Stick around until the end for a shoutout to our members.
  • Tinkerers 🤖:
    • All rewards included in previous tier
    • Free Access to Selected Blueprints and Projects in Our Website Library.
    • Tinkerers Content: You’ll have the ability to access Scripts, Automations, Templates and more, directly from our website.
    • Unlock Latest Shop Content for FREE: Look for the TinkererFree badge on the title
      Once unlocked, it will remain free for you to access on our website library (including future UPDATES!)
    • Behind-the-scenes videos of the projects, I'm working on, that not always end up on a tutorial.
  • Automation Heroes 🦸‍♂️:
    • All rewards included in previous tier
    • Participate in Monthly Live Q&As where I will be able to answer your questions and even help you with some specific problem on your Home Assistant Setup
    • Suggest Tutorials for Our Patreon Members to Vote On, to Be Produced Within the Next 2 Months
  • Your support is invaluable in allowing us to continue creating the tutorials you like 😁🏠🎉
  • Click on the Patreon button below to become a member, and then log in with your Patreon Account on our website.

Configure Assistant

Open your Home Assistant instance and show your voice assistants.

Use it with OpenRouter

The change has been added to the Integration's last version, so you can now use it with OpenRouter, just leave the port field empty.

Open Router API Base URL

openrouter.ai/api

Llama 3 8B (free)

meta-llama/llama-3-8b-instruct:free

You cand find my Open Router Tutorial here

Don’t forget to review the Privacy Settings of your OpenRouter account. You can find them here