Skip to content

Commit 9caa6eb

Browse files
authored
Add mastodon docs (home-assistant#5010)
1 parent ce94c3b commit 9caa6eb

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
layout: page
3+
title: "Mastodon"
4+
description: "Instructions on how to add Instapush notifications to Home Assistant."
5+
date: 2018-03-25 18:00
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
logo: mastodon.png
11+
ha_category: Notifications
12+
ha_release: 0.67
13+
---
14+
15+
16+
The `mastodon` platform uses [MAstodon](https://joinmastodon.org/) to delivery notifications from Home Assistant.
17+
18+
Go to **Preferences** in the Mastodon web interface, then to **Development** and create a new application.
19+
20+
To add Mastodon to your installation, add the following to your `configuration.yaml` file:
21+
22+
```yaml
23+
# Example configuration.yaml entry
24+
notify:
25+
- name: NOTIFIER_NAME
26+
platform: mastodon
27+
access_token: !secret mastodon_access_token
28+
client_id: !secret mastodon_client_id
29+
client_secret: !secret mastodon_client_secret
30+
```
31+
32+
{% configuration %}
33+
access_token:
34+
description: Your Mastodon access token.
35+
required: true
36+
type: string
37+
client_id:
38+
description: Your Mastodon client ID
39+
required: true
40+
type: string
41+
client_secret:
42+
description: Your Mastodon client secret.
43+
required: true
44+
type: string
45+
base_url:
46+
description: URL of the Mastodon instance to use.
47+
required: false
48+
type: string
49+
default: https://mastodon.social
50+
{% endconfiguration %}
51+
52+
To use notifications, please see the [getting started with automation page](/getting-started/automation/).
7.32 KB
Loading

0 commit comments

Comments
 (0)