File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
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/).
You can’t perform that action at this time.
0 commit comments