Skip to content

Commit

Permalink
Update api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Blueforcer authored Jun 1, 2024
1 parent 2105c01 commit f162899
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ AWTRIX will only wakeup after time or if you press the middle button once. There

## Sound Playback

Play a RTTTL sound from the MELODIES folder:

Play a RTTTL sound from the MELODIES folder.
If youre using a DFplayer, use the /sound API and enter the 4 digit number of your MP3.

| MQTT Topic | HTTP URL | Payload/Body | HTTP Method |
| ----------------- | ---------------------------- | ------------------- | ----------- |
| `[PREFIX]/sound` | `http://[IP]/api/sound` | `{"sound":"alarm"}` | POST |
Expand Down

0 comments on commit f162899

Please sign in to comment.