Mycroft

Mycroft is an open source voice assistant that allows you to send notifications and more to Mycroft from Home Assistant.

There is currently support for the following device types within Home Assistant:

  • Notifications - Allows to deliver notifications from Home Assistant to Mycroft AI.

Configuration

To use Mycroft in your installation, add the following to your configuration.yamlconfiguration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] file. 在更改了configuration.yamlconfiguration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] 文件后,重启 Home Assistant 以应用更改。 该集成现在显示在集成页面的 设置 > 设备与服务 下。其实体在集成卡片上以及实体标签上列出。

# Example configuration.yaml entry
mycroft:
  host: 0.0.0.0

Configuration Variables

host string Required

The IP address of your Mycroft instance.

Using notifications

To use Mycroft for sending notifications, add the following to your configuration.yamlconfiguration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] file:

# Example configuration.yaml entry
notify:
  - platform: mycroft
    name: mycroft

Configuration Variables

name string Required

Frendly name of your Mycroft instance.

Examples

Send a message to Mycroft by calling notify.mycroft action:

message: "Hey Mycroft. Turn on the office light. "