audio na activeren lamp

Moderator: leecollings

Post Reply
jvos56
Posts: 3
Joined: Saturday 07 November 2015 13:05
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

audio na activeren lamp

Post by jvos56 »

Hallo,

ik ben op zoek naar een script waarmee ik een geluidsfragment kan afspelen na het aan en/of uitschakelen van een lamp middels domoticz
ik heb al wat gevonden aan raspberry scripts maar krijg de melding 32256 error executing script bij het script:

#!/bin/bash
aplay ~/Luftalarm.wav

kan iemand me helpen?

Alvast bedankt


Jan
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: audio na activeren lamp

Post by EdwinK »

This is an international forum, so please use English.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
jvos56
Posts: 3
Joined: Saturday 07 November 2015 13:05
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: audio na activeren lamp

Post by jvos56 »

Hello,
now in English :-)


I'm looking for a script which plays an audiofragment when turning on or off my lights with domoticz
I've allready found some raspberry scripts, but when I try to run them I get a 32256 error.

My script:
#! / bin / bash
aplay ~ / Luftalarm.wav

Can somebody help me?

Jan
SweetPants

Re: audio na activeren lamp

Post by SweetPants »

Does the script run from the commandline? I see a lot of space characters between command's
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: audio na activeren lamp

Post by HansieNL »

Have you checked if permissions are set right?
Blah blah blah
Post Reply

Who is online

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