grover / homebridge-ranger

A HomeKit range extender for Bluetooth Low Energy (BLE) accessories.
MIT License
73 stars 15 forks source link

UnhandledPromiseRejectionWarning: Error: Command Disallowed (0xc) #22

Open palasinio opened 5 years ago

palasinio commented 5 years ago

Hi, after updating firmware of my EVE Tehrmo I had to readd the device, but this failed:

(node:6259) UnhandledPromiseRejectionWarning: Error: Command Disallowed (0xc)
    at NobleBindings.onLeConnComplete (/usr/local/lib/node_modules/homebridge-ranger/node_modules/noble/lib/hci-socket/bindings.js:220:13)
    at Hci.emit (events.js:159:13)
    at Hci.processCmdStatusEvent (/usr/local/lib/node_modules/homebridge-ranger/node_modules/noble/lib/hci-socket/hci.js:674:12)
    at Hci.onSocketData (/usr/local/lib/node_modules/homebridge-ranger/node_modules/noble/lib/hci-socket/hci.js:469:12)
    at BluetoothHciSocket.emit (events.js:159:13)
(node:6259) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:6259) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Do you have an Idea?