Lifx delay with motion sensor

I have a Lifx downlight installed and a Xiaomi motion detector and it's taking about 4 to 5 seconds to actually turn the light on, making it pretty much pointless as I am almost done by then.

Now I have tested another sensor and that is not the problem, if I watch the on the hub I can see when the sensor becomes active so I know it's not the sensor failing to detect. If I turn it on via the app it is a lot faster.

What have other peoples experience been with Lifx bulbs? I do like them but if this can't be fixed I will prob just return it and get the cheaper Seglend lights that are much faster (just no RGB)

Assuming you can use an standard A19 style bulb, Sengled does make a Color RGBW bulb that pairs directly to the HE hub via Zigbee. I have two that work very well and respond quickly.

https://www.amazon.com/Sengled-Required-2000-6500K-SmartThings-Assistant/dp/B073ZBYXKQ/ref=sr_1_1_sspa?ie=UTF8&qid=1536324995&sr=8-1-spons&keywords=Sengled+color&psc=1

I saw those but unfortunately I have all downlights so these would be no go

1 Like

I have 2 Lifx bulbs in my living room lamps that turn on with motion. The motion sensor also turns on my non-smart overhead BR30's through a Lutron Caseta switch. The overheads do turn on before my lamps but only by a second or so. Total time between motion sensor and lifx bulbs has never been above 2 seconds.

The lifx app connects to your bulbs directly over the local lan (instead of the cloud) so it will always be faster...however 4-5 seconds seems like a really long time.

Try disconnecting your phone from the wifi so that it's forced to use the cloud to communicate with the bulbs. Test the delay time. As a comparison, try turn the bulbs on and off through the Hubitat device details page.
If the bulbs respond with the same delay, and the time is reasonable, your issue may lie with the app used for the automation. Are you controlling any other bulbs or devices with that same automation?

So yeah I turned wifi off on my phone but still was +5748ms from motion detected to light on. My Seglend ones go around 300ms so huge difference for both being wifi and they are not that far apart too. I did try turning it on and off over the internet when I was not connected to wifi and worked real fast.

I also tested this via Webcore and HE motion light app with pretty much same results.

So I don't know, seems to me something in HE is slowing it down a lot somewhere along the line.

Did you also try turning it on/off via the hubitat device page? If so, how fast was it?

Yeah about the same time.

These are the logs from the Webcore piston and can see where it gets hung up

9/8/2018, 10:48:31 AM +819ms
+1ms â•”Received event [Master Bedroom Closet Motion Sensor].motion = active with a delay of 1366ms
+105ms â•‘RunTime Analysis CS > 60ms > PS > 28ms > PE > 16ms > CE
+118ms â•‘Runtime (45900 bytes) successfully initialized in 28ms (v0.3.107.20180806) (115ms)
+120ms â•‘â•”Execution stage started
+125ms â•‘â•‘Comparison (enum) active changes_to (string) active = true (1ms)
+126ms â•‘â•‘Cancelling condition #2's schedules...
+127ms â•‘â•‘Condition #2 evaluated true (5ms)
+128ms â•‘â•‘Cancelling condition #1's schedules...
+130ms â•‘â•‘Condition group #1 evaluated true (state changed) (7ms)
+131ms â•‘â•‘Cancelling statement #3's schedules...
+2486ms â•‘â•‘Executed physical command [Bathroom Light].on() (2350ms)
+2487ms â•‘â•‘Executed [Bathroom Light].on (2351ms)
+5361ms â•‘â•‘Executed physical command [Bedroom Lights].on() (2868ms)
+5363ms â•‘â•‘Executed [Bedroom Lights].on (2871ms)
+5366ms â•‘â•šExecution stage complete. (5247ms)
+5415ms â•šEvent processed successfully (5415ms)

Capture

Is your actual automation also webCoRE, or did you just use that as an example to log the times here? If not just an example, could it be something odd with webCoRE? (That piston looks fine, but maybe these bulbs don't like whatever it's doing to turn them on.) What you want is easy to do with Hubitat Simple Lighting or even Rule Machine (or a custom app where you can log/profile away), so if you haven't tried that already, I might suggest that first just to rule it out.

So yeah it is with webcore, but I also did it with HSL getting same results.

Are you saying it took 4-5 seconds to react when you turned the lights on/off via the device page?

Mmm little less, around 3 seconds now after messing around.

I have 4 lights set up now with motion sensors, 2 lifx are pretty slow, 1 with hue light and that is not bad and 1 with seglend and that is by far the best!

It's just odd that other people have said with their lifx lights it works really well and almost instant turn on.

If they are connecting to the cloud to get commands they will be slower. I have 32 LIFX bulbs and battled with this for a long time. Using the LIFX master app and driver makes all the lifx communication local and has made a world of different for me.