Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do i need to unpair with my phone for this to work? #44

Open
stevearmitage opened this issue Aug 25, 2022 · 2 comments
Open

Do i need to unpair with my phone for this to work? #44

stevearmitage opened this issue Aug 25, 2022 · 2 comments

Comments

@stevearmitage
Copy link

I have setup the lock with my phone and the app. To use the HomeAssistant integration, do I need to reset the lock and disconnect from the app? It looks like my Bluetooth can see the phone, but not pair/connect

Is there a way I can maintain existing fingerprints?

Thanks!

@mikewesner
Copy link

Im just starting to play with this, but I got this far. I had to reset the lock from the back of the lock and use TTLock only. You can't have both paired. You have to reset it and redo the fingerprints.

@stevearmitage
Copy link
Author

I get the device showing, but it does not pair
Screenshot 2022-09-01 at 11 19 34

I get the following in my logs

BLE Scan started
Emmiting paramsChanged { batteryCapacity: true, newEvents: false, lockedStatus: false }
BLE Scan stopped
Refreshing paired locks
Monitor started
Monitor stopped
Peripheral connect start
Peripheral connect triggered
Peripheral connect error: Error: connection canceled!
    at Peripheral.cancelConnect (/app/node_modules/@abandonware/noble/lib/peripheral.js:61:26)
    at NobleDevice.connect (/app/node_modules/ttlock-sdk-js/dist/scanner/noble/NobleDevice.js:91:37)
    at async TTBluetoothDevice.connect (/app/node_modules/ttlock-sdk-js/dist/device/TTBluetoothDevice.js:47:17)
    at async TTLock.connect (/app/node_modules/ttlock-sdk-js/dist/device/TTLock.js:53:27)
    at async Manager._connectLock (/app/src/manager.js:583:21)
    at async Manager.initLock (/app/src/manager.js:163:13)
    at async WebSocket.<anonymous> (/app/api/index.js:52:30)
Connect failed
Lock connect failed
Connect to lock failed 2E:39:B6:C6:EB:C6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants