Double "Turn on switch" from motion rule

I don't know why this bothers me but it does. My logs show that two commands to turn on a Z-Wave switch are sent about 500 ms apart when a rule fires. I have this simple rule:

Figuring that it is a bug in the simple rule engine I paused it and rewrote it as full RM rule:

Both versions end up sending TWO commands.

Is this a bug in the Rule Machine?

That is strange. @bravenel any thoughts?

I would bet on the driver/device sending back two responses …

The physical device is a pretty vanilla Jasco Z-Wave Plus switch. Using generic built in driver. In case this helps. I agree, it's a mystery and I don't care for mysteries when it comes to technology. Movies are another story.

The device events tab only shows one "command on" though.

Only creates an event if the value changed

1 Like

Are the Basement Stairs controlled through another rule / app? They also appear in the logs twice. Could be unrelated I know, but could also point to something else that is at play...

What if you check the "In Use By" for both the motion sensor and the lights involved?

Funny. I hadn't noticed that. Yes, both are logged twice. Yes, there's a Motion and Lighting app that manages the basement stair lights. It's separate from this app, though that's for historical reasons.

disconnect it from the other rule (put a virtual in it's place) and see if that stops the double log entries.

Sorry you misunderstood. Only the staircase lights are managed in the other one.


But @sburke781 made a good observation. Both are sent on messages twice. Or respond twice. I take it that this doesn't happen to anyone else then. Hmmm.

It does seem that all of my Jasco Z-wave Plus switches (but not dimmers) are getting logged twice.


In this scenario the one motion sensor turns on both sets of lights. They are two adjoining rooms. Perplexing. I don't know if it's always been like this. I was troubleshooting something with that one light or I might not have noticed. The entries about about 300-400 ms apart. DOn't know if two Z-wave commands are being sent or what.

If you go to the device's event page does it show where the command came from?

Yes but it only shows up once. As seen in this post: Double "Turn on switch" from motion rule - #5 by wiegout

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