music: Add soundboard
This commit is contained in:
parent
97a4e95ca8
commit
2e47c6744f
7 changed files with 141 additions and 0 deletions
21
roles/music/templates/soundboard.yaml
Normal file
21
roles/music/templates/soundboard.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
loglevel: INFO
|
||||
|
||||
mqtt:
|
||||
host: mqtt.bitlair.nl
|
||||
|
||||
sounds:
|
||||
directory: /opt/sounds
|
||||
play_cmd: "mplayer -volume 10 -ao jack:name=MPlayer %s"
|
||||
topic: bitlair/soundboard
|
||||
|
||||
aliases:
|
||||
- sound: space_open
|
||||
topic: bitlair/state
|
||||
value: open
|
||||
- sound: space_close
|
||||
topic: bitlair/state
|
||||
value: close
|
||||
- sound: doorbell
|
||||
topic: bitlair/doorduino/doorbell
|
||||
- sound: nomunnie
|
||||
topic: bitlair/bank/shame
|
Loading…
Add table
Add a link
Reference in a new issue