Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Running a program's "if" line via Alexa Routine

Featured Replies

Posted

I have a number of programs that are called by Alexa routines so I don't have to say "Turn on" or "Turn off", I can specify the syntax (Alexa, close the garage door...)

Apparently the way I've been doing it, the "if" line in the program is ignored (most of my programs were only "Then" lines, so I didn't notice).

I knew that if you don't use Alexa routines, you could run THEN or ELSE by saying "turn on" or "turn off".

So I had to make additional programs for each program I wanted to run, with the THEN line reading "Run program xxxx, IF".

So this works, but doubles then number of programs.

I'll add that in the ISY portal, my programs are set to show in Alexa as a SCENE currently.

Is there a way to somehow have the program, when called by an Alexa routine, to run a particular part of the program (the IF line in this case.)?

Thanks!

 

No. ISY Portal runs Then or Else depending on On/Off or Close/Open.

Running an  If can be done by one vocal reception program running a second program's  If section, just like you posted above.

Edited by larryllix

  • Author
15 hours ago, larryllix said:

No. ISY Portal runs Then or Else depending on On/Off or Close/Open.

Running an  If can be done by one vocal reception program running a second program's  If section, just like you posted above.

Thanks - just wanted to make sure I wasn't missing something.

 

Thanks - just wanted to make sure I wasn't missing something.
 
Its OK when you miss something, just not when Alexa does :)

Sent from my SM-G930W8 using Tapatalk

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.