98oktay / homebridge-philips-tv6

Homebridge Plugin for Android Philips Tv Api 6
13 stars 20 forks source link

UnhandledPromiseRejectionWarning: Error: ETIMEDOUT #2

Open Chimera4915 opened 4 years ago

Chimera4915 commented 4 years ago

Hey, when my philips tv is not turned on Homebridge pulls out this error:

(node:11081) UnhandledPromiseRejectionWarning: Error: ETIMEDOUT
    at Timeout.<anonymous> (/usr/local/lib/node_modules/homebridge-philips-tv6/node_modules/request/request.js:848:19)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)

(node:11081) 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: 1729)

This error appears very often and seems to block the homebridge server in kind of way. Would be awesome if you could fix this issue!

By the way: are you planning to extend the ambilight feature? Would be very cool to turn on the ambilight in any color without turning the tv on.