Motion Lighting Doesn't Work but simple does

Hi All,

I have been excited to get gong with my lighting in HE. I have lifx (Group of group driver) lights mostly. And xiaomi motion

I've setup motion lighting app (great app by looks of it ) but for the life of me, the app simply won't turn the lights on. I've tried it with all the diff settings.

If i setup a simple lighting app, it works straight away.

Could it be to do with the lifx group of group driver? The lifx lights work great via manual control within HE. Also the motion sensors are quick to respond.

It just seems the motion lighting app doesn't like me.

Here's the motion lighting app

On the lights themselves, all the lifx lights have subscription type of refresh. but no subscription section.

Could this be to do with the lifx group of group driver? but it does work with simple lighting so i'm guessing not

Thank you

Joel

i'm finding that the lights with motion lighting will sometimes come on and other times it won't. it seems random but i'm sure there is reason.

i get excited when it works but then it doesn't.. i want to move everything over from ST.

here's some logs but they dn't give much away. I have the app logging on.

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:26:41.316 pm [info](http://192.168.1.63/installedapp/configure/150)Turning off

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:25:41.258 pm [info](http://192.168.1.63/installedapp/configure/150)Delaying off for 1 minute

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:25:41.201 pm [info](http://192.168.1.63/installedapp/configure/150)Motion inactive Kitchen Motion

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:25:33.284 pm [info](http://192.168.1.63/installedapp/configure/150)Not turning off: motion active

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:24:40.226 pm [info](http://192.168.1.63/installedapp/configure/150)Motion active Kitchen Motion

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:24:33.231 pm [info](http://192.168.1.63/installedapp/configure/150)Delaying off for 1 minute

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:24:33.123 pm [info](http://192.168.1.63/installedapp/configure/150)Motion inactive Kitchen Motion

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:24:19.954 pm [info](http://192.168.1.63/installedapp/configure/150)Not turning off: motion active

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:23:32.142 pm [info](http://192.168.1.63/installedapp/configure/150)Motion active Kitchen Motion

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:23:19.873 pm [info](http://192.168.1.63/installedapp/configure/150)Delaying off for 1 minute

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:23:19.800 pm [info](http://192.168.1.63/installedapp/configure/150)Motion inactive Kitchen Motion

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:22:18.727 pm [info](http://192.168.1.63/installedapp/configure/150)Motion active Kitchen Motion

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:21:17.897 pm [info](http://192.168.1.63/installedapp/configure/150)Motion active Kitchen Motion

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:19:12.872 pm [info](http://192.168.1.63/installedapp/configure/150)Kitchen Lights turned on

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:19:12.850 pm [info](http://192.168.1.63/installedapp/configure/150)Kitchen Lights turned on

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:19:12.853 pm [info](http://192.168.1.63/installedapp/configure/150)Kitchen Lights turned on

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:19:12.842 pm [info](http://192.168.1.63/installedapp/configure/150)Kitchen Lights turned on

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:19:12.833 pm [info](http://192.168.1.63/installedapp/configure/150)Kitchen Lights turned on

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:19:12.826 pm [info](http://192.168.1.63/installedapp/configure/150)Kitchen Lights turned on

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:19:12.781 pm [info](http://192.168.1.63/installedapp/configure/150)Kitchen Lights turned on

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:19:12.737 pm [info](http://192.168.1.63/installedapp/configure/150)Kitchen Lights turned on

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:19:12.589 pm [info](http://192.168.1.63/installedapp/configure/150)Kitchen Lights turned on

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:18:52.338 pm [info](http://192.168.1.63/installedapp/configure/150)Turning off

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:17:52.267 pm [info](http://192.168.1.63/installedapp/configure/150)Delaying off for 1 minute

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:17:52.198 pm [info](http://192.168.1.63/installedapp/configure/150)Motion inactive Kitchen Motion

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:16:51.365 pm [info](http://192.168.1.63/installedapp/configure/150)Kitchen Lights turned on

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:16:51.286 pm [info](http://192.168.1.63/installedapp/configure/150)Not turning on color: wrong color mode Day

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:16:51.242 pm [info](http://192.168.1.63/installedapp/configure/150)Setting dimmers [Kitchen Lights] to 100

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:16:51.189 pm [info](http://192.168.1.63/installedapp/configure/150)Motion active Kitchen Motion

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:07:03.582 pm [info](http://192.168.1.63/installedapp/configure/150)Turning off

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:06:03.564 pm [info](http://192.168.1.63/installedapp/configure/150)Delaying off for 1 minute

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:06:03.462 pm [info](http://192.168.1.63/installedapp/configure/150)Motion inactive Kitchen Motion

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:05:02.529 pm [info](http://192.168.1.63/installedapp/configure/150)Kitchen Lights turned on

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:05:02.440 pm [info](http://192.168.1.63/installedapp/configure/150)Not turning on color: wrong color mode Day

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:05:02.350 pm [info](http://192.168.1.63/installedapp/configure/150)Setting dimmers [Kitchen Lights] to 100

[app:150](http://192.168.1.63/logs/past#app150)2019-08-06 04:05:02.298 pm [info](http://192.168.1.63/installedapp/configure/150)Motion active Kitchen Motion

All my Motion Lighting is not working this morning! Rebooted, still not.
****SOLVED, sort of: Was in AWAY MODE due to not detecting my Phone Presence. I have all mine set not to run in AWAY MODE.

Yeah my issue is not to do with that. The mode is correct. Glad yours is solved !

Please repost this as a screenshot instead of copy/paste. And please describe what is not happening that you think should be happening.

Sure. Essentially the light is not turning on during day mode. The motion sensor is showing as active but light just doesn't go on. It looks like In the logs it is on.

Then 30 minutes later, you walk into that room and the lights will come on or there is a huge delay of say 20 seconds before the lights turn on.

Will post screenshot soon

If the logs are showing the light being turned on when it should be, that is the logs from Motion Lighting, then the issue is something else. Is this a Z-Wave light?

it's a lifx group using lifx group of groups driver.

So just now, the lights didn't respond. Looking at logs, motion was not detected by the sensor so it could be my zigbee network is not strong.

motion didn't detect until (7:51am) but I had walked in there at 7:48am

you'll see event fired at 7:48am on motion sensor but the app didn't trigger until minutes later.

This motion sensor is about 6 metres from the hub and has a repeater near it (the 3a nue dimmer). But I do have smartthings zigbee running still (channel 15 whilst hubitat is on channel 26) so that could be the reason.

Can't be sure but I have seen alot of people saying channel about 21 seem to be a issue on some devices and your using a known issue device (xiaomi) that doesn't follow standard ZigBee standards (hence why it's not supported). So maybe try changing the channel?

thanks @BorrisTheCat - I might need to just bite the bullet and move everything over.

Channel 26 is not advisable at all. It has 4dB less transmit power then the other channels. If HE utilizes the max transmit power. I've set mine to channel 11 just to be sure and moved my wifi to other side of the band.

1 Like

will try channel 11. thank you

1 Like

bit the bullet and put everything over. so now all zigbee devices are on hubitat. (yayz). creating the rules is super fast tho on the lan compared to doing it via st so i should have all my rule setup pretty quickly. initial checks seems like the network is nice and strong now and zigbee response is fast. (i hope it stays!)

1 Like

Actually. Logs are not showing light's been turned on. (From what I can tell)

At 6.39 pm motion was detected (when I walked into room) and light's didn't respond at all. Logs on light's show nothing after 626pm. They are still working manually in hubitat app tho.

Only unique thing about this lifx group is it's made up off:
Four GU10 lifx down light's
1 lifx z strip.
All under the one group.

The other lifx groups respond great. So im thinking it's that... Tho there is one other group with same setup that has zero issues. It's just the kitchen group.

And then about five minutes later new motion detected and it does turn on the lights

Here's the rule again

I'd really appreciate any advice on this

That's very odd, and I can't say that I know what's going on here.

Alright thanks. Any tips on what I can try to resolve it ?

Could the app install be bad. I could remove that rule and re do it. I think I have already tho.

so the common setup between the two motion lighting rules that i'm having this issue is both rules use dimmer & color actions.

kitchen rule:

dining rules:

Perhaps there is a bug where you use both types? or is that against the rules?

i'm gong to break out the color rule for asleep mode into a sep motion lighting rule

No, this is not a problem. I can do this just fine in a test. The mystery is why nothing is being logged when it fails.

Looking at your logs again, when it fails, it is in the time window of the 6 minutes delayed off. So the app thinks the lights are still on at that point. Did you turn them off through some other mechanism than the app? If so, it could be that the app doesn't see that off happening, and doesn't turn them on out of the (mistaken) belief they are already on. Yet, when you wait 5 minutes, it turns them off at the end of the timer, knows they are off, and so turns them on as it should.

hey @bravenel thanks for the reply.

Nope there are no manual interactions here. you'll note at the start of the log when it first should turn on (kitchen) there was no interaction prior for at least 20 minutes (i know you can't see those logs ) . the lights were off, the motion was active for over 10 minutes.

I am having issues with my lounge one as well which also has sep rules for color. it's easy for me to test this setup and wil see how it goes. but it's very odd there is no log when nothing happens as you say.

happy to help with whatever additional info you might need?