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.
Members Content
PromptTemplate
Member Banner

Join our community to unlock exclusive
content!

  • As a Tinkerer 🤖, you’ll gain:
    • Member Content Access: You’ll have the hability to access Scripts, Automations, Templates and more directly from our website.
    • Unlock Latest Shop Content for FREE: Look for the MemberFree badge on the title.
      Once unlocked, it will remain free for you to access on our website (including future UPDATES!)
    • Ko-fi Shop Discount: Enjoy a 25% discount on any item in our Ko-fi shop.
    • Early Tutorial Access: Get early access to our content on our website.
    • Member Shoutout: Stick around until the end for a shoutout to our dedicated members
  • Your support is invaluable in allowing us to continue creating the tutorials you like 😁🏠🎉
  • Click on any of the buttons below to become a member, and then log in with the same email address.

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

I would love to hear your comments, or suggestions on this post.


Avatar of Fixt

Fixt is a Software Engineer passionate about making the world a better place through technology and automation.