explosivo22 / kwikset-ha

Kwikset Smart Locks integration for Home Assistant. The Kwikset App is exclusively for use with Kwikset Halo, Halo Touch, and Aura smart locks.
Apache License 2.0
34 stars 2 forks source link

Lock/Unlock doesn't work. #39

Closed trigat closed 1 year ago

trigat commented 1 year ago

This isn't working at all with HA version 2022.11.4.

I can view the battery status but lock/unlock functionality doesn't work.

trigat commented 1 year ago

I enabled logs with:

logger:
  logs:
    # log level for a custom component
    custom_components.kwikset: debug

    # log level for the `aiohttp` Python package
    aiokwikset: debug

The output I'm getting is:

2022-11-27 13:04:49.176 DEBUG (MainThread) [custom_components.kwikset] Kwikset device data: {'audiostatus': 'true', 'ledstatus': 'true', 'securescreenstatus': 'true', 'autolockstate': 'false', 'autolockdelay': 30, 'lastupdatestatus': 1669574419, 'batterystatus': 'Normal Operating State', 'batterypercentage': 45, 'doorstatus': 'Unlocked', 'locktamperstate': '', 'securemodeenabled': 'Disabled', 'securemodeactive': 'InActive', 'alexasetup': False, 'alexahomelockstatus': '', 'googlehomesetup': False, 'googleunlockpinsetup': False, 'googlehomelockstatus': '', 'clearedeventhistorytimestamp': 0, 'bleadvertisement': '5', 'modelnumber': 'HALO-01', 'productfamily': 'Wi-Fi Lock', 'sku': '939-00X', 'serialnumber': 'XXXX', 'firmwarebundleversion': '02.07.47.00', 'firmwareupdateavailable': False, 'forcefirmwareupdate': False, 'devicetimezone': 'GMT-6:00', 'hardwarevariant': '0', 'originalHardwareVariant': '8'}
2022-11-27 13:04:49.176 DEBUG (MainThread) [custom_components.kwikset] Finished fetching kwikset-XXXX data in 0.265 seconds (success: True)
explosivo22 commented 1 year ago

I just installed this again on a clean HA environment just to rule out anything on my end and everything seems to be working. Yours still not working or has it started again? Can you confirm the lock is online?

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ItsBurnt commented 1 year ago

This is still a problem.

explosivo22 commented 1 year ago

With the debug enabled, can you try to unlock and lock the door? I have tried this on more than one instance and I can't replicate this so if you could share anything that would be great.

explosivo22 commented 1 year ago

A new release has just been published. Let me know if this helps out any as a few backend things have changed. I also added a little more debugging to hopefully get some more information if not.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.