events playing MP3's on RasPi

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
pascalspits
Posts: 88
Joined: Tuesday 24 February 2015 16:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Belgium
Contact:

events playing MP3's on RasPi

Post by pascalspits »

I would like to replace my doorbell chimes (in the central hallway of our house) with a powered speaker, connected to the audio output of my RasPi running Domoticz.

This way I could have different sounds for different things :
- somebody presses the doorbell button
- the garage is open
- there is movement detected at night in the house (alarm)
- ...

so I would need to create a "device" that actually plays a certain MP3 ...

I could then program events to make domoticz play different sounds in different situations ...

... makes sense ?

How can I do this ?
RasPi2 - Aeotec Z-Stick S2 - Fibaro multisensors - Fibaro RGBW dimmers - ETH08 relais boards
pascalspits
Posts: 88
Joined: Tuesday 24 February 2015 16:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Belgium
Contact:

Re: events playing MP3's on RasPi

Post by pascalspits »

update

im configuring domoticz to run on a linux server, so this will make playing audio easyer than on the RasPI ?

can I create a switch that just plays an mp3 in domoticz ?
RasPi2 - Aeotec Z-Stick S2 - Fibaro multisensors - Fibaro RGBW dimmers - ETH08 relais boards
nigels0
Posts: 221
Joined: Thursday 23 January 2014 12:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Contact:

Re: events playing MP3's on RasPi

Post by nigels0 »

Sure, just create the switch and use a script to run a shell script on the device.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest