Jump to content

Alexa command and actual physical switch differ for program


andrew77

Recommended Posts

Hi guys,

I'm not sure if I'm supposed to post this issue here. If it's not the right forum I apologize.

I have a program for a bathroom fan.

Switchlinc is turned on and waits 25 minutes then shuts off. 

This works when I use the SWL but when I tell Alexa to do this it turns on fine but doesn't shut off after the 25 minutes.

 

Clearly the program works. Have a missed something with the ISY Portal?

Drew

Link to comment

Yes, as a program (just double checked.)

I also made the spoken Bathroom Fan Timer as Bathroom Fan was already used by the SWL itself

I'd like to simplify that and whenever someone says turn on Bathroom Fan it would trigger the program.

I'm hoping this is possible

Link to comment

It is bery possible that such a program would not be triggered when initiated by alexa or the ISY.  Does it have a control condition or status condion?

nevermind.  I see your response at the same time as my post.

Edited by oberkc
Link to comment

No status or controls.

(I changed the timer to 10 seconds for testing only)

 

Bathroom Fan - [ID 0022][Parent 0001]

If
        Control 'Bathroom Fan' is switched On
 
Then
        Wait  10 seconds
        Set 'Bathroom Fan' Off
 
Else
   - No Actions - (To add one, press 'Action')
 

 

Link to comment
1 minute ago, andrew77 said:

No status or controls.

???  I see that your program DOES have a control condition.  My initial concern is that turning on the switch via alexa would not trigger such a program.  But you stated that you added the program directly to alexa, so I cannot say why this would not work.

Link to comment

I'm sorry, I misunderstood what you meant as far as controls etc. (I wasn't thinking turning a switch on would be a control but it clearly says it in the program I pasted)

Should I just make a Routine in Alexa?

I Always try to get the ISY to do everything first as its tidier that way (I'm assuming)

 

Drew

Link to comment

IIRC, alexa only activates THEN and ELSE clauses.  On for THEN, Off for ELSE.  I would guess it is turning on the fan as te spoke for the fan, but is not actually running the program.  THere is no statement to turn fan on in the THEN clause, so I don't think it is activating what you think it is.  You could try another program where you name FAN Test or something have the THEN statement turn on the fan wait xx mins and turn off and ELSE turn off.

Link to comment
1 hour ago, TomL said:

IRC, alexa only activates THEN and ELSE clauses

That is my recollection, as well.

If the program was added to alexa, and then asked to be turned on, I would assume the THEN path would run but, apparently, it is not.  Perhaps alexa misunderstands and tries to turn on the switch, rather than the program.  Or, follow lilyoyo1 suggestion and change the condition to "status" rather than "control".  

Link to comment
That is my recollection, as well.

If the program was added to alexa, and then asked to be turned on, I would assume the THEN path would run but, apparently, it is not.  Perhaps alexa misunderstands and tries to turn on the switch, rather than the program.  Or, follow lilyoyo1 suggestion and change the condition to "status" rather than "control".  

It's a simple test.

 

Try this.

'Alexa....dim the xxxx'

If it works you are not using the program.

 

The If triggered are not involved. The ISY portal is the trigger.

 

Sent using Tapatalk

 

 

 

Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...