My aim is to make a door bell, I have looked though the forum and have a plan on how to achieve it and my first plan was to make sure I could play the doorbell file…
Using the MultiMedia Guide I thought it should be easy.
Set Audio Source using paperUI
OK so I did this and set Default Sink to my device.
I then checked the configfile and under audio:
AUDIO #######################
This parameter defines the default audio source to use (if not set, the first available one will be used.
#org.eclipse.smarthome.audio:defaultSource=
This parameter defines the default audio sink to use (if not set, the first available one will be used.
#org.eclipse.smarthome.audio:defaultSink=
#####################
Which leads me to think it’s not saving. (Dir of file I checked; \OPENHABIANPI\openHAB-conf\services\runtime.cfg)?
I could edit the file but I’m unsure on the format to enter into the config file…
So I moved on and wanted to check:
Using the console I then tried the command:
smarthome:audio play doorbell.mp3 :
[19:41:27] openhabian@openHABianPi:~$ smarthome:audio play doorbell.mp3
-bash: smarthome:audio: command not found
So from this I figured that I am missing some configurations. If anyone have a guide or a few pointers I’d like to knew what I’m missing.
I know you got it working but while trying I was wondering how to add my own sounds or where to location for the files is actually.
I may state the obvious (it is not mentioned on the multimedia guide or I have overlooked it) and I could have easily spotted it but … I didn’t find itat first : So for those who are as blind as I am…