Kwikset Zigbee and Zwave locks generate different event values

Hello @mike.maxwell

Hub FW 2.0.6.112

I just added a Kwikset Zigbee lock and it is generating different values in the events than my older Kwikset Zwave lock. The Zigbee lock does not set digital=true or type=digital for hub commands (it does set physical=false), and the description text is different. More importantly, keypad operations on the Zigbee lock generate two events

Zigbee Manual Unlock
floatValue=0.0,digital=false,unixTime=1552485597857,deviceId=1604,jsonData=null,locationId=null,date=Wed Mar 13 07:59:57 MDT 2019,dateValue=null,id=6967660,numberValue=null,hubId=null,doubleValue=0.0,location=null,descriptionText=Front Door Lock was unlocked by manual,name=lock,physical=true,archivable=true,device=Front Door Lock,value=unlocked,translatable=false,type=physical,unit=null,installedAppId=null,class=class com.hubitat.hub.domain.Event,isStateChange=true,longValue=0,numericValue=null,displayed=true,integerValue=0,data=null,description=null,linkText=Front Door Lock,source=DEVICE,displayName=Front Door Lock

Zwave Manual Unlock
floatValue=0.0,digital=false,unixTime=1552485264335,deviceId=240,jsonData=null,locationId=null,date=Wed Mar 13 07:54:24 MDT 2019,dateValue=null,id=6967469,numberValue=null,hubId=null,doubleValue=0.0,location=null,descriptionText=Veranda Door Lock was unlocked manually [physical],name=lock,physical=true,archivable=true,device=Veranda Door Lock,value=unlocked,translatable=false,type=physical,unit=null,installedAppId=null,class=class com.hubitat.hub.domain.Event,isStateChange=true,longValue=0,numericValue=null,displayed=true,integerValue=0,data=null,description=null,linkText=Veranda Door Lock,source=DEVICE,displayName=Veranda Door Lock

Zigbee Hub Command Unlock
floatValue=0.0,digital=false,unixTime=1552485386200,deviceId=1604,jsonData=null,locationId=null,date=Wed Mar 13 07:56:26 MDT 2019,dateValue=null,id=6967523,numberValue=null,hubId=null,doubleValue=0.0,location=null,descriptionText=Front Door Lock was unlocked,name=lock,physical=false,archivable=true,device=Front Door Lock,value=unlocked,translatable=false,type=null,unit=null,installedAppId=null,class=class com.hubitat.hub.domain.Event,isStateChange=true,longValue=0,numericValue=null,displayed=true,integerValue=0,data=null,description=null,linkText=Front Door Lock,source=DEVICE,displayName=Front Door Lock

Zwave Hub Command Unlock
floatValue=0.0,digital=true,unixTime=1552485215515,deviceId=240,jsonData=null,locationId=null,date=Wed Mar 13 07:53:35 MDT 2019,dateValue=null,id=6967445,numberValue=null,hubId=null,doubleValue=0.0,location=null,descriptionText=Veranda Door Lock was unlocked via command [digital],name=lock,physical=false,archivable=true,device=Veranda Door Lock,value=unlocked,translatable=false,type=digital,unit=null,installedAppId=null,class=class com.hubitat.hub.domain.Event,isStateChange=true,longValue=0,numericValue=null,displayed=true,integerValue=0,data=null,description=null,linkText=Veranda Door Lock,source=DEVICE,displayName=Veranda Door Lock

Zigbee Hub Command Lock
floatValue=0.0,digital=false,unixTime=1552485463897,deviceId=1604,jsonData=null,locationId=null,date=Wed Mar 13 07:57:43 MDT 2019,dateValue=null,id=6967559,numberValue=null,hubId=null,doubleValue=0.0,location=null,descriptionText=Front Door Lock was locked,name=lock,physical=false,archivable=true,device=Front Door Lock,value=locked,translatable=false,type=null,unit=null,installedAppId=null,class=class com.hubitat.hub.domain.Event,isStateChange=true,longValue=0,numericValue=null,displayed=true,integerValue=0,data=null,description=null,linkText=Front Door Lock,source=DEVICE,displayName=Front Door Lock

