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.

Feature Concept - Variable Tracking for Program based Alexa entities

Featured Replies

Posted

So, on a couple of occasions now I’ve had programs exposed as devices, lights etc. to Alexa where knowing the “status” of the device would be useful - mostly in routines. I was thinking it would be really useful to be able to choose a variable to associate with any program based entity which reflects the virtual status of the program. So, as long as you update the value of the variable in your program you can track on/off state for Alexa’s purposes. Thoughts?

 

Regards,

 

-David

So, on a couple of occasions now I’ve had programs exposed as devices, lights etc. to Alexa where knowing the “status” of the device would be useful - mostly in routines. I was thinking it would be really useful to be able to choose a variable to associate with any program based entity which reflects the virtual status of the program. So, as long as you update the value of the variable in your program you can track on/off state for Alexa’s purposes. Thoughts?
 
Regards,
 
-David


Programs do have a status. It’s on, or it’s off, and it depends on if the program last ran the then , or the else.

If you want to have a brightness level, then just expose a state variable directly. You can still turn it on or off, which will set the variable to the on value or the off value. You can then have a program that reacts to the on or off values.

Benoit


Sent from my iPhone 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.