Jump to content

Feature Concept - Variable Tracking for Program based Alexa entities


Recommended Posts

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

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


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

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...