beele / HomebridgeLgSmartThinqAirco

Homebridge plugin for controlling a split unit LG SmartThinq Airco unit
GNU General Public License v3.0
30 stars 7 forks source link

Help Understanding Error #24

Open Ledbetter14 opened 4 years ago

Ledbetter14 commented 4 years ago

I've just installed this and have an error being thrown: c:\users\study.homebridge\instance2/wideq_state.json 2020-10-18 18:23:17 DEBUG [wideq.example] State file found 'c:\users\study.homebridge\instance2\wideq_state.json' 2020-10-18 18:23:17 DEBUG [wideq.example] State file found 'c:\users\study.homebridge\instance2\wideq_state.json'

2020-10-18 18:23:18 DEBUG [wideq.example] Wrote state file 'c:\users\study.homebridge\instance2\wideq_state.json'

2020-10-18 18:23:18 DEBUG [wideq.example] Wrote state file 'c:\users\study.homebridge\instance2\wideq_state.json'

2020-10-18 18:23:28 ERROR [wideq.example] <class 'wideq.core.APIError'>

(node:5648) UnhandledPromiseRejectionWarning: Error: Could not change isOn state of the AC unit! at LgAircoController.setPowerState (C:\Users\Study\AppData\Roaming\npm\node_modules\homebridge-lg-airco\src\lg\lg-airco-controller.js:39:23) at processTicksAndRejections (internal/process/task_queues.js:97:5)

(Use node --trace-warnings ... to show where the warning was created) (node:5648) 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: 1) (node:5648) [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. 2020-10-18 18:23:29 ERROR [wideq.example] <class 'wideq.core.InvalidRequestError'>

It is a ducted system (AC DUCT_626301_AU), 6 zone. Any help would be greatly appreciated.