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
Global Home / Away "flag" for flows.
It would be great to have a global "state" flag / marker to make flows more functional.
Let me try to explain:
When home I have Homey control my lights and blinds according to motion and daylight status et cetera.
This is great...if I am home..
If I am not at home, I would like to have a complete different event system become active. If a motion sensor is triggered I don't want a light to turn on, but I want the alarm to be triggered and all lights to blink red and the curtains opened!
In *ALL* flows it would be something like:
- do all the following IF [flag 1 = true]
- forget all the previous stuff, but do THIS if [flag 1 = false] is home.
What I aim for is the possibility to 'flip a switch' to allow Homey to do complete different flows if I am away or home.
A workaround would be to rewrite all Flows for the state "home" and load these as the standard set, and rewrite all flows for the state 'vacation' and load these when you're not home. And a post-it on you're pasport to load the correct Homey Flow set ;-)
Next step would be to link this "flow selecting option" to Google Calender event: Homey will switch to the correct state (home / working / holiday) automatically :-)
BTW
In Domoticz the option is partially implemented. You can set a 'holiday' status, which will allow for a different set of Events (=flows) to be triggered. What that option does not allow, is having a certain event (=flow) do different actions depending on the Timer Plan.
Let me try to explain:
When home I have Homey control my lights and blinds according to motion and daylight status et cetera.
This is great...if I am home..
If I am not at home, I would like to have a complete different event system become active. If a motion sensor is triggered I don't want a light to turn on, but I want the alarm to be triggered and all lights to blink red and the curtains opened!
In *ALL* flows it would be something like:
- do all the following IF [flag 1 = true]
- forget all the previous stuff, but do THIS if [flag 1 = false] is home.
What I aim for is the possibility to 'flip a switch' to allow Homey to do complete different flows if I am away or home.
A workaround would be to rewrite all Flows for the state "home" and load these as the standard set, and rewrite all flows for the state 'vacation' and load these when you're not home. And a post-it on you're pasport to load the correct Homey Flow set ;-)
Next step would be to link this "flow selecting option" to Google Calender event: Homey will switch to the correct state (home / working / holiday) automatically :-)
BTW
In Domoticz the option is partially implemented. You can set a 'holiday' status, which will allow for a different set of Events (=flows) to be triggered. What that option does not allow, is having a certain event (=flow) do different actions depending on the Timer Plan.
This discussion has been closed.
Comments
You can choose between two presents cards in the ...and.... column
The thing is, the flow itself would have to be able to execute completely different actions, depending on the " state" (home/work/away).
For the discussion, lets pretend the state "sunset" in a flow; when "sun is set = true" you want your lights switched on, when "the sun is not set" the light should be off. We only want this to happen IF you're home. If you are not home, all but 1 light may stay off.
I was thinking of a marker / flag / perhaps even colour code PER FLOW.
So:
If you want different activities you create a second flow, maybe with the same trigger.
So, example
Motion detected -> and someone home -> lights on
Motion detected -> and nobody home -> alarm on
As both conditions can be true at the same time it functions as the if / else.
As far as I can see everything you want is possible now.
There is a trigger sunset, and condition someone is home....
And you could use the condition time it's after sunset with an other trigger....
Thanks for the suggestions! and feedback!
BTW
Hope the Better Logic App is operational again soon (saving variables), I want to start using those for my flows!
https://forum.athom.com/discussion/comment/23302/#Comment_23302
it works here....