Can door sensor trigger audio on Raspberry Pi

Discussions about RaZberry - Z-Wave board for Raspberry computer
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Can door sensor trigger audio on Raspberry Pi

Post by PoltoS »

The simplest is to master it from the terminal (bash), make a bash script that will produce the desired sound and then run it from CodeDevice using system("/your/command") (don' forget to add it in the .syscommands file).
Post Reply