Zwave Hub Command Lock
floatValue=0.0,digital=true,unixTime=1552485235800,deviceId=240,jsonData=null,locationId=null,date=Wed Mar 13 07:53:55 MDT 2019,dateValue=null,id=6967460,numberValue=null,hubId=null,doubleValue=0.0,location=null,descriptionText=Veranda Door Lock was locked via command [digital],name=lock,physical=false,archivable=true,device=Veranda Door Lock,value=locked,translatable=false,type=digital,unit=null,installedAppId=null,class=class com.hubitat.hub.domain.Event,isStateChange=true,longValue=0,numericValue=null,displayed=true,integerValue=0,data=null,description=null,linkText=Veranda Door Lock,source=DEVICE,displayName=Veranda Door Lock

Zigbee Manual Lock
floatValue=0.0,digital=false,unixTime=1552485666179,deviceId=1604,jsonData=null,locationId=null,date=Wed Mar 13 08:01:06 MDT 2019,dateValue=null,id=6967696,numberValue=null,hubId=null,doubleValue=0.0,location=null,descriptionText=Front Door Lock was locked by manual,name=lock,physical=true,archivable=true,device=Front Door Lock,value=locked,translatable=false,type=physical,unit=null,installedAppId=null,class=class com.hubitat.hub.domain.Event,isStateChange=true,longValue=0,numericValue=null,displayed=true,integerValue=0,data=null,description=null,linkText=Front Door Lock,source=DEVICE,displayName=Front Door Lock

Zwave Manual Lock
floatValue=0.0,digital=false,unixTime=1552485308238,deviceId=240,jsonData=null,locationId=null,date=Wed Mar 13 07:55:08 MDT 2019,dateValue=null,id=6967494,numberValue=null,hubId=null,doubleValue=0.0,location=null,descriptionText=Veranda Door Lock was locked manually [physical],name=lock,physical=true,archivable=true,device=Veranda Door Lock,value=locked,translatable=false,type=physical,unit=null,installedAppId=null,class=class com.hubitat.hub.domain.Event,isStateChange=true,longValue=0,numericValue=null,displayed=true,integerValue=0,data=null,description=null,linkText=Veranda Door Lock,source=DEVICE,displayName=Veranda Door Lock

Zigbee Keypad Lock
floatValue=0.0,digital=false,unixTime=1552485608859,deviceId=1604,jsonData=null,locationId=null,date=Wed Mar 13 08:00:08 MDT 2019,dateValue=null,id=6967668,numberValue=null,hubId=null,doubleValue=0.0,location=null,descriptionText=Front Door Lock was locked by keypad,name=lock,physical=true,archivable=true,device=Front Door Lock,value=locked,translatable=false,type=physical,unit=null,installedAppId=null,class=class com.hubitat.hub.domain.Event,isStateChange=true,longValue=0,numericValue=null,displayed=true,integerValue=0,data=null,description=null,linkText=Front Door Lock,source=DEVICE,displayName=Front Door Lock
floatValue=0.0,digital=false,unixTime=1552485608853,deviceId=1604,jsonData=null,locationId=null,date=Wed Mar 13 08:00:08 MDT 2019,dateValue=null,id=6967669,numberValue=null,hubId=null,doubleValue=0.0,location=null,descriptionText=Front Door Lock was locked,name=lock,physical=false,archivable=true,device=Front Door Lock,value=locked,translatable=false,type=null,unit=null,installedAppId=null,class=class com.hubitat.hub.domain.Event,isStateChange=true,longValue=0,numericValue=null,displayed=true,integerValue=0,data=null,description=null,linkText=Front Door Lock,source=DEVICE,displayName=Front Door Lock

Zwave Keypad Lock
floatValue=0.0,digital=false,unixTime=1552485284049,deviceId=240,jsonData=null,locationId=null,date=Wed Mar 13 07:54:44 MDT 2019,dateValue=null,id=6967488,numberValue=null,hubId=null,doubleValue=0.0,location=null,descriptionText=Veranda Door Lock was locked via keypad [physical],name=lock,physical=true,archivable=true,device=Veranda Door Lock,value=locked,translatable=false,type=physical,unit=null,installedAppId=null,class=class com.hubitat.hub.domain.Event,isStateChange=true,longValue=0,numericValue=null,displayed=true,integerValue=0,data=null,description=null,linkText=Veranda Door Lock,source=DEVICE,displayName=Veranda Door Lock

