Home Assistant 2024.6: Customized AI voice assistant, customized visibility of Dashboard, grouped view of data tables

The official title is "Dipping our toes in the world of AI using LLMs" which means "Dipping our toes in the world of AI using LLMs", which is completely in line with current current affairs issues! But this is nothing new. Home Assistant has been gradually developing in AI and voice assistants in the past year. From the beginning, it could connect to Siri and Google, and then it launched its own Assist in 2023.5 a year ago, and in 2024.4 supports local LLMs. It seems that 2024.6 has strengthened the integration of more LLM (Large Language Model, large language model). Let us take a look!


Customized AI voice assistant (ChatGPT, Google Gemini)

In past versions of Home Assistant, you can replace the built-in voice assistant with other LLMs. I have also tested changing to ChatGPT and Google Gemini. The effect is quite good. It is much smarter than the original built-in voice assistant. The original Voice assistants are almost on the same level as the original Google Assistant and Siri. If they are not given correct names and precise instructions, they are basically useless and very stupid🤣. But after changing to ChatGPT and Google Gemini, I completely changed my head. Let me show you the difference directly:

HA built-in voice assistant

HA 內建語音助理

Google Gemini

Google Gemini

ChatGPT (gpt-4o)

ChatGPT (gpt-4o)

It can be clearly seen that ChatGPT (gpt-4o) has the most complete and organized answer, but ChatGPT is quite expensive, so I currently use Google Gemini.


AI voice assistant controls smart home devices

The most significant update in 2024.6 is that the AI voice assistant settings have added the function of “controlling Home Assistant”, which means that the AI voice assistant can control smart home devices at home!

AI 語音助理控制 Home Assistant 設定

You can also decide which devices should be open to voice assistant control through the settings of the associated entity.

AI 語音助理控制 Home Assistant 設定

Customized AI assistant (custom intent)

Sometimes you may encounter AI judgment and execution results that are different from what you imagined. In this case, you can use the "Custom Intent" function to customize the AI to better suit your family living habits.

The following sample YAML shows that if the AI finds that your intention is "Leave home" during the conversation, it will execute the "leave_home" script. Just follow the same example and add the YAML to "configuration.yaml".

YAML
conversation:
  intents:
    LeaveHome:
      - "Leave home"

intent_script:
  LeaveHome:
    description: "Launch the leave home script. To be used when I am about to leave my home."
    action:
      - service: script.leave_home
        data: {}
    speech:
      text: "Done"

Voice control smart speakers are even simpler!

In the past version, to control the smart speaker that is playing, you would need to give a complete "device + action" command, for example: "The next song on the living room speaker". Even if you are clearly in the living room, you still need to give such a complete command. instruction.

In the new version, as long as the voice assistant and the smart speaker (or other smart player) are in the same area (room), you can just say "next song" and Home Assistant will automatically help you find the most suitable smart speaker to perform it. "Next song" action.


Dashboard changes

visibility settings

Now you can set various conditions to dynamically change whether Dashboard content is displayed or not. Like the example below, you can specify it to be displayed to specific users, or based on changes in the status of the device (entity), or even based on different screen sizes. Whether to display it or not, this makes the layout of the Dashboard more flexible!

Dashboard 可視度設定

Set image as background

You can set your favorite picture as the background to make your Dashboard more personalized! Dashboard will no longer be so cold!

Dashboard 圖片背景設定
Dashboard 圖片背景設定

Data table group display function

This is very helpful for searching for information. I have 76 devices and 443 entities in Home Assistant. In the past, when I wanted to find a device or entity, I basically used name search, because by this order of magnitude, it has already It is no longer possible to search line by line. The "Group" function has been added in the 2024.6 version, which allows you to group and display in different dimensions. For example, by displaying according to "Partition", you can quickly see the devices in different rooms or entity.

Home Assistant 表格分組顯示功能

The above are the highlights of Home Assistant 2024.6 updates!

For complete update content, please refer to the official release note: https://www.home-assistant.io/blog/2024/06/05/release-20246/

3 COMMENTS

  1. Could you please provide detailed instructions on how to use customized AI voice assistants (ChatGPT, Google Gemini) to control HA's smart home devices?
    grateful

LEAVE A REPLY

Please enter your comment!
Please enter your name here

you might like

recent discussions

you might like