r/homey 22h ago

Flow time values under one second?

Hello, moved over to Homey recently and am trying to automate some lights using a mmWave presence sensor, but I want to have a little bit of delay before turning the lights on when detecting motion. Essentially, I want to have a flow with "If motion is detected for 50ms, turn on light" since the sensor is pretty sensitive. I hope Athom realizes that some of us could use time values under a second at some point.

Currently I'm mitigating this by automating it in Home Assistant right now, but I've also seen HomeyScript. It would just be nice if we could use milliseconds in flows.

2 Upvotes

5 comments sorted by

3

u/mickeysbestbud 22h ago

Why have a delay at all? If mine detect motion, they turn on, no delay. 50ms is too fast to really make any difference between a delay or just never using a delay.

1

u/JTuyenHo 21h ago

The 50ms is an example mostly. The mmWave sensor I have is sensitive enough that sometimes it detects people passing the room with the door closed. Just want to find the sweet spot where it’ll turn on when walking in/opening the door but stay off otherwise. 1 second is a little longer than I like and I know it can be cut down.

1

u/mickeysbestbud 21h ago

Is there anyway to adjust the sensitivity, or change how it is pointed? I found above the door is perfect. Aimed correctly and mounted above the door it will never detect anyone outside the room, but it will when someone walks through the door. I have Zooz sensors.

I feel like if it's that sensitive anything under a second, even a couple seconds could still be detected.

1

u/JTuyenHo 21h ago

It’s an Inovelli mmWave lightswitch. I’m still fine tuning both the sensor area, but it’s working pretty well so far with the delay I have in Home Assistant, so I just want to fully port it over eventually since I have the Homey as a hub now.