Mastodon


The mastodon platform uses MAstodon to delivery notifications from Home Assistant.

Go to Preferences in the Mastodon web interface, then to Development and create a new application.

To add Mastodon to your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
notify:
  - name: NOTIFIER_NAME
    platform: mastodon
    access_token: !secret mastodon_access_token
    client_id: !secret mastodon_client_id
    client_secret: !secret mastodon_client_secret

Configuration Variables

access_token

(string)(Required)Your Mastodon access token.

client_id

(string)(Required)Your Mastodon client ID

client_secret

(string)(Required)Your Mastodon client secret.

base_url

(string)(Optional)URL of the Mastodon instance to use.

Default value: https://mastodon.social

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