Virtual Device as a Variable

  • 167 Views
  • Last Post 15 January 2015
Rod posted this 14 January 2015

Yes, exactly. I know I was bugging you about this one before but I thought maybe others would find this interesting. Yes to the scene trigger option too.

So, ideally we have an easier way to update these variables too in the api. Maybe instead of the unique identifier huge number that's very difficult to find for these we just update the variable by the friendly name. Ie.

http://localhost:1178/updatevariable?name=nameofvariable&value=whatever&password=whatever

Value could be a sentence, number, decimal, whatever...




So the idea is that you have a Virtual device that can hold any value, and not just 0 to 100?

On your "related feature" - would this IF variable be a scene trigger?

Order By: Standard | Newest | Votes
Ryan-Scott posted this 14 January 2015

I was wondering if it was possible to add a variable attribute to the virtual device. Also, a way to update the variable through the API. What could we do with this you may ask?

1. Add anything to the text box that could be updated from IFTTT, Zapier, any web service etc.
2. You may want to have InControl display your steps in a variable and that be dependent on the color of your HUE lights.
3. Right now we can create a virtual dimmer and have values from 0-100 but having custom variables with custom icons would be much more usable for the upcoming mass connected devices.

Other related feature...

1. Adding IF variable =
That way you could set something to happen if your updated variable changes to that value.





So the idea is that you have a Virtual device that can hold any value, and not just 0 to 100?

On your "related feature" - would this IF variable be a scene trigger?

Rod posted this 15 January 2015

Yes, exactly. I know I was bugging you about this one before but I thought maybe others would find this interesting. Yes to the scene trigger option too.

So, ideally we have an easier way to update these variables too in the api. Maybe instead of the unique identifier huge number that's very difficult to find for these we just update the variable by the friendly name. Ie.

http://localhost:1178/updatevariable?name=nameofvariable&value=whatever&password=whatever

Value could be a sentence, number, decimal, whatever...




So the idea is that you have a Virtual device that can hold any value, and not just 0 to 100?

On your "related feature" - would this IF variable be a scene trigger?

Close