Appreciate if anyone can point me some direction on this plugin error. I am sure my Livolo Cloud username and password is correct (because I can login to Livolo app), but could not get the plugin running properly with below error:
Any pointer will be appreciated. Fyi, i am iot enthusiast but not a coder.
========================
[9/11/2021, 10:57:49 AM] Homebridge v1.3.4 (Homebridge A65E) is running on port 53784.
(node:11538) UnhandledPromiseRejectionWarning: FetchError: invalid json response body at http://eu.appnew.livolo.com:8080/app/user/login/query?user_name=%redactedUserName% reason: Unexpected token < in JSON at position 0
at /homebridge/node_modules/homebridge-livolo-switches/node_modules/node-fetch/lib/index.js:272:32
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at LivoloApi.connect (/homebridge/node_modules/homebridge-livolo-switches/lib/livolo-api.js:30:20)
(Use node --trace-warnings ... to show where the warning was created)
(node:11538) 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: 2)
(node:11538) [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.
================================__
Appreciate if anyone can point me some direction on this plugin error. I am sure my Livolo Cloud username and password is correct (because I can login to Livolo app), but could not get the plugin running properly with below error:
Any pointer will be appreciated. Fyi, i am iot enthusiast but not a coder. ======================== [9/11/2021, 10:57:49 AM] Homebridge v1.3.4 (Homebridge A65E) is running on port 53784. (node:11538) UnhandledPromiseRejectionWarning: FetchError: invalid json response body at http://eu.appnew.livolo.com:8080/app/user/login/query?user_name=%redactedUserName% reason: Unexpected token < in JSON at position 0 at /homebridge/node_modules/homebridge-livolo-switches/node_modules/node-fetch/lib/index.js:272:32 at processTicksAndRejections (internal/process/task_queues.js:95:5) at LivoloApi.connect (/homebridge/node_modules/homebridge-livolo-switches/lib/livolo-api.js:30:20) (Use
node --trace-warnings ...
to show where the warning was created) (node:11538) 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: 2) (node:11538) [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. ================================__