Does anyone know how to decode adminkeyboardps and adminps from the newsciener table?
The data looks like this:
NjgsNjYsNjUsNzcsNjUsNzAsNjUsNjgsNjQsNjYsMTA=.
Did you resolve this issue ? If so what was it ?
I am experiencing a similar issue and getting similar log entries to yours…
I tried with 2 different types of TTLock brands and they both present with the same issue and same log entries. They both fail to pair.
I ordered a different Bluetooth USB dongle to use on HA in case the current dongle is causing this.
MQTT connected
Monitor started
Server started
Monitor stopped
BLE Scan started
BLE Scan stopped
Refreshing paired locks
Monitor started
Monitor stopped
BLE Scan started
Discovered new lock: {"id":"ffcd810da338","manufacturer":"unknown","model":"unknown","hardware":"unknown","firmware":"unknown","address":"FF:CD:81:0D:A3:38","rssi":70,"protocolType":5,"protocolVersion":3,"scene":2,"groupId":0,"orgId":0,"lockType":5,"isTouch":true,"isUnlock":false,"hasEvents":false,"isSettingMode":true,"txPowerLevel":0,"batteryCapacity":55,"date":0,"isWristband":false,"isRoomLock":true,"isSafeLock":false,"isBicycleLock":false,"isLockcar":false,"isGlassLock":false,"isPadLock":false,"isCyLinder":false,"isRemoteControlDevice":false,"isDfuMode":false,"isNoLockService":false,"remoteUnlockSwitch":0,"disconnectStatus":0,"parkStatus":0,"lockSound":-1,"autoLockTime":-1,"privateData":{},"operationLog":[]}
New lock found, stopping scan
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:62: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 FF:CD:81:0D:A3:38
Peripheral connect triggered
Connect failed
Lock connect failed
Connect to lock failed FF:CD:81:0D:A3:38
It looks like it is base64, in which case it decodes to this:
68,66,65,77,65,70,65,68,64,66,10
This is a great project, and I was hoping to have a working offline TTLock add on. After trying everything discussed here and more to get it working I ended up hiring a specialist developer. Now I have an updated and working Bluetooth gateway. We are in process of fixing some TTlock addon Bluetooth issues. Soon we expect to have a working and supported TTLock offline addon release for one of the top selling TTlock models;
DESLOC Smart Lock B200
We are considering supporting other popular TTLock models and providing prebuilt images of the updated and tested version of this gateway (eliminating having to buy the official TTLock gateway used with a TTLock Bluetooth lock)
In order to continue maintaining this addon and provide some level of support the prebuild image will be made available for purchase for around $30 USD (in the price range of the TTLock gateway that will not be needed). The updated and tested version of the offline addon will likely be included at no additional cost.
I’d appreciate if whoever is interested in supporting this effort and like to down the working prebuild image mentioned to let me know.
Will you be including the simpled smart locks?
just to be clear, when you talk about a prebuilt image, are we talking about something that runs on the server’s native bluetooth, or an esp32 image or…?
My server is nowhere near my lock (outside of bluetooth’s limited range).
Please share a link to one of their top selling models to look into including these.
It will be an esp32 image to extend the range by placing the esp32 device near the lock(s).
Would it work with TTLOCK K-3 ? I am looking into connecting this via BLE to a ESP32, which has 4G capability. I want to remotely add passcodes and RFID cards. If this was possible I wouldnt mind paying $30 (when its complete)
You guys should really make a python lib using bleak to speak to the lock. That way standard ble proxies in home assistant would work to access the lock.
Just my two cents.
Thank you for make such good effort into it.
It will be great if my simple but waterproof fingerprint/RFID supported TTLOCK models would work too!
https://a.aliexpress.com/_mPoUo0h
Thanks appreciate it!