kind3r / hass-addons

Integration of the offline TTLock sdk into Home Assistant
59 stars 21 forks source link

Lock not updating status correctly #50

Open donovan4d opened 10 months ago

donovan4d commented 10 months ago

I have this set up and working pretty well with raykube k8 lock The lock controller work fairly well but the issue I'm getting is that the lock always dufults to locked after a few minutes no matter the status. I have the lock set up to not auto relock and it is in fack unlocked but the status is not correct. It also does not change when I manually unlock if with a fingerprint, code, or card

ttlock-hass-integration@0.2.1 start node ./index.js MQTT connected Monitor started Discovered paired lock: REDACTED Monitor stopped Peripheral connect start Server started Peripheral connect triggered Peripheral state: connected Device emiting connected BLE Device reading basic info BLE Device discover services start BLE Device discover services end BLE Device read characteristics start BLE Device read characteristics end BLE Device read characteristics start BLE Device read characteristics end BLE Device read basic info BLE Device subscribed Connected to known lock, reading general data ========= feature list Lock waiting for connection to be completed <Buffer REDACTED> ========= feature list Set(19) { 0, 1, 2, 4, 5, 6, 7, 8, 12, 13, 14, 15, 18, 19, 22, 24, 28, 29, 30 } ========= check admin ========= check admin: REDACTED ========= check random ========= check random ========= autoLockTime ========= autoLockTime: 0 ========= lockSound ========= lockSound: 0 Connected to paired lock REDACTED Successful connect attempt to paired lock REDACTED ========= get OperationLog 65535 ========= get OperationLog 21 ========= get OperationLog 22 ========= get OperationLog 22 ========= get OperationLog 22

Lock was unlocked <<<<<< Lock was unlocked <<<<<< Lock is now locked <<<<<< Disconnected from lock