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.

Flows you need help with

hi all, 
as a noob i'm struggling to get some of the flows to work correctly and i think a lot of us have this. now we often have specific topics for devices or stuff not working, but i havent seen one for flows in general. 

anyhows, this is an example of a flow i would like to test/get to work:
when trigger (http get in this case) is triggered between x and x time then put lamp on



Comments

  • That all looks fine, except the card in the When column - you'd need to specify http://<YourHomeyIP>/api/app/com.internet/<event>.

    Did you have a specific question about your flow?
  • MarcoFMarcoF Member
    @ericjanvanputten ;
    I think the problem is the times are on different days/dates.
    Could you test this;
    when trigger (http get in this case) is triggered between 21:00 and 23:50 time then put lamp on
  • the HTTP GET card seems to work (also another flow with that same trigger) but I think its the time that is the challenge. 

    I will check that times on the same day this afternoon when i'm home. 
  • MarcoF said:
    @ericjanvanputten ;
    I think the problem is the times are on different days/dates.
    Could you test this;
    when trigger (http get in this case) is triggered between 21:00 and 23:50 time then put lamp on
    Yes it's this. Basically what you are saying now is:

    If time is between 21:00 and 23:59 AND if time is between 00:00 and 07:00, which is of course never true.

    I think the only way to solve this is to make 2 flows out of this, one for time between 21:00 - 23:59, and one for time between 00:00 - 07:00.
  • Ah yes - it would probably require two flows, one later than 21:00, the other earlier than 07:00.
  • casedacaseda Member
    edited May 2016
    Well.. You could actually invert the [AND] conditions with the checkmarks:
    If it is
    not later then 7:00
    and
    not earlier then 21:00
  • BumblezBumblez Member
    edited May 2016
    caseda said:
    Well.. You could actually invert the [AND] conditions with the checkmarks:
    If it is
    not later then 7:00
    and
    not earlier then 21:00
    Nope, wouldn't work. That would never trigger. For example 23:00 is later than 07:00, and 06:00 is earlier than 21:00 (and both are excluded). You'll definitely need 2 flows.
  • But then at 22:00 nothing would happen (22:00 is later than 07:00) :)
  • well between 1600-1700 worked and a bit before it didnt as expected ;) so seems to be the trick for same day... will configure it now with 2 flows and try tonight
  • posthokposthok Member

    Can't get this flow to work.
  • PeaoPeao Member
    Then you are missing the right equipment / apps. Everything you added in this flow is already possible.  ;)
  • posthok said:

    Can't get this flow to work.
    lol yes please ;)
  • would it be possible for any 'flow' to monitor if the 'flow' has run correct or that it has failed?


  • Hi All,

    I have several variables that I use:

     

    Temp inside

    Temp outside

    Humidity

    Solar Intensity

    Target Temp

     

    I’d like to get a message with all these variables when I press a button on a remote.

     

    How should my flow be?

    In using better logic for these variables.

     

    Thanks for the help!

  • RoelofRos said:
    would it be possible for any 'flow' to monitor if the 'flow' has run correct or that it has failed?


    Maybe you could change a variable at the end of the flow, and do something else when that variable changes (and change the variable back). It does not take into account whether or not there were faults with the 'Then' column though.
Sign In or Register to comment.