mirror of
https://codeberg.org/NextPush/nextpush-android.git
synced 2024-12-27 10:12:29 +01:00
Update docs/notification_channel_examples.md
This commit is contained in:
parent
a9cb900b77
commit
52839b0a43
@ -1,10 +1,10 @@
|
||||
# Notification Channel Examples
|
||||
Here are some examples on how to set up Notification channels for some services. .\
|
||||
Here are some examples on how to set up Notification channels for some services. \
|
||||
These are only examples so feel free to edit them and play with them to your hearts content.
|
||||
|
||||
## Testing
|
||||
|
||||
If you'd like to test your Notification channel, simply open a terminal and run this command. .\
|
||||
If you'd like to test your Notification channel, simply open a terminal and run this command. \
|
||||
Remember to replace the placeholders with the Notification channel endpoint you get by longpressing.
|
||||
|
||||
`curl {Replace_with_Notification_channel_endpoint} -d "Hello world! This is a test."`
|
||||
@ -15,7 +15,7 @@ How it should look:
|
||||
|
||||
## SSH & Local Logins
|
||||
|
||||
With your favorite text editor, open `/etc/profile` as root and add the following text to the very bottom of the file. .\
|
||||
With your favorite text editor, open `/etc/profile` as root and add the following text to the very bottom of the file. \
|
||||
Remember to replace the placeholders with the Notification channel endpoint you get by longpressing.
|
||||
|
||||
```
|
||||
@ -32,7 +32,7 @@ How it should look:
|
||||
|
||||
## DIUN
|
||||
|
||||
To get notified with DIUN, you will need to create a file and mount that file to your diun docker container. .\
|
||||
To get notified with DIUN, you will need to create a file and mount that file to your diun docker container. \
|
||||
This example creates a file named `cmd.sh`, and mounts it at `/etc/diun/etc.sh`
|
||||
|
||||
With your favorite text editor, create and open `cmd.sh`, then paste this text.
|
||||
@ -69,8 +69,7 @@ Now when DIUN runs you should get a notification that looks like this:
|
||||
|
||||
## Home Assistant
|
||||
|
||||
To get Notifications from Home Assistant, we will be using the RESTful Notifications service built into Home Assistant.
|
||||
|
||||
To get Notifications from Home Assistant, we will be using the RESTful Notifications service built into Home Assistant.\
|
||||
With your favorite text editor, open your HA `configuration.yaml` and add the following text to the bottom of the file
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user