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

The "Flow" cards

Is there a tutorial on how to use the Flow cards?

I got it working a while ago, but i forgot how... So can someone show me the way of the Flow? :#

Comments

  • I don't see what there is to forget? 

    You take a card you want to use as a trigger (when: time, voice, device) and drag it to the first column. 
    Than you pick the card for what you want it to do (then: do something). 
    That's the simplest form. 
    Just experiment with it a little. You can't do anything wrong... 
  • just for me then.

    I created a flow to turn the ligths off at 22:00. (Flow "X" )

    I have to create another flow that enables Flow X when I use a button on my remote so it will turn off my lights even when it is not 22:00?


  • jordenjorden Member
    edited March 2016
    You are thinking way too difficult.

    Flow X: Turn off the lights at 22:00

    Flow Y: Turn off the lights when you use the button on your remote

    You don't have to reference to flow X in your flow Y, because they are not related.
  • But it would be nice if you can disable/ overrule a flow. 
  • jordenjorden Member
    edited March 2016
    You can enable/disable a flow, from a flow. Just drag the 'Flow' card to the ...then-column.
  • jorden said:
    You can enable/disable a flow, from a flow. Just drag the 'Flow' card to the ...then-column.
    Yes Your right! I didn't expect that! 
  • MarkVanWindenMarkVanWinden Member
    edited March 2016
    but I was just giving an example, the light off etc are just an easy example, but I got a whole flow that turns on multiple things at once at 20:00.

    so a pretty big thing happens at 20:00

    I want to overrule this, for example at 19:00 by pressing a button, how do I proceed? do I copy the whole list, or do I just enable this flow when I press the button?

    screenshots might help.
  • AaronAaron Member
    You could use a variable
  • Aaron said:
    You could use a variable
    Also dont have a clue on how to use that.
  • With the 'Better logic' app you can use a variable, for example:
    scheduledflow

    - At 0:00 you set that variable to 0 in a flow.
    - For the flow that happens at 20:00, you can check if scheduledflow is still 0.
    - If you press a button, you start a flow that sets the scheduledflow variable to 1.
  • MarkVanWindenMarkVanWinden Member
    edited March 2016
    jorden said:
    With the 'Better logic' app you can use a variable, for example:
    scheduledflow

    - At 0:00 you set that variable to 0 in a flow.
    - For the flow that happens at 20:00, you can check if scheduledflow is still 0.
    - If you press a button, you start a flow that sets the scheduledflow variable to 1.
    ah,, this one is very interesting, thnx!

    Still, or the flowcard is broken at my end, or I just dont get it. 
This discussion has been closed.