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.
Triggering flow in a flow...
Hisedase
Member
I made a flow to shut somfy curtains (with first asking me if I want to), it works perfectly, but when I put this flow in my flow to switch on TV, it doesn't work... (some the plan was, if I ask to switch on TV, that Homey asks me if i want to close the curtains ..)
Comments
If so, that's not what it's for
This enables/disables a flow (as in, it checks or unchecks it if you look at your list of flows)
You will need to use another way, like with a variable probably.
Explain yourself, u lost me there, i'm a noob u see...
So let's say if i start my "TV on flow", i want homey to ask me if i want to close te curtains....
You see the checkmarks next to the flows?
I disabled one (TV Kijken). So this flow won't run anymore.
If you use the 'Activeer een flow' card and select the 'TV Kijken' flow, it would be enabled again and so if the correct condition is triggered it will run.
So you can't use the 'Activeer een flow' card for what you're trying to do
In your case (and most cases actually) working with variables is a better and more flexible way of doing things.
I advise you to install the Better Logic app. There you can create a boolean variable (for example call it somfy).
Adapt your Somfly flow to check for this variable. If variable set to True, close curtains.
Here is an example flow I use:
If variable sunset changes and is set to true, AND movie is false, than set another variable (that turns on my mood lights)
In your case, you can then use your somfy variable in your TV flow. This will then start your somfy flow
Ok thx, i try this later on when i'm home
Ok did'nt test it yet, but i made a flow like this:
Value changes when i trigger "Watch TV" flow
So this should be working I guess
What type of variable did you use?
Was only asking to see if you could use the variable to easily open your curtains also if you set it to False
True, but in most cases a variable is more logical IMO.
I'll check for you Fire69, but i'm not at home now, as soon as I know, I'll let you know here.
I knew it from the start but the cards are so confusing that i made the same mistake over and over.
just did not see it.
now i find it thanks