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
Aeotec Multisensor 6: how to use 'motion' detected in a flow...
When I want to switch on the lights if luminance < certain lux AND someone is in the room, I need to be able to use 'motion' as a (co)trigger in my flow. But how?
For luminance, I use the following extra flow:
But for motion this seems not to be done similarly, because I can't fill 'name' with e.g. "motion" or "presence" etc. So the flow can't be created. Anyone else has a solution?
If so, would you care to show us the flow that you're using?
For luminance, I use the following extra flow:
But for motion this seems not to be done similarly, because I can't fill 'name' with e.g. "motion" or "presence" etc. So the flow can't be created. Anyone else has a solution?
If so, would you care to show us the flow that you're using?
This discussion has been closed.
Comments
In the then... column the card to switch the light on.
Not sure if you read my question well. Because I know how to use luminance in order to switch the lights on. But I'd like to also use motion 'Yes/No' als a (co)trigger together with luminance.
- the luminance is under my desired treshold.
- there's motion detected in the room.
So that's why I want to use both.
So in the period luminance is lower then 50 (condition): When motion is detected (trigger) put light on.
Just as @Jon states...
First check the luminance level, then 'if motion was detected', switch on the lights.
(If I use motion detection as a trigger, I can't have 'a variable (luminance) changed...' as a trigger in the same flow).
Why oh why (@Annemarie) is this so f*cking difficult in a flow editor that's said to be (I quote) 'childlike simplicity'
(https://www.athom.com/nl/homey/flow/ >> "Homey's echte kracht komt naar boven in de Flow Editor. Je huis zich laten gedragen naar jouw wensen is opeens kinderlijk eenvoudig.")
But this stupidly doesn't work either. What does the red exclamation mark mean, anyone knows?
(clicking it does not work)
Okay, thanks
It says 'missing_listener'. Now what ...
But I've been home all morning and funnily enough the 'insights' agrees with me on that point...
At the moment motion is detected you want homey to check whether luminance is below a certain level. If this is also true then you want a lamp to turn on...
As for the second flow: I think you can't test it with the test-button. You want your lights off when no-one is home and luminance > 50 ? But what if luminance > 50 and someone is home, should the lamps stay on ? Or if no-one is home and luminance <50 the lights are left on? Should they stay on?
In the second column you might delete the "is turned on", is doesn't matter. The only thing you do is avoid sending multiple off-commands to your lights... This will work for Hue (afaik) but i.e. for KaKu there's no reporting back to Homey. So if lights were turned on manually, Homey doesn't know the lights are on and won't turn them off with this flow.
"Someone in the room" is the hardest part.
With motion detection and lux putting the lights on is the easy part. U just need to make some extra flows.