Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: insteon triggers Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
JeepCreep
Newbie
Newbie
Avatar

Joined: March 25 2006
Location: United States
Online Status: Offline
Posts: 5
Posted: March 25 2006 at 18:37 | IP Logged Quote JeepCreep

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 View JeepCreep's Profile Search for other posts by JeepCreep
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: March 25 2006 at 20:57 | IP Logged Quote dhoward

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 View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
JeepCreep
Newbie
Newbie
Avatar

Joined: March 25 2006
Location: United States
Online Status: Offline
Posts: 5
Posted: March 26 2006 at 00:21 | IP Logged Quote JeepCreep

Thanks a bunch, that did the trick.
I'll get there one day.
Thanks again Dave,
Eric
Back to Top View JeepCreep's Profile Search for other posts by JeepCreep
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum