Jump to content

Amazon echo run program to turn something off


someguy

Recommended Posts

Posted

I have a program that I've tagged "audio Video" in my ISY and when it runs, it turns off my TV and audio receiver.  to get this program to run, I have to say 

 

"Alexa, turn audio video ON" and it turns them off by running the program.

 

Is there any way to get the Echo to run the "else" part of a program by saying "Off" or some other way of doing so?

 

It just bugs me that I'm saying "ON" to get it to run the program to get it to turn things off.

Posted

I control my sound system using an IRLinc transmitter. Each time I request ON, the power toggles (from On to Off or Off to On). So I wrote a program that has the same statement in both Then and Else. Problem solved.

Posted (edited)

I have a program that I've tagged "audio Video" in my ISY and when it runs, it turns off my TV and audio receiver.  to get this program to run, I have to say 

 

"Alexa, turn audio video ON" and it turns them off by running the program.

 

Is there any way to get the Echo to run the "else" part of a program by saying "Off" or some other way of doing so?

 

It just bugs me that I'm saying "ON" to get it to run the program to get it to turn things off.

I just put the lines of code in the else section.

 

"Alexa. Turn Off All Lights"

 

 

Remember to click the Start button to shut Windows down. :)

Edited by larryllix
Posted

when I say "Alexa turn audio video off" it doesnt work.  Alexa says that it doesn't understand / can't do it.

 

Is there a way to say "off" for a program to run with Alexa?    It seems that "off" for a program does NOT run the "else" commands of a program with Alexa.

Posted

All my programs run the Else statements when I ask Alexa to turn the program spoken off. For example:

 

LR Audio On/Off
If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        Set Scene 'LR / Scenes / LR Audio Power' On  <--toggles audio power
 
Else
        Set Scene 'LR / Scenes / LR Audio Power' On  <--toggles audio power
 
 

Post your program here.

Posted

I still don't understand why we continue to "turn" lights on and off. I taught my kids to "set" the lights and switches.

 

Short and to the point.

Best regards,

Gary Funk

Posted

when I say "Alexa turn audio video off" it doesnt work.  Alexa says that it doesn't understand / can't do it.

 

Is there a way to say "off" for a program to run with Alexa?    It seems that "off" for a program does NOT run the "else" commands of a program with Alexa.

After creating you program inside the Else section you have to setup the vocals at

 

www.my.isy.io ISY portal and assign a vocal name for the program call.

 

Now you have to ask Alexa to run Discovery to link it in.

Posted

I still don't understand why we continue to "turn" lights on and off. I taught my kids to "set" the lights and switches.

 

Short and to the point.

Best regards,

Gary Funk

 

Sometimes I open or close the lights. But, I turn my audio system on and off, even turn it up and, on occasion, turn it down B)

Posted

So, you're not cooking with gas.

I was referring to electric items. I do cook with a gas cooktop but the oven is electric. And of course a lot of water is turned on and off while some is controlled by push and pull.

 

Short and to the point.

Best regards,

Gary Funk

Posted

Here's some of the push-pull amplifier details (McIntosh MC2200);

 

The output stage consists of 6 rugged complimentary
power transistors connected in single ended push-pull
parallel. This stage is connected as a balanced emitter follower
which allows great stability and low distortion. Due
to a unique arrangement of the output bias network, the
output transistors are operated class B free of crossover
distortion. Heat is not produced by these transistors when
there is no output. The bias network for the output stage
is temperature compensated assuring class B operation
at any temperature or power level.

 

The speakers are two pairs of Acoustic Research AS-58s with each pair wired in series and connected to the 4 Ω output terminals on the MC2200. When I turn the volume up (using a push button) I can push the volume to the level of pain with no discernible distortion B)

Posted

Okay, I figured out the problem.

 

My problem was somehow that Alexa just doesn't like the combination of "Audio Video" and "off", I guess.  It will take "Alexa, turn on audio video" but will not accept "Alexa, turn off audio video".  

 

I moved the same commands to "TV" and it works to say "Alex, turn on the TV" and it also works to say "Alexa, turn off the TV".    and the OFF runs the ELSE set of commands.  

 

I think the lesson learned is that Alexa is kind of particular about the choice of words in the commands.  

Posted (edited)

Okay, I figured out the problem.

 

My problem was somehow that Alexa just doesn't like the combination of "Audio Video" and "off", I guess. It will take "Alexa, turn on audio video" but will not accept "Alexa, turn off audio video".

 

I moved the same commands to "TV" and it works to say "Alex, turn on the TV" and it also works to say "Alexa, turn off the TV". and the OFF runs the ELSE set of commands.

 

I think the lesson learned is that Alexa is kind of particular about the choice of words in the commands.

 

I just installed a lamp as "audo video" and this worked just fine for me.

"Alexa. Turn on audio video"

"Alexa. Turn Off audio video"

 

Do you have code to perform your command in the Else section of your program, to be activated by your Off command?

Try it with a device temporatily and see if it works there. (remove program audio video first)

Edited by larryllix

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...