Flock

The flock integration uses Flock.com to deliver notifications from Home Assistant.

Setup

Go to the Flock.com Admin website and create a new “Incoming Webhooks”. Choose a channel to send the notifications from Home Assistant to, specify a name and press Save and Generate URL.

You will need the last part of the URL which is the access_token for your room.

Configuration

To add Flock notifications to 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
notify:
  - name: NOTIFIER_NAME
    platform: flock
    access_token: YOUR_ROOM_TOKEN

Configuration Variables

name string (Optional, default: notify)

The optional parameter name allows multiple notifiers to be created. The notifier will bind to the notify.NOTIFIER_NAME action.

access_token string Required

The last part of the webhook URL.

To use notifications, please see the getting started with automation page.