| ECS-L Home Automation and Security Archives |
| Subject: From: Date: | RE: [ECS] TTS question A.J. Griglak Fri, 17 Mar 2000 09:41:18 -0500 |
Interesting... I just use a winamp:power item which is of type on/off, which I use in a similar fashion. Does your event recognize if you go to winamp and click on the stop button? Also, I've tracked down the 'Please respond in 15 seconds'. Because of something Michael said, I realized it was part of the Keypad-3 Session event that is part of example.cfg... I didn't even know it was there ;-) I also just switched all my news, weather, and winamp stuff to housecode C - that's the reason it started piping up about the 15 seconds. I thought it was an internal thing with the TTS - had no idea that it was part of an event [sheepish grin] -=A.J. -----Original Message----- From: Scott Reston [mailto:scott@therestons.com] Sent: Thursday, March 16, 2000 11:05 AM To: ecs-list@netbloc.com Subject: RE: [ECS] TTS question another tip - i've found it handy to create a custom item type called "winamp" with states such as play, pause, next, previous... then i've got one event that says... if winamp is now play then winampPlay set execute if winamp is now pause then winampPause set execute i've also got a state of 'idle' and finish the event with do winamp set idle so that i don't have to worry about getting out of sync if i control winamp through something other than ECS. (for example, if i had set winamp to play, then stopped it externally, setting winamp to play again wouldn't trigger "winamp is now play" since it already WAS set to play....) scott reston scott@theRestons.com http://theRestons.com/scott/ --Original Message Text--- From: David Kindred Date: Thu, 16 Mar 2000 07:50:17 -0500 A.J., If that's the case, take a look at the EXECUTE command. You'd need to set up text items for each of the WACTRL commands you'd want to use (i.e. One would be "WACTRL PLAY", another would be "WACTRL SHUFFLE", etc.) To make WACTRL do what you'd want it to, you'd just set the text item to EXECUTE.
-----Original Message-----another tip - i've found it handy to create a custom item type called "winamp" with states such as play, pause, next, previous...
From: Scott Reston [mailto:scott@therestons.com]
Sent: Thursday, March 16, 2000 11:05 AM
To: ecs-list@netbloc.com
Subject: RE: [ECS] TTS question
then i've got one event that says...
if winamp is now play
then winampPlay set execute
if winamp is now pause
then winampPause set execute
i've also got a state of 'idle' and finish the event with
do winamp set idle
so that i don't have to worry about getting out of sync if i control winamp through something other than ECS. (for example, if i had set winamp to play, then stopped it externally, setting winamp to play again wouldn't trigger "winamp is now play" since it already WAS set to play....)
scott reston
scott@theRestons.com
http://theRestons.com/scott/
--Original Message Text---
From: David Kindred
Date: Thu, 16 Mar 2000 07:50:17 -0500
A.J.,
If that's the case, take a look at the EXECUTE command. You'd need to set up text items for each of the WACTRL commands you'd want to use (i.e. One would be "WACTRL PLAY", another would be "WACTRL SHUFFLE", etc.) To make WACTRL do what you'd want it to, you'd just set the text item to EXECUTE.