Zigbee Keypad Unlock
floatValue=0.0,digital=false,unixTime=1552485656004,deviceId=1604,jsonData=null,locationId=null,date=Wed Mar 13 08:00:56 MDT 2019,dateValue=null,id=6967691,numberValue=null,hubId=null,doubleValue=0.0,location=null,descriptionText=Front Door Lock was unlocked,name=lock,physical=false,archivable=true,device=Front Door Lock,value=unlocked,translatable=false,type=null,unit=null,installedAppId=null,class=class com.hubitat.hub.domain.Event,isStateChange=true,longValue=0,numericValue=null,displayed=true,integerValue=0,data=null,description=null,linkText=Front Door Lock,source=DEVICE,displayName=Front Door Lock
floatValue=0.0,digital=false,unixTime=1552485655993,deviceId=1604,jsonData={1={code=, name=master}},locationId=null,date=Wed Mar 13 08:00:55 MDT 2019,dateValue=null,id=6967690,numberValue=null,hubId=null,doubleValue=0.0,location=null,descriptionText=Front Door Lock was unlocked by master,name=lock,physical=true,archivable=true,device=Front Door Lock,value=unlocked,translatable=false,type=physical,unit=null,installedAppId=null,class=class com.hubitat.hub.domain.Event,isStateChange=true,longValue=0,numericValue=null,displayed=true,integerValue=0,data={"1":{"name":"master","code":""}},description=null,linkText=Front Door Lock,source=DEVICE,displayName=Front Door Lock

Zwave Keypad Unlock
floatValue=0.0,digital=false,unixTime=1552485296300,deviceId=240,jsonData={1={code=, name=Master}},locationId=null,date=Wed Mar 13 07:54:56 MDT 2019,dateValue=null,id=6967493,numberValue=null,hubId=null,doubleValue=0.0,location=null,descriptionText=Veranda Door Lock was unlocked by Master,name=lock,physical=true,archivable=true,device=Veranda Door Lock,value=unlocked,translatable=false,type=physical,unit=null,installedAppId=null,class=class com.hubitat.hub.domain.Event,isStateChange=true,longValue=0,numericValue=null,displayed=true,integerValue=0,data={"1":{"name":"Master","code":""}},description=null,linkText=Veranda Door Lock,source=DEVICE,displayName=Veranda Door Lock

@mike.maxwell I've updated the hub to 2.0.7.126 and I'm still seeing duplicate events on the Kwikset Zigbee locks. This causes rules to fire twice.

@mlciskey I was just about to write a post regarding this same exact problem. Were you able to find a solution?

Thank you!

No I never found a way to resolve this.

This mostly affected me with echo speak and pushover notifications since the multiple unlock events would cause multiple echo announcements and notifications. I ended up adding a variable in my rule that would be true for 2 seconds then false, then added an if/exit rule condition to check if variable was true before sending another notification/announcement.

Unfortunately, I have no idea if it works because I rebooted my hubitat and now don't get multiple unlock events!

I spoke too soon.

In the past, the locks would report two seemingly identical unlock device events. Now they do differentiate between unlocking manually, digitally, or by code but only in the "description text" and "type" columns.

Rule machine still doesn't appear to care about the other two attributes, just the "value" which only shows locked and unlocked.

I'd guess a modified generic zigbee lock driver would work but I don't believe there are any templates to work off of.

I'm getting the same issue on a Kwikset Zigbee lock. Did you ever solve this? In my case there are 2 events less than a second apart. The first saying it was locked and the second saying how. Both seem to trigger the rule.

|lock|locked||Back Door Lock was locked|DEVICE||2019-12-11 08:37:28.968 PM CST|

|lock|locked||Back Door Lock was locked by manual|DEVICE|physical|2019-12-11 08:37:28.963 PM CST|

No, I programmed around it by checking for events coming in together but that didn't always work