ethayer / lock-manager

Lock Manager
MIT License
209 stars 665 forks source link

Battery Status Not Updating #77

Open cpmiller22 opened 6 years ago

cpmiller22 commented 6 years ago

I have a Kwikset 910 and I noticed the battery status was not staying up to date. Even after I replaced my batteries it was reporting 1%. After doing some research I noticed njschwartz had posted some code in the forums to fix it. I have added the following in the device handler and is seems to have resolve the issue:

def refresh() {
    def cmds = [secure(zwave.doorLockV1.doorLockOperationGet())]

I added this line aright after to fix: cmds << secure(zwave.batteryV1.batteryGet())

I'd like to suggest this get committed to the main code branch.

Thanks-

Chris

marcaugust commented 6 years ago

I have a Kwikset 914 & Kwikset 916 both of which can provide battery status. However I only see the status reported for the 914. Any suggestions or help would be greatly appreciated. Thank you