Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recent Error Behavior with LG Wifi AC - Device Status Sync Inconsistent #325

Open
JasonGoldenDDT opened this issue Dec 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@JasonGoldenDDT
Copy link

Recent debug data
Node: 22.12.0 - MacOS 15.2
Screenshot 2024-12-11 at 8 43 12 AM

Due to the way debug data is printed, it's difficult to extract this error information summary in a single shot. Ideally the error data includes a date time stamp. When using console to filter the log data, I can't include the complete picture because additional lines don't include timestamps or related detail.

Here are all of the error references I found in the log.

�[37m[11/10/2024, 4:05:39 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[11/28/2024, 12:28:00 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[11/28/2024, 7:18:19 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[11/30/2024, 8:58:26 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/1/2024, 10:00:04 PM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/3/2024, 1:47:19 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/3/2024, 2:35:27 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/3/2024, 4:59:19 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/3/2024, 5:31:35 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/3/2024, 6:55:15 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/5/2024, 2:36:22 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/5/2024, 12:32:33 PM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/6/2024, 12:26:26 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/6/2024, 6:22:39 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/6/2024, 7:30:49 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/6/2024, 10:44:06 PM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/6/2024, 10:44:06 PM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/6/2024, 10:44:06 PM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/7/2024, 2:08:09 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/7/2024, 2:22:31 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/10/2024, 4:36:07 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/10/2024, 10:08:27 PM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/10/2024, 10:52:27 PM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/10/2024, 10:52:33 PM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/10/2024, 10:52:33 PM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/11/2024, 12:58:32 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/11/2024, 1:58:33 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/11/2024, 1:58:33 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/11/2024, 2:10:23 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/11/2024, 2:10:33 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/11/2024, 2:10:33 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/11/2024, 2:10:33 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/11/2024, 4:46:23 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/11/2024, 4:46:33 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/11/2024, 4:46:33 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/11/2024, 4:46:33 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/11/2024, 4:59:18 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[37m[12/11/2024, 4:59:18 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m

some of the error codes produced.

�[90m  data: { resultCode: '0100', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0111', result: { data: '' } }�[39m
�[90m  data: { resultCode: '9006', result: '' }�[39m
�[90m  data: { resultCode: '9006', result: '' }�[39m
�[90m  data: { resultCode: '0100', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0100', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0111', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0100', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0100', result: { data: '' } }�[39m
�[90m  data: { resultCode: '9006', result: '' }�[39m
�[90m  data: { resultCode: '0111', result: { data: '' } }�[39m
�[90m  data: { resultCode: '9006', result: '' }�[39m
�[90m  data: { resultCode: '0100', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0100', result: { data: '' } }�[39m
�[90m  data: { resultCode: '9006', result: '' }�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0100', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0111', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0100', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0111', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0111', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0111', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m

and a sample of the most recent "0103" message.

�[37m[12/11/2024, 4:53:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90m[request] post https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control�[39m
�[37m[12/11/2024, 4:53:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mThinQ Device Received the Command�[39m
�[37m[12/11/2024, 4:54:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90m[request] post https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control�[39m
�[37m[12/11/2024, 4:54:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mThinQ Device Received the Command�[39m
�[37m[12/11/2024, 4:55:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90m[request] post https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control�[39m
�[37m[12/11/2024, 4:55:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mThinQ Device Received the Command�[39m
�[37m[12/11/2024, 4:56:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90m[request] post https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control�[39m
�[37m[12/11/2024, 4:56:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mThinQ Device Received the Command�[39m
�[37m[12/11/2024, 4:56:08 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mSet power on =  0  - current status =  true�[39m
�[37m[12/11/2024, 4:56:13 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mmqtt message received: {"controlResult":{"messageId":"I3y9DjGMS9x5gdKb61qLlP","deviceId":"Redacted","returnCode":"0000"}}�[39m
�[37m[12/11/2024, 4:56:13 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90m[request] post https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control-sync�[39m
�[37m[12/11/2024, 4:56:13 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mThinQ Device Received the Command�[39m
�[37m[12/11/2024, 4:56:57 AM] �[39m�[36m[homebridge-webos-tv]�[39m �[90m[Display] Connecting to TV�[39m
�[37m[12/11/2024, 4:56:57 AM] �[39m�[36m[homebridge-webos-tv]�[39m �[90m[Display] Connecting to TV�[39m
�[37m[12/11/2024, 4:57:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90m[request] post https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control�[39m
�[37m[12/11/2024, 4:57:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mThinQ Device Received the Command�[39m
�[37m[12/11/2024, 4:58:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90m[request] post https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control�[39m
�[37m[12/11/2024, 4:58:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mThinQ Device Received the Command�[39m
�[37m[12/11/2024, 4:59:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90m[request] post https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control�[39m
�[37m[12/11/2024, 4:59:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mThinQ Device Received the Command�[39m
�[37m[12/11/2024, 4:59:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mSet power on =  0  - current status =  false�[39m
�[37m[12/11/2024, 4:59:05 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mmqtt message received: {"controlResult":{"messageId":"HEOl8rDa41FeT5LHZIrbfv","deviceId":"Redacted","returnCode":"0000"}}�[39m
�[37m[12/11/2024, 4:59:05 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90m[request] post https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control-sync�[39m
�[37m[12/11/2024, 4:59:05 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mThinQ Device Received the Command�[39m
�[37m[12/11/2024, 4:59:08 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mSet power on =  1  - current status =  false�[39m
�[37m[12/11/2024, 4:59:08 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mmqtt message received: {"controlResult":{"messageId":"3niDbknz5Ls6Fcl6lAzf0v","deviceId":"Redacted","returnCode":"0000"}}�[39m
�[37m[12/11/2024, 4:59:08 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90m[request] post https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control-sync�[39m
�[37m[12/11/2024, 4:59:08 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mThinQ Device Received the Command�[39m
�[37m[12/11/2024, 4:59:18 AM] �[39m�[36m[homebridge-lg-thinq]�[39m Set fan speed =  5
�[37m[12/11/2024, 4:59:18 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mSet power on =  1  - current status =  true�[39m
�[37m[12/11/2024, 4:59:18 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mSet target AC mode =  2�[39m
�[37m[12/11/2024, 4:59:18 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90m[request] post https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control-sync�[39m
�[37m[12/11/2024, 4:59:18 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mThinQ Device Received the Command�[39m
�[37m[12/11/2024, 4:59:18 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mmqtt message received: {"controlResult":{"messageId":"yHpuZNfHFgeBAbYmmbS0eG","deviceId":"Redacted","returnCode":"0103"}}�[39m
�[37m[12/11/2024, 4:59:18 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mmqtt message received: {"controlResult":{"messageId":"h8X9j9IDBwfJSOnA3ONQ9a","deviceId":"Redacted","returnCode":"0103"}}�[39m
�[37m[12/11/2024, 4:59:18 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[90m  status: 400,�[39m
�[90m  statusText: 'Bad Request',�[39m
�[90m  headers: Object [AxiosHeaders] {�[39m
�[90m    date: 'Wed, 11 Dec 2024 14:59:18 GMT',�[39m
�[90m    'content-type': 'application/json;charset=UTF-8',�[39m
�[90m    'content-length': '61',�[39m
�[90m    connection: 'keep-alive',�[39m
�[90m    server: 'istio-envoy',�[39m
�[90m    vary: 'Accept-Encoding,Origin',�[39m
�[90m    'x-envoy-upstream-service-time': '90',�[39m
�[90m    'x-krakend': 'Version undefined',�[39m
�[90m    'x-krakend-completed': 'false',�[39m
�[90m    'x-xss-protection': '1; mode=block',�[39m
�[90m    'x-envoy-decorator-operation': 'tcn-public-apigw.ns-cluster.svc.cluster.local:8080/*'�[39m
�[90m  },�[39m
�[90m  config: {�[39m
�[90m    transitional: {�[39m
�[90m      silentJSONParsing: true,�[39m
�[90m      forcedJSONParsing: true,�[39m
�[90m      clarifyTimeoutError: false�[39m
�[90m    },�[39m
�[90m    adapter: [ 'xhr', 'http', 'fetch' ],�[39m
�[90m    transformRequest: [ [Function: transformRequest] ],�[39m
�[90m    transformResponse: [ [Function: transformResponse] ],�[39m
�[90m    timeout: 60000,�[39m
�[90m    xsrfCookieName: 'XSRF-TOKEN',�[39m
�[90m    xsrfHeaderName: 'X-XSRF-TOKEN',�[39m
�[90m    maxContentLength: -1,�[39m
�[90m    maxBodyLength: -1,�[39m
�[90m    env: { FormData: [Function], Blob: [class Blob] },�[39m
�[90m    validateStatus: [Function: validateStatus],�[39m
�[90m    headers: Object [AxiosHeaders] {�[39m
�[90m      Accept: 'application/json, text/plain, */*',�[39m
�[90m      'Content-Type': 'application/json',�[39m
�[90m      'x-api-key': 'VGhpblEyLjAgU0VSVklDRQ==',�[39m
�[90m      'x-thinq-app-ver': '3.6.1200',�[39m
�[90m      'x-thinq-app-type': 'NUTS',�[39m
�[90m      'x-thinq-app-level': 'PRD',�[39m
�[90m      'x-thinq-app-os': 'ANDROID',�[39m
�[90m      'x-thinq-app-logintype': 'LGE',�[39m
�[90m      'x-service-code': 'SVC202',�[39m
�[90m      'x-country-code': 'US',�[39m
�[90m      'x-language-code': 'en-US',�[39m
�[90m      'x-service-phase': 'OP',�[39m
�[90m      'x-origin': 'app-native',�[39m
�[90m      'x-model-name': 'samsung/SM-G930L',�[39m
�[90m      'x-os-version': 'AOS/7.1.2',�[39m
�[90m      'x-app-version': 'LG ThinQ/3.6.12110',�[39m
�[90m      'x-message-id': 'yHpuZNfHFgeBAbYmmbS0eG',�[39m
�[90m      'user-agent': 'okhttp/3.14.9',�[39m
�[90m      'x-emp-token': 'Redacted',�[39m
�[90m      'x-user-no': 'US2403234358488',�[39m
�[90m      'x-client-id': 'Redacted',�[39m
�[90m      'Content-Length': '161',�[39m
�[90m      'Accept-Encoding': 'gzip, compress, deflate, br'�[39m
�[90m    },�[39m
�[90m    method: 'post',�[39m
�[90m    url: 'https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control-sync',�[39m
�[90m    data: '{"ctrlKey":"favoriteCtrl","command":"Set","dataKey":null,"dataValue":null,"dataSetList":{"airState.wDir.vStep":"0","airState.wDir.hStep":"0"},"dataGetList":null}',�[39m
�[90m    'axios-retry': {�[39m
�[90m      retries: 2,�[39m
�[90m      retryCondition: [Function: retryCondition],�[39m
�[90m      retryDelay: [Function: retryDelay],�[39m
�[90m      shouldResetTimeout: true,�[39m
�[90m      onRetry: [Function: onRetry],�[39m
�[90m      onMaxRetryTimesExceeded: [Function: onMaxRetryTimesExceeded],�[39m
�[90m      validateResponse: null,�[39m
�[90m      retryCount: 0,�[39m
�[90m      lastRequestTime: 1733929158592�[39m
�[90m    }�[39m
�[90m  },�[39m
�[90m  request: <ref *1> ClientRequest {�[39m
�[90m    _events: [Object: null prototype] {�[39m
�[90m      abort: [Function (anonymous)],�[39m
�[90m      aborted: [Function (anonymous)],�[39m
�[90m      connect: [Function (anonymous)],�[39m
�[90m      error: [Function (anonymous)],�[39m
�[90m      socket: [Function (anonymous)],�[39m
�[90m      timeout: [Function (anonymous)],�[39m
�[90m      finish: [Function: requestOnFinish]�[39m
�[90m    },�[39m
�[90m    _eventsCount: 7,�[39m
�[90m    _maxListeners: undefined,�[39m
�[90m    outputData: [],�[39m
�[90m    outputSize: 0,�[39m
�[90m    writable: true,�[39m
�[90m    destroyed: true,�[39m
�[90m    _last: false,�[39m
�[90m    chunkedEncoding: false,�[39m
�[90m    shouldKeepAlive: true,�[39m
�[90m    maxRequestsOnConnectionReached: false,�[39m
�[90m    _defaultKeepAlive: true,�[39m
�[90m    useChunkedEncodingByDefault: true,�[39m
�[90m    sendDate: false,�[39m
�[90m    _removedConnection: false,�[39m
�[90m    _removedContLen: false,�[39m
�[90m    _removedTE: false,�[39m
�[90m    strictContentLength: false,�[39m
�[90m    _contentLength: '161',�[39m
�[90m    _hasBody: true,�[39m
�[90m    _trailer: '',�[39m
�[90m    finished: true,�[39m
�[90m    _headerSent: true,�[39m
�[90m    _closed: true,�[39m
�[90m    _header: 'POST /v1/service/devices/Redacted/control-sync HTTP/1.1\r\n' +�[39m
�[90m      'Accept: application/json, text/plain, */*\r\n' +�[39m
�[90m      'Content-Type: application/json\r\n' +�[39m
�[90m      'x-api-key: VGhpblEyLjAgU0VSVklDRQ==\r\n' +�[39m
�[90m      'x-thinq-app-ver: 3.6.1200\r\n' +�[39m
�[90m      'x-thinq-app-type: NUTS\r\n' +�[39m
�[90m      'x-thinq-app-level: PRD\r\n' +�[39m
�[90m      'x-thinq-app-os: ANDROID\r\n' +�[39m
�[90m      'x-thinq-app-logintype: LGE\r\n' +�[39m
�[90m      'x-service-code: SVC202\r\n' +�[39m
�[90m      'x-country-code: US\r\n' +�[39m
�[90m      'x-language-code: en-US\r\n' +�[39m
�[90m      'x-service-phase: OP\r\n' +�[39m
�[90m      'x-origin: app-native\r\n' +�[39m
�[90m      'x-model-name: samsung/SM-G930L\r\n' +�[39m
�[90m      'x-os-version: AOS/7.1.2\r\n' +�[39m
�[90m      'x-app-version: LG ThinQ/3.6.12110\r\n' +�[39m
�[90m      'x-message-id: yHpuZNfHFgeBAbYmmbS0eG\r\n' +�[39m
�[90m      'user-agent: okhttp/3.14.9\r\n' +�[39m
�[90m      'x-emp-token: Redacted\r\n' +�[39m
�[90m      'x-user-no: US2403234358488\r\n' +�[39m
�[90m      'x-client-id: Redacted\r\n' +�[39m
�[90m      'Content-Length: 161\r\n' +�[39m
�[90m      'Accept-Encoding: gzip, compress, deflate, br\r\n' +�[39m
�[90m      'Host: aic-service.lgthinq.com:46030\r\n' +�[39m
�[90m      'Connection: keep-alive\r\n' +�[39m
�[90m      '\r\n',�[39m
�[90m    _keepAliveTimeout: 0,�[39m
�[90m    _onPendingData: [Function: nop],�[39m
�[90m    agent: Agent {�[39m
�[90m      _events: [Object: null prototype],�[39m
�[90m      _eventsCount: 2,�[39m
�[90m      _maxListeners: undefined,�[39m
�[90m      defaultPort: 443,�[39m
�[90m      protocol: 'https:',�[39m
�[90m      options: [Object: null prototype],�[39m
�[90m      requests: [Object: null prototype] {},�[39m
�[90m      sockets: [Object: null prototype],�[39m
�[90m      freeSockets: [Object: null prototype],�[39m
�[90m      keepAliveMsecs: 1000,�[39m
�[90m      keepAlive: true,�[39m
�[90m      maxSockets: Infinity,�[39m
�[90m      maxFreeSockets: 256,�[39m
�[90m      scheduling: 'lifo',�[39m
�[90m      maxTotalSockets: Infinity,�[39m
�[90m      totalSocketCount: 4,�[39m
�[90m      maxCachedSessions: 100,�[39m
�[90m      _sessionCache: [Object],�[39m
�[90m      [Symbol(shapeMode)]: false,�[39m
�[90m      [Symbol(kCapture)]: false�[39m
�[90m    },�[39m
�[90m    socketPath: undefined,�[39m
�[90m    method: 'POST',�[39m
�[90m    maxHeaderSize: undefined,�[39m
�[90m    insecureHTTPParser: undefined,�[39m
�[90m    joinDuplicateHeaders: undefined,�[39m
�[90m    path: '/v1/service/devices/Redacted/control-sync',�[39m
�[90m    _ended: true,�[39m
�[90m    res: IncomingMessage {�[39m
�[90m      _events: [Object],�[39m
�[90m      _readableState: [ReadableState],�[39m
�[90m      _maxListeners: undefined,�[39m
�[90m      socket: null,�[39m
�[90m      httpVersionMajor: 1,�[39m
�[90m      httpVersionMinor: 1,�[39m
�[90m      httpVersion: '1.1',�[39m
�[90m      complete: true,�[39m
�[90m      rawHeaders: [Array],�[39m
�[90m      rawTrailers: [],�[39m
�[90m      joinDuplicateHeaders: undefined,�[39m
�[90m      aborted: false,�[39m
�[90m      upgrade: false,�[39m
�[90m      url: '',�[39m
�[90m      method: null,�[39m
�[90m      statusCode: 400,�[39m
�[90m      statusMessage: 'Bad Request',�[39m
�[90m      client: [TLSSocket],�[39m
�[90m      _consuming: false,�[39m
�[90m      _dumped: false,�[39m
�[90m      req: [Circular *1],�[39m
�[90m      _eventsCount: 4,�[39m
�[90m      responseUrl: 'https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control-sync',�[39m
�[90m      redirects: [],�[39m
�[90m      [Symbol(shapeMode)]: true,�[39m
�[90m      [Symbol(kCapture)]: false,�[39m
�[90m      [Symbol(kHeaders)]: [Object],�[39m
�[90m      [Symbol(kHeadersCount)]: 24,�[39m
�[90m      [Symbol(kTrailers)]: null,�[39m
�[90m      [Symbol(kTrailersCount)]: 0�[39m
�[90m    },�[39m
�[90m    aborted: false,�[39m
�[90m    timeoutCb: null,�[39m
�[90m    upgradeOrConnect: false,�[39m
�[90m    parser: null,�[39m
�[90m    maxHeadersCount: null,�[39m
�[90m    reusedSocket: false,�[39m
�[90m    host: 'aic-service.lgthinq.com',�[39m
�[90m    protocol: 'https:',�[39m
�[90m    _redirectable: Writable {�[39m
�[90m      _events: [Object],�[39m
�[90m      _writableState: [WritableState],�[39m
�[90m      _maxListeners: undefined,�[39m
�[90m      _options: [Object],�[39m
�[90m      _ended: true,�[39m
�[90m      _ending: true,�[39m
�[90m      _redirectCount: 0,�[39m
�[90m      _redirects: [],�[39m
�[90m      _requestBodyLength: 161,�[39m
�[90m      _requestBodyBuffers: [],�[39m
�[90m      _eventsCount: 3,�[39m
�[90m      _onNativeResponse: [Function (anonymous)],�[39m
�[90m      _currentRequest: [Circular *1],�[39m
�[90m      _currentUrl: 'https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control-sync',�[39m
�[90m      _timeout: null,�[39m
�[90m      [Symbol(shapeMode)]: true,�[39m
�[90m      [Symbol(kCapture)]: false�[39m
�[90m    },�[39m
�[90m    [Symbol(shapeMode)]: false,�[39m
�[90m    [Symbol(kCapture)]: false,�[39m
�[90m    [Symbol(kBytesWritten)]: 0,�[39m
�[90m    [Symbol(kNeedDrain)]: false,�[39m
�[90m    [Symbol(corked)]: 0,�[39m
�[90m    [Symbol(kChunkedBuffer)]: [],�[39m
�[90m    [Symbol(kChunkedLength)]: 0,�[39m
�[90m    [Symbol(kSocket)]: TLSSocket {�[39m
�[90m      _tlsOptions: [Object],�[39m
�[90m      _secureEstablished: true,�[39m
�[90m      _securePending: false,�[39m
�[90m      _newSessionPending: false,�[39m
�[90m      _controlReleased: true,�[39m
�[90m      secureConnecting: false,�[39m
�[90m      _SNICallback: null,�[39m
�[90m      servername: 'aic-service.lgthinq.com',�[39m
�[90m      alpnProtocol: false,�[39m
�[90m      authorized: true,�[39m
�[90m      authorizationError: null,�[39m
�[90m      encrypted: true,�[39m
�[90m      _events: [Object: null prototype],�[39m
�[90m      _eventsCount: 9,�[39m
�[90m      connecting: false,�[39m
�[90m      _hadError: false,�[39m
�[90m      _parent: null,�[39m
�[90m      _host: 'aic-service.lgthinq.com',�[39m
�[90m      _closeAfterHandlingError: false,�[39m
�[90m      _readableState: [ReadableState],�[39m
�[90m      _writableState: [WritableState],�[39m
�[90m      allowHalfOpen: false,�[39m
�[90m      _maxListeners: undefined,�[39m
�[90m      _sockname: null,�[39m
�[90m      _pendingData: null,�[39m
�[90m      _pendingEncoding: '',�[39m
�[90m      server: undefined,�[39m
�[90m      _server: null,�[39m
�[90m      ssl: [TLSWrap],�[39m
�[90m      _requestCert: true,�[39m
�[90m      _rejectUnauthorized: true,�[39m
�[90m      timeout: 5000,�[39m
�[90m      parser: null,�[39m
�[90m      _httpMessage: null,�[39m
�[90m      autoSelectFamilyAttemptedAddresses: [Array],�[39m
�[90m      [Symbol(alpncallback)]: null,�[39m
�[90m      [Symbol(res)]: [TLSWrap],�[39m
�[90m      [Symbol(verified)]: true,�[39m
�[90m      [Symbol(pendingSession)]: null,�[39m
�[90m      [Symbol(async_id_symbol)]: -1,�[39m
�[90m      [Symbol(kHandle)]: [TLSWrap],�[39m
�[90m      [Symbol(lastWriteQueueSize)]: 0,�[39m
�[90m      [Symbol(timeout)]: Timeout {�[39m
�[90m        _idleTimeout: 5000,�[39m
�[90m        _idlePrev: [TimersList],�[39m
�[90m        _idleNext: [Timeout],�[39m
�[90m        _idleStart: 71843874,�[39m
�[90m        _onTimeout: [Function: bound ],�[39m
�[90m        _timerArgs: undefined,�[39m
�[90m        _repeat: null,�[39m
�[90m        _destroyed: false,�[39m
�[90m        [Symbol(refed)]: false,�[39m
�[90m        [Symbol(kHasPrimitive)]: false,�[39m
�[90m        [Symbol(asyncId)]: 119253,�[39m
�[90m        [Symbol(triggerId)]: 119251,�[39m
�[90m        [Symbol(kAsyncContextFrame)]: undefined�[39m
�[90m      },�[39m
�[90m      [Symbol(kBuffer)]: null,�[39m
�[90m      [Symbol(kBufferCb)]: null,�[39m
�[90m      [Symbol(kBufferGen)]: null,�[39m
�[90m      [Symbol(shapeMode)]: true,�[39m
�[90m      [Symbol(kCapture)]: false,�[39m
�[90m      [Symbol(kSetNoDelay)]: false,�[39m
�[90m      [Symbol(kSetKeepAlive)]: true,�[39m
�[90m      [Symbol(kSetKeepAliveInitialDelay)]: 1,�[39m
�[90m      [Symbol(kBytesRead)]: 0,�[39m
�[90m      [Symbol(kBytesWritten)]: 0,�[39m
�[90m      [Symbol(connect-options)]: [Object]�[39m
�[90m    },�[39m
�[90m    [Symbol(kOutHeaders)]: [Object: null prototype] {�[39m
�[90m      accept: [Array],�[39m
�[90m      'content-type': [Array],�[39m
�[90m      'x-api-key': [Array],�[39m
�[90m      'x-thinq-app-ver': [Array],�[39m
�[90m      'x-thinq-app-type': [Array],�[39m
�[90m      'x-thinq-app-level': [Array],�[39m
�[90m      'x-thinq-app-os': [Array],�[39m
�[90m      'x-thinq-app-logintype': [Array],�[39m
�[90m      'x-service-code': [Array],�[39m
�[90m      'x-country-code': [Array],�[39m
�[90m      'x-language-code': [Array],�[39m
�[90m      'x-service-phase': [Array],�[39m
�[90m      'x-origin': [Array],�[39m
�[90m      'x-model-name': [Array],�[39m
�[90m      'x-os-version': [Array],�[39m
�[90m      'x-app-version': [Array],�[39m
�[90m      'x-message-id': [Array],�[39m
�[90m      'user-agent': [Array],�[39m
�[90m      'x-emp-token': [Array],�[39m
�[90m      'x-user-no': [Array],�[39m
�[90m      'x-client-id': [Array],�[39m
�[90m      'content-length': [Array],�[39m
�[90m      'accept-encoding': [Array],�[39m
�[90m      host: [Array]�[39m
�[90m    },�[39m
�[90m    [Symbol(errored)]: null,�[39m
�[90m    [Symbol(kHighWaterMark)]: 65536,�[39m
�[90m    [Symbol(kRejectNonStandardBodyWrites)]: false,�[39m
�[90m    [Symbol(kUniqueHeaders)]: null�[39m
�[90m  },�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m}�[39m
�[37m[12/11/2024, 4:59:18 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mThinQ Device Did Not Received the Command�[39m
�[37m[12/11/2024, 4:59:18 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mrequest error:  {�[39m
�[90m  status: 400,�[39m
�[90m  statusText: 'Bad Request',�[39m
�[90m  headers: Object [AxiosHeaders] {�[39m
�[90m    date: 'Wed, 11 Dec 2024 14:59:18 GMT',�[39m
�[90m    'content-type': 'application/json;charset=UTF-8',�[39m
�[90m    'content-length': '61',�[39m
�[90m    connection: 'keep-alive',�[39m
�[90m    server: 'istio-envoy',�[39m
�[90m    vary: 'Accept-Encoding,Origin',�[39m
�[90m    'x-envoy-upstream-service-time': '103',�[39m
�[90m    'x-krakend': 'Version undefined',�[39m
�[90m    'x-krakend-completed': 'false',�[39m
�[90m    'x-xss-protection': '1; mode=block',�[39m
�[90m    'x-envoy-decorator-operation': 'tcn-public-apigw.ns-cluster.svc.cluster.local:8080/*'�[39m
�[90m  },�[39m
�[90m  config: {�[39m
�[90m    transitional: {�[39m
�[90m      silentJSONParsing: true,�[39m
�[90m      forcedJSONParsing: true,�[39m
�[90m      clarifyTimeoutError: false�[39m
�[90m    },�[39m
�[90m    adapter: [ 'xhr', 'http', 'fetch' ],�[39m
�[90m    transformRequest: [ [Function: transformRequest] ],�[39m
�[90m    transformResponse: [ [Function: transformResponse] ],�[39m
�[90m    timeout: 60000,�[39m
�[90m    xsrfCookieName: 'XSRF-TOKEN',�[39m
�[90m    xsrfHeaderName: 'X-XSRF-TOKEN',�[39m
�[90m    maxContentLength: -1,�[39m
�[90m    maxBodyLength: -1,�[39m
�[90m    env: { FormData: [Function], Blob: [class Blob] },�[39m
�[90m    validateStatus: [Function: validateStatus],�[39m
�[90m    headers: Object [AxiosHeaders] {�[39m
�[90m      Accept: 'application/json, text/plain, */*',�[39m
�[90m      'Content-Type': 'application/json',�[39m
�[90m      'x-api-key': 'VGhpblEyLjAgU0VSVklDRQ==',�[39m
�[90m      'x-thinq-app-ver': '3.6.1200',�[39m
�[90m      'x-thinq-app-type': 'NUTS',�[39m
�[90m      'x-thinq-app-level': 'PRD',�[39m
�[90m      'x-thinq-app-os': 'ANDROID',�[39m
�[90m      'x-thinq-app-logintype': 'LGE',�[39m
�[90m      'x-service-code': 'SVC202',�[39m
�[90m      'x-country-code': 'US',�[39m
�[90m      'x-language-code': 'en-US',�[39m
�[90m      'x-service-phase': 'OP',�[39m
�[90m      'x-origin': 'app-native',�[39m
�[90m      'x-model-name': 'samsung/SM-G930L',�[39m
�[90m      'x-os-version': 'AOS/7.1.2',�[39m
�[90m      'x-app-version': 'LG ThinQ/3.6.12110',�[39m
�[90m      'x-message-id': 'h8X9j9IDBwfJSOnA3ONQ9a',�[39m
�[90m      'user-agent': 'okhttp/3.14.9',�[39m
�[90m      'x-emp-token': 'Redacted',�[39m
�[90m      'x-user-no': 'US2403234358488',�[39m
�[90m      'x-client-id': 'Redacted',�[39m
�[90m      'Content-Length': '92',�[39m
�[90m      'Accept-Encoding': 'gzip, compress, deflate, br'�[39m
�[90m    },�[39m
�[90m    method: 'post',�[39m
�[90m    url: 'https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control-sync',�[39m
�[90m    data: '{"ctrlKey":"basicCtrl","command":"Set","dataKey":"airState.tempState.target","dataValue":16}',�[39m
�[90m    'axios-retry': {�[39m
�[90m      retries: 2,�[39m
�[90m      retryCondition: [Function: retryCondition],�[39m
�[90m      retryDelay: [Function: retryDelay],�[39m
�[90m      shouldResetTimeout: true,�[39m
�[90m      onRetry: [Function: onRetry],�[39m
�[90m      onMaxRetryTimesExceeded: [Function: onMaxRetryTimesExceeded],�[39m
�[90m      validateResponse: null,�[39m
�[90m      retryCount: 0,�[39m
�[90m      lastRequestTime: 1733929158592�[39m
�[90m    }�[39m
�[90m  },�[39m
�[90m  request: <ref *1> ClientRequest {�[39m
�[90m    _events: [Object: null prototype] {�[39m
�[90m      abort: [Function (anonymous)],�[39m
�[90m      aborted: [Function (anonymous)],�[39m
�[90m      connect: [Function (anonymous)],�[39m
�[90m      error: [Function (anonymous)],�[39m
�[90m      socket: [Function (anonymous)],�[39m
�[90m      timeout: [Function (anonymous)],�[39m
�[90m      finish: [Function: requestOnFinish]�[39m
�[90m    },�[39m
�[90m    _eventsCount: 7,�[39m
�[90m    _maxListeners: undefined,�[39m
�[90m    outputData: [],�[39m
�[90m    outputSize: 0,�[39m
�[90m    writable: true,�[39m
�[90m    destroyed: true,�[39m
�[90m    _last: false,�[39m
�[90m    chunkedEncoding: false,�[39m
�[90m    shouldKeepAlive: true,�[39m
�[90m    maxRequestsOnConnectionReached: false,�[39m
�[90m    _defaultKeepAlive: true,�[39m
�[90m    useChunkedEncodingByDefault: true,�[39m
�[90m    sendDate: false,�[39m
�[90m    _removedConnection: false,�[39m
�[90m    _removedContLen: false,�[39m
�[90m    _removedTE: false,�[39m
�[90m    strictContentLength: false,�[39m
�[90m    _contentLength: '92',�[39m
�[90m    _hasBody: true,�[39m
�[90m    _trailer: '',�[39m
�[90m    finished: true,�[39m
�[90m    _headerSent: true,�[39m
�[90m    _closed: true,�[39m
�[90m    _header: 'POST /v1/service/devices/Redacted/control-sync HTTP/1.1\r\n' +�[39m
�[90m      'Accept: application/json, text/plain, */*\r\n' +�[39m
�[90m      'Content-Type: application/json\r\n' +�[39m
�[90m      'x-api-key: VGhpblEyLjAgU0VSVklDRQ==\r\n' +�[39m
�[90m      'x-thinq-app-ver: 3.6.1200\r\n' +�[39m
�[90m      'x-thinq-app-type: NUTS\r\n' +�[39m
�[90m      'x-thinq-app-level: PRD\r\n' +�[39m
�[90m      'x-thinq-app-os: ANDROID\r\n' +�[39m
�[90m      'x-thinq-app-logintype: LGE\r\n' +�[39m
�[90m      'x-service-code: SVC202\r\n' +�[39m
�[90m      'x-country-code: US\r\n' +�[39m
�[90m      'x-language-code: en-US\r\n' +�[39m
�[90m      'x-service-phase: OP\r\n' +�[39m
�[90m      'x-origin: app-native\r\n' +�[39m
�[90m      'x-model-name: samsung/SM-G930L\r\n' +�[39m
�[90m      'x-os-version: AOS/7.1.2\r\n' +�[39m
�[90m      'x-app-version: LG ThinQ/3.6.12110\r\n' +�[39m
�[90m      'x-message-id: h8X9j9IDBwfJSOnA3ONQ9a\r\n' +�[39m
�[90m      'user-agent: okhttp/3.14.9\r\n' +�[39m
�[90m      'x-emp-token: Redacted\r\n' +�[39m
�[90m      'x-user-no: US2403234358488\r\n' +�[39m
�[90m      'x-client-id: Redacted\r\n' +�[39m
�[90m      'Content-Length: 92\r\n' +�[39m
�[90m      'Accept-Encoding: gzip, compress, deflate, br\r\n' +�[39m
�[90m      'Host: aic-service.lgthinq.com:46030\r\n' +�[39m
�[90m      'Connection: keep-alive\r\n' +�[39m
�[90m      '\r\n',�[39m
�[90m    _keepAliveTimeout: 0,�[39m
�[90m    _onPendingData: [Function: nop],�[39m
�[90m    agent: Agent {�[39m
�[90m      _events: [Object: null prototype],�[39m
�[90m      _eventsCount: 2,�[39m
�[90m      _maxListeners: undefined,�[39m
�[90m      defaultPort: 443,�[39m
�[90m      protocol: 'https:',�[39m
�[90m      options: [Object: null prototype],�[39m
�[90m      requests: [Object: null prototype] {},�[39m
�[90m      sockets: [Object: null prototype],�[39m
�[90m      freeSockets: [Object: null prototype],�[39m
�[90m      keepAliveMsecs: 1000,�[39m
�[90m      keepAlive: true,�[39m
�[90m      maxSockets: Infinity,�[39m
�[90m      maxFreeSockets: 256,�[39m
�[90m      scheduling: 'lifo',�[39m
�[90m      maxTotalSockets: Infinity,�[39m
�[90m      totalSocketCount: 4,�[39m
�[90m      maxCachedSessions: 100,�[39m
�[90m      _sessionCache: [Object],�[39m
�[90m      [Symbol(shapeMode)]: false,�[39m
�[90m      [Symbol(kCapture)]: false�[39m
�[90m    },�[39m
�[90m    socketPath: undefined,�[39m
�[90m    method: 'POST',�[39m
�[90m    maxHeaderSize: undefined,�[39m
�[90m    insecureHTTPParser: undefined,�[39m
�[90m    joinDuplicateHeaders: undefined,�[39m
�[90m    path: '/v1/service/devices/Redacted/control-sync',�[39m
�[90m    _ended: true,�[39m
�[90m    res: IncomingMessage {�[39m
�[90m      _events: [Object],�[39m
�[90m      _readableState: [ReadableState],�[39m
�[90m      _maxListeners: undefined,�[39m
�[90m      socket: null,�[39m
�[90m      httpVersionMajor: 1,�[39m
�[90m      httpVersionMinor: 1,�[39m
�[90m      httpVersion: '1.1',�[39m
�[90m      complete: true,�[39m
�[90m      rawHeaders: [Array],�[39m
�[90m      rawTrailers: [],�[39m
�[90m      joinDuplicateHeaders: undefined,�[39m
�[90m      aborted: false,�[39m
�[90m      upgrade: false,�[39m
�[90m      url: '',�[39m
�[90m      method: null,�[39m
�[90m      statusCode: 400,�[39m
�[90m      statusMessage: 'Bad Request',�[39m
�[90m      client: [TLSSocket],�[39m
�[90m      _consuming: false,�[39m
�[90m      _dumped: false,�[39m
�[90m      req: [Circular *1],�[39m
�[90m      _eventsCount: 4,�[39m
�[90m      responseUrl: 'https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control-sync',�[39m
�[90m      redirects: [],�[39m
�[90m      [Symbol(shapeMode)]: true,�[39m
�[90m      [Symbol(kCapture)]: false,�[39m
�[90m      [Symbol(kHeaders)]: [Object],�[39m
�[90m      [Symbol(kHeadersCount)]: 24,�[39m
�[90m      [Symbol(kTrailers)]: null,�[39m
�[90m      [Symbol(kTrailersCount)]: 0�[39m
�[90m    },�[39m
�[90m    aborted: false,�[39m
�[90m    timeoutCb: null,�[39m
�[90m    upgradeOrConnect: false,�[39m
�[90m    parser: null,�[39m
�[90m    maxHeadersCount: null,�[39m
�[90m    reusedSocket: false,�[39m
�[90m    host: 'aic-service.lgthinq.com',�[39m
�[90m    protocol: 'https:',�[39m
�[90m    _redirectable: Writable {�[39m
�[90m      _events: [Object],�[39m
�[90m      _writableState: [WritableState],�[39m
�[90m      _maxListeners: undefined,�[39m
�[90m      _options: [Object],�[39m
�[90m      _ended: true,�[39m
�[90m      _ending: true,�[39m
�[90m      _redirectCount: 0,�[39m
�[90m      _redirects: [],�[39m
�[90m      _requestBodyLength: 92,�[39m
�[90m      _requestBodyBuffers: [],�[39m
�[90m      _eventsCount: 3,�[39m
�[90m      _onNativeResponse: [Function (anonymous)],�[39m
�[90m      _currentRequest: [Circular *1],�[39m
�[90m      _currentUrl: 'https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control-sync',�[39m
�[90m      _timeout: null,�[39m
�[90m      [Symbol(shapeMode)]: true,�[39m
�[90m      [Symbol(kCapture)]: false�[39m
�[90m    },�[39m
�[90m    [Symbol(shapeMode)]: false,�[39m
�[90m    [Symbol(kCapture)]: false,�[39m
�[90m    [Symbol(kBytesWritten)]: 0,�[39m
�[90m    [Symbol(kNeedDrain)]: false,�[39m
�[90m    [Symbol(corked)]: 0,�[39m
�[90m    [Symbol(kChunkedBuffer)]: [],�[39m
�[90m    [Symbol(kChunkedLength)]: 0,�[39m
�[90m    [Symbol(kSocket)]: TLSSocket {�[39m
�[90m      _tlsOptions: [Object],�[39m
�[90m      _secureEstablished: true,�[39m
�[90m      _securePending: false,�[39m
�[90m      _newSessionPending: false,�[39m
�[90m      _controlReleased: true,�[39m
�[90m      secureConnecting: false,�[39m
�[90m      _SNICallback: null,�[39m
�[90m      servername: 'aic-service.lgthinq.com',�[39m
�[90m      alpnProtocol: false,�[39m
�[90m      authorized: true,�[39m
�[90m      authorizationError: null,�[39m
�[90m      encrypted: true,�[39m
�[90m      _events: [Object: null prototype],�[39m
�[90m      _eventsCount: 9,�[39m
�[90m      connecting: false,�[39m
�[90m      _hadError: false,�[39m
�[90m      _parent: null,�[39m
�[90m      _host: 'aic-service.lgthinq.com',�[39m
�[90m      _closeAfterHandlingError: false,�[39m
�[90m      _readableState: [ReadableState],�[39m
�[90m      _writableState: [WritableState],�[39m
�[90m      allowHalfOpen: false,�[39m
�[90m      _maxListeners: undefined,�[39m
�[90m      _sockname: null,�[39m
�[90m      _pendingData: null,�[39m
�[90m      _pendingEncoding: '',�[39m
�[90m      server: undefined,�[39m
�[90m      _server: null,�[39m
�[90m      ssl: [TLSWrap],�[39m
�[90m      _requestCert: true,�[39m
�[90m      _rejectUnauthorized: true,�[39m
�[90m      timeout: 5000,�[39m
�[90m      parser: null,�[39m
�[90m      _httpMessage: null,�[39m
�[90m      autoSelectFamilyAttemptedAddresses: [Array],�[39m
�[90m      [Symbol(alpncallback)]: null,�[39m
�[90m      [Symbol(res)]: [TLSWrap],�[39m
�[90m      [Symbol(verified)]: true,�[39m
�[90m      [Symbol(pendingSession)]: null,�[39m
�[90m      [Symbol(async_id_symbol)]: -1,�[39m
�[90m      [Symbol(kHandle)]: [TLSWrap],�[39m
�[90m      [Symbol(lastWriteQueueSize)]: 0,�[39m
�[90m      [Symbol(timeout)]: Timeout {�[39m
�[90m        _idleTimeout: 5000,�[39m
�[90m        _idlePrev: [TimersList],�[39m
�[90m        _idleNext: [Timeout],�[39m
�[90m        _idleStart: 71843879,�[39m
�[90m        _onTimeout: [Function: bound ],�[39m
�[90m        _timerArgs: undefined,�[39m
�[90m        _repeat: null,�[39m
�[90m        _destroyed: false,�[39m
�[90m        [Symbol(refed)]: false,�[39m
�[90m        [Symbol(kHasPrimitive)]: false,�[39m
�[90m        [Symbol(asyncId)]: 119273,�[39m
�[90m        [Symbol(triggerId)]: 119271,�[39m
�[90m        [Symbol(kAsyncContextFrame)]: undefined�[39m
�[90m      },�[39m
�[90m      [Symbol(kBuffer)]: null,�[39m
�[90m      [Symbol(kBufferCb)]: null,�[39m
�[90m      [Symbol(kBufferGen)]: null,�[39m
�[90m      [Symbol(shapeMode)]: true,�[39m
�[90m      [Symbol(kCapture)]: false,�[39m
�[90m      [Symbol(kSetNoDelay)]: false,�[39m
�[90m      [Symbol(kSetKeepAlive)]: true,�[39m
�[90m      [Symbol(kSetKeepAliveInitialDelay)]: 1,�[39m
�[90m      [Symbol(kBytesRead)]: 0,�[39m
�[90m      [Symbol(kBytesWritten)]: 0,�[39m
�[90m      [Symbol(connect-options)]: [Object]�[39m
�[90m    },�[39m
�[90m    [Symbol(kOutHeaders)]: [Object: null prototype] {�[39m
�[90m      accept: [Array],�[39m
�[90m      'content-type': [Array],�[39m
�[90m      'x-api-key': [Array],�[39m
�[90m      'x-thinq-app-ver': [Array],�[39m
�[90m      'x-thinq-app-type': [Array],�[39m
�[90m      'x-thinq-app-level': [Array],�[39m
�[90m      'x-thinq-app-os': [Array],�[39m
�[90m      'x-thinq-app-logintype': [Array],�[39m
�[90m      'x-service-code': [Array],�[39m
�[90m      'x-country-code': [Array],�[39m
�[90m      'x-language-code': [Array],�[39m
�[90m      'x-service-phase': [Array],�[39m
�[90m      'x-origin': [Array],�[39m
�[90m      'x-model-name': [Array],�[39m
�[90m      'x-os-version': [Array],�[39m
�[90m      'x-app-version': [Array],�[39m
�[90m      'x-message-id': [Array],�[39m
�[90m      'user-agent': [Array],�[39m
�[90m      'x-emp-token': [Array],�[39m
�[90m      'x-user-no': [Array],�[39m
�[90m      'x-client-id': [Array],�[39m
�[90m      'content-length': [Array],�[39m
�[90m      'accept-encoding': [Array],�[39m
�[90m      host: [Array]�[39m
�[90m    },�[39m
�[90m    [Symbol(errored)]: null,�[39m
�[90m    [Symbol(kHighWaterMark)]: 65536,�[39m
�[90m    [Symbol(kRejectNonStandardBodyWrites)]: false,�[39m
�[90m    [Symbol(kUniqueHeaders)]: null�[39m
�[90m  },�[39m
�[90m  data: { resultCode: '0103', result: { data: '' } }�[39m
�[90m}�[39m
�[37m[12/11/2024, 4:59:18 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mThinQ Device Did Not Received the Command�[39m
�[37m[12/11/2024, 4:59:19 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mmqtt message received: {"controlResult":{"messageId":"SHmbK4ba0uxLdImbs99O8C","deviceId":"Redacted","returnCode":"0000"}}�[39m
�[37m[12/11/2024, 4:59:19 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90m[request] post https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control-sync�[39m
�[37m[12/11/2024, 4:59:19 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mThinQ Device Received the Command�[39m
�[37m[12/11/2024, 4:59:47 AM] �[39m�[36m[Broadlink RM]�[39m �[90m**Fakegato-timer: addData  Broadlink Temperature { time: 1733929187, temp: 23.81, humidity: 40.73 }  immediate:  false�[39m
�[37m[12/11/2024, 5:00:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90m[request] post https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control�[39m
�[37m[12/11/2024, 5:00:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mThinQ Device Received the Command�[39m
�[37m[12/11/2024, 5:00:21 AM] �[39m�[36m[homebridge-webos-tv]�[39m �[90m[Display] Connecting to TV�[39m
�[37m[12/11/2024, 5:00:21 AM] �[39m�[36m[homebridge-webos-tv]�[39m �[90m[Display] Connecting to TV�[39m
�[37m[12/11/2024, 5:00:32 AM] �[39m�[36m[Broadlink RM]�[39m �[90m**Fakegato-timer: addData  Broadlink Temperature { time: 1733929233, temp: 23.81, humidity: 40.73 }  immediate:  false�[39m
�[37m[12/11/2024, 5:01:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90m[request] post https://aic-service.lgthinq.com:46030/v1/service/devices/Redacted/control�[39m
�[37m[12/11/2024, 5:01:03 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90mThinQ Device Received the Command�[39m
�[37m[12/11/2024, 5:01:17 AM] �[39m�[36m[Broadlink RM]�[39m �[90m**Fakegato-timer: addData  Broadlink Temperature { time: 1733929277, temp: 23.9, humidity: 40.43 }  immediate:  false�[39m
�[37m[12/11/2024, 5:02:01 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90m[request] get https://aic-service.lgthinq.com:46030/v1/service/homes/171115290210637278�[39m
�[37m[12/11/2024, 5:02:01 AM] �[39m�[36m[homebridge-lg-thinq]�[39m �[90m[Air Conditioner] Received snapshot:  {"airState.windStrength":6,"airState.bellSound.control":1,"airState.diagCode":0,"airState.lightingState.displayControl":1,"airState.wDir.hStep":0,"mid":4445284667,"airState.energy.onCurrent":1030,"airState.quality.sensorMon":0,"airState.tempState.target":16,"airState.energy.yearlySaved":4,"airState.operation":1,"timestamp":1733929285105,"fwUpgradeInfo":{"upgSched":{"upgUtc":"0","cmd":"none"}},"airState.notification":18,"static":{"deviceType":"401","countryCode":"US"},"airState.tempState.current":24.5,"airState.reservation.sleepTime":0,"airState.DR.northAmerica":0,"airState.reservation.targetTimeToStart":0,"meta":{"allDeviceInfoUpdate":false,"messageId":"Qnt0xE1tSHuMVTFf5x1XJA"},"online":true,"airState.opMode":0,"airState.reservation.targetTimeToStop":0,"airState.filterMngStates.maxTime":250,"airState.filterMngStates.useTime":0}�[39m
@JasonGoldenDDT JasonGoldenDDT added the bug Something isn't working label Dec 11, 2024
@JasonGoldenDDT
Copy link
Author

Wanted to share some summarized debug log data in hopes it points us in a helpful direction.

I'm noticing a lot of update activity during the day when the AC isn't in use. Its hours are generally 7:45 pm to 6:30 am daily.

I created a quick pivot table to look at the duration between each event in the table for the "Active" value for the LG Device.

I see lots of on/off activity at times when the AC is always off.

The table has a filter on types of events, you can adjust as needed.

You'll notice no "1" value over night, I suspect this is because my automation sends the "OFF" command and the IR sends the "ON" and "OFF" commands. Automation checks to see if Home things the AC is still "ON", if the is the automation sends "OFF" via the LG WIFI (This plugin).

Screenshot 2024-12-22 at 10 47 37 AM

Homebridge HAP Node Activity Analysis.xlsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant