Motion Lighting App does not turn off when door closes

Hello. I'm using the Motion Lighting App in several zones, with multiple motion sensors and some door sensors. Everything is working except that closing a door does not initiate the timer to turn off the lights later. If a motion sensor is triggered shortly before or after the door opens and closes, the motion sensor initiates the timer and the lights turn off.
Is this a bug in the app?
Thanks.

Have you tried enabling logging on the rule to see what is happening?

It would help if you could post a screenshot of your rule and the logs, but unfortunately since this is your first message, the system won’t let you yet… You may need to go through the @discobot tutorial first.

You may also want to try this in Simple Rules rather than the Motion Lighting App to see if it works for you.

Hi! To find out what I can do, say @discobot display help.

This is not a feature of the app. There is an option for closing a door to turn off the lights, but not to turn them off later.

You can get what you want by using this little app that makes a contact sensor act like a motion sensor, and including the created motion sensor in Motion Lighting:

2 Likes

Thanks, Bruce. I had seen this code before, but I thought it was to be installed as a driver, and that failed.
I have installed it as an app, but probably not correctly. How do I associate it with my contact sensors?
I tried "Add User App", and that lets me assign a new name to "Contact-Motion", but I don't find my new name anywhere, and it's not associated with a specific contact sensor, anyway. Should it show up in the list of Motion Sensors?

Thanks.

You select the contact sensors you want to use as a motion sensor, like this:

Once you hit Done, it creates a virtual motion sensor with name you gave it at the top, in this case 'My contacts become motion'.

When the contact opens, motion goes active, and when it closes, it goes inactive. So if you include this motion sensor in Motion Lighting, opening the door turns on the lights, and closing it starts the turn-off timer. Or, you can use it as an 'Additional motion sensor to prevent turning off', in which case opening the door would not turn on the lights, but closing it would start the timer, assuming there was no other motion in the room.

1 Like

I was entering the new name under Install New User App. I didn't realize that was a search field, so I wasn't getting anywhere.

I think it's working now. Thanks.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.