Author |
|
JeepCreep Newbie
Joined: March 25 2006 Location: United States
Online Status: Offline Posts: 5
|
Posted: March 25 2006 at 18:37 | IP Logged
|
|
|
Hello all,
I just registered powerhome after my trial period was up, so i'm still very green. I want to play a WAV file when button 5 on my keypad is turned on. Right now my trigger is:
ID - TEST Description - MESSAGE Action Type - Formula
Action - ph_playsound(attention.wav,0) Action Style - Queued Status - Active Trigger Type - Insteon Group In Trigger ID - Bedroom Keypad Trigger ID # - 5 Trigger Value - On Boolean - 1
I've created the group with the keypad as the controller and the PLC as the responder and under controller group number 5. I have a couple TTS triggers working fine, its just baby steps at this point.
Thanks
Eric
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: March 25 2006 at 20:57 | IP Logged
|
|
|
Eric,
Welcome to PowerHome!
Taking a quick look at what you've posted, you need to put single or double quotes around the attention.wav filename. It would probably be a good idea to include the path as well.
Your formula would look like:
ph_playsound("c:\yourfilepath\attention.wav",0)
Let me know if that works for you.
Dave.
|
Back to Top |
|
|
JeepCreep Newbie
Joined: March 25 2006 Location: United States
Online Status: Offline Posts: 5
|
Posted: March 26 2006 at 00:21 | IP Logged
|
|
|
Thanks a bunch, that did the trick.
I'll get there one day.
Thanks again Dave,
Eric
|
Back to Top |
|
|