UnhandledPromiseRejectionWarning
log is not defined:  (/usr/local/lib/node_modules/homebridge-tplink-smarthome/lib/homekit-device/index.js:102:11)


[Glow] device.send() Error: connect EHOSTUNREACH 192.168.1.49:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
 {
  errno: -113,
  code: 'EHOSTUNREACH',
  syscall: 'connect',
  address: '192.168.1.49',
  port: 9999
}
(node:1486) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'log' of undefined
    at logRejection (/usr/local/lib/node_modules/homebridge-tplink-smarthome/lib/homekit-device/index.js:102:11)
    at runMicrotasks (<anonymous>:null:null)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

(node:1486) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1378)
(node:1486) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'log' of undefined
    at logRejection (/usr/local/lib/node_modules/homebridge-tplink-smarthome/lib/homekit-device/index.js:102:11)
    at runMicrotasks (<anonymous>:null:null)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

(node:1486) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1379)
(node:1486) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'log' of undefined
    at logRejection (/usr/local/lib/node_modules/homebridge-tplink-smarthome/lib/homekit-device/index.js:102:11)
    at runMicrotasks (<anonymous>:null:null)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

(node:1486) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1380)
(node:1486) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'log' of undefined
    at logRejection (/usr/local/lib/node_modules/homebridge-tplink-smarthome/lib/homekit-device/index.js:102:11)
    at runMicrotasks (<anonymous>:null:null)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

(node:1486) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1381)
(node:1486) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'log' of undefined
    at logRejection (/usr/local/lib/node_modules/homebridge-tplink-smarthome/lib/homekit-device/index.js:102:11)
    at runMicrotasks (<anonymous>:null:null)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

(node:1486) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1382)