Jump to content

Programming an all lights off via the echo.


Recommended Posts

Posted

Not sue i can explain this clearly. I have an echo that i am using with my ISY val the UD portal.

 

I have a basic program of all lights on

Nothing in the "if" or "else" sections

just a few lines in the "then" sections

both work as they should when I click "Run Then"

 

hear is where i get tripped up.

The lights on program runs fin via the echo

the lights off does nothing. but the echo come back with an "ok"

I don't know what I'm doing,

Thanks you all

 

 

Lights On.v4.5.4__Sun 2017.01.15 04.28.28 PM.isy

Lights Out.v4.5.4__Sun 2017.01.15 04.28.53 PM.isy

Posted

Not sue i can explain this clearly. I have an echo that i am using with my ISY val the UD portal.

 

I have a basic program of all lights on

Nothing in the "if" or "else" sections

just a few lines in the "then" sections

both work as they should when I click "Run Then"

 

hear is where i get tripped up.

The lights on program runs fin via the echo

the lights off does nothing. but the echo come back with an "ok"

I don't know what I'm doing,

Thanks you all

 

Just a suggestion:  I do something similar, but I use a scene, as I want everything to turn on/off immediately (all the interior lights are responders in the scene).  The spoken for this is "house", so I just say, "Alexa, turn on/off the house".  The change is immediate and reliable.

Posted

Thank You,

I do appreciate the input.

I want to try and learn some of the programing, as I think it will alow me to do a little more in the end,

Thank you very much

Tony

Posted

I think you can put the "lights off" logic in the "else" block of the same program that has the "lights on" in the "then" block

 

Here's a really simple program (the spoken in the Portal is "kitchen music") where saying, "Alexa, turn kitchen music on" runs the "then" statement, and, "Alexa, turn kitchen music off" plays the "else" statement.

Kitchen.PlayPause - [ID 0058][Parent 001B]

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        Resource 'Kitchen.Play'
 
Else
        Resource 'Kitchen.Pause'
 

  • 3 weeks later...
Posted

I am a newbie to isy as well, and have been playing with the same thing. I discovered (should have known I suppose) that Alexa allows you in the Alexa app to group devices, and create a spoken word to invoke. You can pick and choose what lights you want in Alexa (not rom the Admin Console) and control them as a group. No programming needed.

Posted

Just a suggestion:  I do something similar, but I use a scene ...

 

If all you want to do is turn some lights off and on as a group, I agree that a scene is probably the best way to go. 

Posted

I had, until recently, been using a scene to turn off nearly all lights. But the scene grew to more than 60 devices because I also wanted to turn off secondary controllers such as KPL secondary buttons and SwitchLincs in 3-way configurations. That used a lot of links.

 

My solution was to use a program to consecutively turn off about 20 scenes. Turning those lights off does not really require that everything turn off at once B)

Posted

Watch out if you use more than one scene, and you are using fade on or fade off. The ISY will abort a fade if followed immediately by a fade of another scene. For example, Fade off Scene A, followed by Fade off Scene B will not fade off Scene A.

Posted

How are you invoking this program? Using a name like "lights off"  or "lights on" may be a problem, as the echo may already be using these words for something else.

Posted

I had, until recently, been using a scene to turn off nearly all lights. But the scene grew to more than 60 devices because I also wanted to turn off secondary controllers such as KPL secondary buttons and SwitchLincs in 3-way configurations. That used a lot of links.

 

My solution was to use a program to consecutively turn off about 20 scenes. Turning those lights off does not really require that everything turn off at once B)

 

Yeah, the devices can really start to add up when you want to keep all your KPL buttons and SwitchLincs in sync. I don't have anything quite as big as that, but I do have a scene called "Party Time" that controls about 35 devices including pinball machines, arcade games and disco lights ....  :-D

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...