ElektraInitiative / opensesame

3 stars 5 forks source link

audio file not playing #111

Closed markus2330 closed 1 year ago

markus2330 commented 1 year ago

is there some debug mechanism which tells you what was executed? Did the config change? The spec looks the same?

fel115 commented 1 year ago

You only need to set the path to the file of the Bell or the Alarm. For example:

nextcloud.chat = "<chat-default>"
nextcloud.chat.licht = "<chat-licht>"
nextcloud.chat.ping = "<chat-ping>"
nextcloud.chat.commands = "<chat-commands>"
nextcloud.user = "<user>"
nextcloud.pass = "<password>"
nextcloud.url = "https://nextcloud.markus-raab.org/nextcloud"
nextcloud.format.datetime = "%d.%m.%Y %H:%M:%S"
nextcloud.format.time = "%H:%M:%S"
validator.felix = "14, 15 ,13 ,15, 11, 15, 7, 15"
validator.sophie = "14, 12, 14, 15, 11, 15"
buttons.enable = 1
audio.bell = "/home/olimex/bell_sound.ogg"
garage.enable = 1
bat.enable = 1 
watchdog.enable = 1
watchdog.path = "/dev/watchdog" 
watchdog.interval = 10

This worked for me.

markus2330 commented 1 year ago

bell&alarm works perfectly. Problem was that file was not present :hand_over_mouth: