The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Sub conditions
Hi Guys,
Might be far fetched, but I was thinking about flows I could potentially build with Homey once I will get it. It came to my mind that a lot of the flows might contain redundant combined conditions. In that regard it made sense to me to think about "sub conditions" or "grouped conditions" (or what ever other term might float your boat).
Say for example you have several flows where you have a condition on whether anyone is home. The condition of anyone being home could consist out of several things. Like geofencing of all cellphones of all family members, Calendar schedules and perhaps other things. In stead of setting these conditions for all flows where you want to use them, I believe it would be muh more powerful if you could refer to a group of conditions, which is dynamically inherited. That way, if you need to tune the conditions, all depending flows automatically use the new conditions.
I hope I have explained it clear enough, but it is basically a layer of abstraction by introducing a new building block for the flows. Would love to hear your thoughts.
Comments
I think you can use the flow variables for this. Not as advanced as inhareted conditions, but gives a lot of possibilities.
With the homewizard I can select home/away/sleep/vacation mode, maybe This is also an option for homey. In every mode you can make tasks to be excecute.
That's pretty hard but a great idea.
For your example, you can tell homey in a flow that someone's home or away, so basically it's like that already!
If my alarm is set for 7.00 and homey see that I'm leaving my bed between 6.30 and 6.59 Can homey start the morning flow and switch off my alarm?
That's great! @emile
Yeah, there's a 'x minutes before my alarm goes off' trigger, and a 'turn alarm off' action.
Great Emile!
Wow TOP*****
Not entirely sure what you mean tho.
my idea is to put a sonos speaker near to my bed and a doorbell switch. So homey can play a sound on sonos and I can switch it off by pressing the button.
But i don't no how dangerous that is. Because if the network of homey is broken then it won't work.
@p0nts I basically mean this; an 'alarm' can be interpreted many ways. An alarm can be Homey's speaker playing an alarm sound, or it can mean Homey AirPlaying a song to my wireless speakers, or an alarm could mean opening the blinds. I'm just saying that an alarm (especially in the context of a multifunctional device such as Homey) can mean many things, and I was just curious if this alarm could be 'sent' to my phone..
Setup:
1 LED Lamp in kitchen
1 COCO/KAKU dimmer switch
1 z-wave motion and light sensor
Condition:
Getting dark and motion detected
Action:
Turn light on 100%
C:
If no motion detected after 5 minutes
A:
Dim light to 75%
C:
If no motion detected after 10 minutes
A:
Dim light to 50%
etc.
And offcourse if there is motion detected go to the first condition.
yeah, Emile gave a "YES" on a similar situation in another topic.