Repeated Switch status and event trigger lag


#1

I'm having an issue that I can't seem to avoid. I can have light switches show single events in the logs but as soon as I turn on some rules I made I see multiple on and off physical events and it seems to be lagging out my Hubitat.

Here is an example rule that as soon as I trigger results in the repeated events. I've tried several variations of this this rule and it keeps happening.

dev:542019-05-08 11:01:51.627 pm infoKitchen Sink Switch is off [physical]
dev:542019-05-08 11:01:51.437 pm infoKitchen Sink Switch is off [physical]
dev:542019-05-08 11:01:51.186 pm infoKitchen Sink Switch is off [physical]
dev:2892019-05-08 11:01:50.976 pm infoKitchen Entrance Switch is off [physical]
dev:2892019-05-08 11:01:50.744 pm infoKitchen Entrance Switch is off [physical]
dev:542019-05-08 11:01:50.564 pm infoKitchen Sink Switch is off [physical]
dev:542019-05-08 11:01:50.326 pm infoKitchen Sink Switch is off [physical]
dev:542019-05-08 11:01:50.116 pm infoKitchen Sink Switch is off [physical]
dev:2892019-05-08 11:01:49.904 pm infoKitchen Entrance Switch is off [physical]
dev:2892019-05-08 11:01:49.697 pm infoKitchen Entrance Switch is off [physical]
dev:542019-05-08 11:01:49.474 pm infoKitchen Sink Switch is off [physical]
dev:542019-05-08 11:01:49.260 pm infoKitchen Sink Switch is off [physical]
dev:542019-05-08 11:01:49.073 pm infoKitchen Sink Switch is off [physical]
dev:542019-05-08 11:01:48.818 pm infoKitchen Sink Switch is off [physical]
dev:542019-05-08 11:01:48.588 pm infoKitchen Sink Switch is off [physical]
dev:542019-05-08 11:01:48.365 pm infoKitchen Sink Switch is off [physical]
dev:2892019-05-08 11:01:48.128 pm infoKitchen Entrance Switch is off [physical]
dev:542019-05-08 11:01:47.899 pm infoKitchen Sink Switch is off [physical]
dev:2892019-05-08 11:01:47.695 pm infoKitchen Entrance Switch is off [physical]
dev:542019-05-08 11:01:47.473 pm infoKitchen Sink Switch is off [physical]
dev:2892019-05-08 11:01:47.275 pm infoKitchen Entrance Switch is off [physical]
dev:2892019-05-08 11:01:47.044 pm infoKitchen Entrance Switch is off [digital]
app:3652019-05-08 11:01:42.855 pm infoMirror Kitchen Off: became False
app:3652019-05-08 11:01:42.813 pm infoMirror Kitchen Off: Kitchen Sink Switch switch off
dev:542019-05-08 11:01:42.679 pm infoKitchen Sink Switch was turned off[digital]
app:3652019-05-08 11:01:39.423 pm infoMirror Kitchen Off: became True
app:3652019-05-08 11:01:39.360 pm infoMirror Kitchen Off: Kitchen Switch switch off
dev:532019-05-08 11:01:39.258 pm infoKitchen Switch was turned off[physical]

Am I doing something wrong or is this just my devices polluting the z-wave network and the Hubitat is having to digest it and causing the system to lag.


#2

Those are your devices reporting. What kind of devices are these?


#3

Leviton DZ15S-1BZ z-wave plus switches with firmware at 1.20. Hubitat currently has the device type as Generic Z-wave smart switch.


#4

I'm probably not understanding the logic, but it appears to me that triggered rule will never be true. The trigger is either switch turning off but the definition is for either on. That can't happen, can it?

Edit: nevermind! I see what you're doing.


#5

If any of the two switches turn off after being on it will test to see if the other switch is on still and then turn it off and some others. It's basically attempting to mirror switch states and I added the rules to avoid the kitchen from turning into a rave as they fight turning each other off and on when I'm a little faster on the physical switches than the Hubitat. The If statements are unneeded and added in an attempt to try and stop repeating events.


#6

I saw that as soon as I hit the reply button. Sorry.


#7

I suggest you turn on rule logging to see what the rule is doing in some detail.


#8

Thank you, looks like to me it is the device sometimes doing it. Turned on debug logging for the device and sometimes is spits out several hails which I assume are status change alerts.