Skip to content

Losing Connection after sometime with ESP32 gateway #48

Description

@DuPunk

I have the integration setup with the ESP32 gateway and have most the functionality i need. My problem in that the addon will periodically stop communicating with the lock and i have to restart the addon to to regain communication. bellow is the log when it stops communication.

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 Timeout.reconnectToLock [as _onTimeout] (/app/src/manager.js:837:22)
Connect failed
Lock connect failed
Unsuccessful connect attempt to paired lock xx:xx:xx:10:0C:54

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions