This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Closed
Variable management
Hi,
You can set variables and add triggers based on variables. Wouldn't it be nice to have a variables management section (create, update, see current value etc)... Also being able to increment or decrement a value, flip from true to false etc in a flow would be very helpfull.
Patrick
You can set variables and add triggers based on variables. Wouldn't it be nice to have a variables management section (create, update, see current value etc)... Also being able to increment or decrement a value, flip from true to false etc in a flow would be very helpfull.
Patrick
This discussion has been closed.
Comments
For example I have the following flows:
- When its 6'00 -> Awake = 1
- When Awake is changed and Awake = 1 -> WantCoffee = 1
- When button 1 on is pressed -> WantCoffee =1
- When WantCoffee = 1 -> Turn on power of KAKU device
And the reverse.
As you can see, figuring out the state of variables is not very nice. And to be honest, sometimes I see no response of my KAKU device. This is now not very good debuggable due to the missing variables....
Maybe adding a variable as insight diagram would be helpfull..? A 1 and 0 as bool is very easy plottable.
- When its 6'00 (And somebody is home) Then make coffee
And another one:
- When button 1 is pressed Then make coffee
When button 1 is pressed:
Temperature = Temperature + 1
When Temperature is changed
Call HTTP request with the temperature as parameter
Maybe it's possible to create some sort of global variable app which receives variable changes from webhooks?
Execute a HTTP request with temperature as a variable is possible. You can drag the value-token into the HTTP cards (remove the two extra spaces it adds automagically around the tag)
- String support
- Equals, not equals
- Contains
Bool support
- True/False support with a token
- Flip
Number
- Equals, (Not) Great than, (Not) Less then
- Increment, Decrement by a fixed value or token
Settings to create values/see values. All values used should be defined before you can use them in a flow
After the first release I want to add API support.
Are there already any feature requests?
Patrick