Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for more tones/chimes #16

Open
aniceberg opened this issue Nov 2, 2017 · 2 comments
Open

Request for more tones/chimes #16

aniceberg opened this issue Nov 2, 2017 · 2 comments

Comments

@aniceberg
Copy link

aniceberg commented Nov 2, 2017

Is there a method to add custom sounds to aside from the "Bell 1","Bell 2","Dogs Barking","Fire Alarm","Piano", & "Lightsaber" currently available?

@aniceberg aniceberg changed the title Request for more tones/chimes? Request for more tones/chimes Nov 2, 2017
@SmartThingsUle
Copy link
Owner

No, but you can add more sound editing the line 64
input "sound", "enum", title: "Play this Sound?", required: actionType == "Sound"? true:flase, defaultValue: "Bell 1", options: ["Bell 1","Bell 2","Dogs Barking","Fire Alarm","Piano","Lightsaber","MySound"]

and line 577

case "MySound":
state.sound = [uri: "http://mysite.com/audio.mp3", duration: "10"]
break;

@aniceberg
Copy link
Author

Thanks! Do you know if URI will accept smb:// input?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants