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

Homebridge Integration with ThinQ for WasherDryer and Dishwasher #7

Closed
shaileshck opened this issue Apr 24, 2021 · 63 comments
Closed
Labels
enhancement New feature or request question Further information is requested

Comments

@shaileshck
Copy link

shaileshck commented Apr 24, 2021

Describe Your Problem:

Installed plugin and configured username password used in ThinQ app but in logs can see authentication error even though entered correct password which can be seen in home bridge config as well.

Logs:

[24/04/2021, 19:38:06] [LGThinQ] AuthenticationError: IN
    at /usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/API.ts:62:13
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at API.login (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/API.ts:61:17)
    at API.ready (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/API.ts:186:22)
    at ThinQ.isReady (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/ThinQ.ts:40:7)
    at LGThinQHomebridgePlatform.discoverDevices (/usr/local/lib/node_modules/homebridge-lg-thinq/src/platform.ts:60:47)
    at HomebridgeAPI.<anonymous> (/usr/local/lib/node_modules/homebridge-lg-thinq/src/platform.ts:44:7)
[24/04/2021, 19:38:06] [LGThinQ] ThinQ API is not ready. please check configuration and try again.

Plugin Config:

 {
            "username": "s**ail***ck@gmail.com",
            "password": "*yr*@***",
            "country": "US",
            "language": "en-US",
            "platform": "LGThinQ"
        }

Screenshots:

Environment:

  • Plugin Version: homebridge-lg-thinq v0.1.5
  • Homebridge Version: homebridge-config-ui-x v4.41.0
  • Node.js Version: v14.16.1
  • NPM Version: v7.11.1
  • Operating System: Raspbian - Homebridge
@shaileshck shaileshck added the question Further information is requested label Apr 24, 2021
@nVuln
Copy link
Owner

nVuln commented Apr 25, 2021

Hi, sorry for late response, look like your LG account registered in India, but you select US in your config, please re-check.

@shaileshck
Copy link
Author

shaileshck commented Apr 25, 2021 via email

@nVuln
Copy link
Owner

nVuln commented Apr 25, 2021

I already checked by using India account, still work fine, please double-check your configuration
this is my config

{
    "username": "*india*lg*account*",
    "password": "**********",
    "country": "IN",
    "language": "en-US",
    "platform": "LGThinQ"
}

// remember restart homebridge after edit configuration

@shaileshck
Copy link
Author

shaileshck commented Apr 25, 2021 via email

@nVuln
Copy link
Owner

nVuln commented Apr 25, 2021

I can't see your image, please upload it.

@shaileshck
Copy link
Author

Hi
Sharing log after successful authentication error resolved. Also uploaded LG ThinQ app snapshots of devices installed in it.

[25/04/2021, 21:39:14] [LGThinQ] Adding new accessory: Washing Machine
(node:1433) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'washerDryer' of undefined
at new WasherDryer (/usr/local/lib/node_modules/homebridge-lg-thinq/src/devices/WasherDryer.ts:29:32)
at LGThinQHomebridgePlatform.discoverDevices (/usr/local/lib/node_modules/homebridge-lg-thinq/src/platform.ts:92:25)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at HomebridgeAPI. (/usr/local/lib/node_modules/homebridge-lg-thinq/src/platform.ts:44:7)
(Use node --trace-warnings ... to show where the warning was created)
(node:1433) 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:1433) [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.

IMG_3707
IMG_3708

@nVuln
Copy link
Owner

nVuln commented Apr 25, 2021

thanks for your report
I added some debug logging in v0.1.7, please update it, turn on homebridge debug mode and upload debug log here

@shaileshck
Copy link
Author

After enabling debug in home bridge find below logs captured. Didn't see any change than last.. have updated plugin as well.

Regards

[25/04/2021, 22:26:25] [LGThinQ] Adding new accessory: Washing Machine
(node:1855) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'washerDryer' of undefined
at new WasherDryer (/usr/local/lib/node_modules/homebridge-lg-thinq/src/devices/WasherDryer.ts:29:32)
at LGThinQHomebridgePlatform.discoverDevices (/usr/local/lib/node_modules/homebridge-lg-thinq/src/platform.ts:92:25)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at HomebridgeAPI. (/usr/local/lib/node_modules/homebridge-lg-thinq/src/platform.ts:44:7)
(Use node --trace-warnings ... to show where the warning was created)
(node:1855) 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:1855) [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.

@nVuln
Copy link
Owner

nVuln commented Apr 25, 2021

Did you update to latest version v0.1.7?

@shaileshck
Copy link
Author

shaileshck commented Apr 26, 2021 via email

@nVuln
Copy link
Owner

nVuln commented Apr 26, 2021

I already added Dishwasher in new release
For your washer, it's using thinq v1, at this time we only support thinq v2, please try this package homebridge-wideq

@shaileshck
Copy link
Author

shaileshck commented Apr 26, 2021 via email

@shaileshck
Copy link
Author

shaileshck commented Apr 26, 2021 via email

@nVuln
Copy link
Owner

nVuln commented Apr 26, 2021

I upgraded to 0.1.18 and also installed wideq with the token method but not successful. it showed me dishwasher in home app but was showing incorrect info also washing machine accessory which was showing earlier is missing.

On 26-Apr-2021, at 11:28 AM, nVuln @.***> wrote: I already added Dishwasher in new release For your washer, it's using thinq v1, at this time we only support thinq v2, please try this package homebridge-wideq https://www.npmjs.com/package/homebridge-wideq — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQFLWWE4IBEP2NSRYQOASYTTKT6HTANCNFSM43QHDV7A.

which info is incorrect ? sorry I don't have Dishwasher, I just implement based on data you're provided

@shaileshck
Copy link
Author

shaileshck commented Apr 26, 2021 via email

@nVuln
Copy link
Owner

nVuln commented Apr 26, 2021

about logo issue, because HomeKit does not support a washer dryer, washing machine, tuble dryer or dish washer, so it will be emulated as a valve

your dishwasher using thinq v2, so I can easy implement it to my package,
but your washer is thinq v1, I can't do anything for now :(

@shaileshck
Copy link
Author

shaileshck commented Apr 26, 2021 via email

@nVuln
Copy link
Owner

nVuln commented Apr 26, 2021

Earlier version showing washer because it's plugin error, it not working correctly.
You can use newest version for dishwaster and use wideq for washing machine.

@shaileshck
Copy link
Author

shaileshck commented Apr 26, 2021 via email

@nVuln nVuln closed this as completed Apr 26, 2021
@shaileshck
Copy link
Author

Ok let me try this again. It would work right

On 26-Apr-2021, at 9:56 PM, nVuln @.***> wrote: Earlier version showing washer because it's plugin error, it not working correctly. You can use newest version for dishwaster and use wideq for washing machine. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQFLWWBIOTRWIC6TKW4ERW3TKWH3RANCNFSM43QHDV7A.

Hi

Does your latest version 0.2.1 resolves the wideq older version issue. As I didn’t get any luck by installing wideq seperately and hence removed the same. And only kept your pluggin.

Regards

Shailesh K.

@nVuln
Copy link
Owner

nVuln commented May 4, 2021

Ok let me try this again. It would work right

On 26-Apr-2021, at 9:56 PM, nVuln @.***> wrote: Earlier version showing washer because it's plugin error, it not working correctly. You can use newest version for dishwaster and use wideq for washing machine. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQFLWWBIOTRWIC6TKW4ERW3TKWH3RANCNFSM43QHDV7A.

Hi

Does your latest version 0.2.1 resolves the wideq older version issue. As I didn’t get any luck by installing wideq seperately and hence removed the same. And only kept your pluggin.

Regards

Shailesh K.

yup, I'm trying implement thinq1 too, but I don't have thinq1 device to test it
did your washer is working now ?

@nVuln nVuln reopened this May 4, 2021
@nVuln nVuln added the enhancement New feature or request label May 4, 2021
@shaileshck
Copy link
Author

As you mentioned my device ThinQ1 supported. Can help in possible logs or information required for testing. I have a washer dryer with me.

@nVuln
Copy link
Owner

nVuln commented May 5, 2021

As you mentioned my device ThinQ1 supported. Can help in possible logs or information required for testing. I have a washer dryer with me.

go to plugin setting, you will see option to enable thinq1 support, just enable it

@shaileshck
Copy link
Author

yes have kept it enabled only.

Let know...

@shaileshck
Copy link
Author

Washer Dryer accessory not to be seen as yet with ThinQ v1 enabled. I can only see V2 Dishwasher Accessory.

@shaileshck
Copy link
Author

Hi

any update for washer dryer to work using thinq1. As unable to see washer dryer accessory in home app.
Pls help here.

Shailesh K.

@nVuln
Copy link
Owner

nVuln commented May 10, 2021

look like it's throw error when device not connected (offline)
I already handled it in v0.2.2-test.9

@shaileshck
Copy link
Author

Just to be sure tried with machine ON and washing process going on.. It did find new device this time and also shows adding.. It did add in home app as well but status was showing OFF even though it was washing machine was running.

[10/05/2021, 11:56:40] [LGThinQ] Found device: 64ba55b0-0e9f-11f5-a203-2c2bf9b844b4: Washer Machine (WASHER WPHT)

[10/05/2021, 11:56:44] [LGThinQ] Adding new accessory: Washer Machine
[10/05/2021, 11:56:44] [LGThinQ] Found device: a7ec240f-36fb-1598-91a0-acf1089c4a2b: Dishwasher (DISHWASHER D0210)
[10/05/2021, 11:56:44] [LGThinQ] Restoring existing accessory from cache: Dishwasher

(node:32559) UnhandledPromiseRejectionWarning: Error:
at /usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/API.ts:121:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at API.getMonitorResult (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/API.ts:107:12)
at /usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/ThinQ.ts:88:20
at ThinQ.pollMonitor (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/ThinQ.ts:83:22)
at /usr/local/lib/node_modules/homebridge-lg-thinq/src/platform.ts:141:22
(Use node --trace-warnings ... to show where the warning was created)
(node:32559) 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:32559) [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.

@shaileshck
Copy link
Author

When Washing machine is OFF.

Following errors are shown.

node:32597) UnhandledPromiseRejectionWarning: Error:
at /usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/API.ts:121:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at API.getMonitorResult (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/API.ts:107:12)
at /usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/ThinQ.ts:88:20
at ThinQ.pollMonitor (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/ThinQ.ts:83:22)
at /usr/local/lib/node_modules/homebridge-lg-thinq/src/platform.ts:141:22
(node:32597) 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: 438)
[10/05/2021, 12:42:41] [LGThinQ] NotConnectedError: 장치가 접속중이 아닙니다.
at /usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/API.ts:94:19
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at API.sendMonitorCommand (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/API.ts:88:12)
at ThinQ.stopMonitor (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/ThinQ.ts:72:7)
at /usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/ThinQ.ts:86:13
at ThinQ.pollMonitor (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/ThinQ.ts:83:22)
at /usr/local/lib/node_modules/homebridge-lg-thinq/src

@nVuln
Copy link
Owner

nVuln commented May 11, 2021

try v0.2.2-test.10
i'm investigating device status

@shaileshck
Copy link
Author

Observation,

If Washing machine completely switched off then its not shown as accessory in HOME app. Thats not the case for Dishwasher, It shows even if dishwasher machine is off in HOME APP.

Will check with today machine ON and with running washing process and share information.

Regards

Shailesh K.

@shaileshck
Copy link
Author

Addition to above observation where we do not see Washer in home App.

Find below logs and observation when machine is ON.

In HOME app can see two accessories
The washer accessory shoes Starting and it never ends up showing the Time remaining or Washer status.
Also as soon as machine process is completed the accessory is not shown in HOME app as it shows for Dishwasher as its in OFF status. It just clears the accessory.

PFA images for reference of washer and home app

Logs as below.

[14/05/2021, 09:54:49] [Homebridge UI] Homebridge log truncated by admin.
[14/05/2021, 09:54:53] [Homebridge UI] Homebridge restart request received
[14/05/2021, 09:54:53] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[14/05/2021, 09:54:53] [Homebridge UI] Sending SIGTERM to Homebridge
[14/05/2021, 09:54:53] Got SIGTERM, shutting down Homebridge...
[14/05/2021, 09:54:53] [Tplink Kasa] shutdown
[14/05/2021, 09:54:53] [Tplink Kasa.API] client.stopDiscovery()
[14/05/2021, 09:54:56] [Tplink Kasa] refreshEmeter()
[14/05/2021, 09:54:56] [Tplink Kasa] Scheduling next run of refreshEmeter() in 10000(ms)
[14/05/2021, 09:55:00] [Homebridge UI] Sending SIGKILL to Homebridge
[14/05/2021, 09:55:00] [HB Supervisor] Homebridge Process Ended. Code: null, Signal: SIGKILL
[14/05/2021, 09:55:05] [HB Supervisor] Restarting Homebridge...
[14/05/2021, 09:55:05] [HB Supervisor] Starting Homebridge with extra flags: -I -D
[14/05/2021, 09:55:05] [HB Supervisor] Started Homebridge v1.3.4 with PID: 23728
Initializing HAP-NodeJS v0.9.4...
[14/05/2021, 09:55:06] Loaded config.json with 0 accessories and 7 platforms.
[14/05/2021, 09:55:06] Loaded 13 cached accessories from cachedAccessories.
[14/05/2021, 09:55:06] ---
[14/05/2021, 09:55:07] Loaded plugin: homebridge-bravia-tvos@4.1.10
[14/05/2021, 09:55:08] Registering platform 'homebridge-bravia-tvos.BraviaOSPlatform'
[14/05/2021, 09:55:08] ---
[14/05/2021, 09:55:08] Loaded plugin: homebridge-config-ui-x@4.41.1
[14/05/2021, 09:55:08] Registering platform 'homebridge-config-ui-x.config'
[14/05/2021, 09:55:08] ---
[14/05/2021, 09:55:08] Loaded plugin: homebridge-lg-thinq@0.2.2-test.10
[14/05/2021, 09:55:08] Registering platform 'homebridge-lg-thinq.LGThinQ'
[14/05/2021, 09:55:08] ---
[14/05/2021, 09:55:08] Loaded plugin: homebridge-printer@1.1.0
[14/05/2021, 09:55:08] Registering platform 'homebridge-printer.PrinterPlatform'
[14/05/2021, 09:55:08] ---
[14/05/2021, 09:55:09] Loaded plugin: homebridge-ring@9.18.0
[14/05/2021, 09:55:09] Registering platform 'homebridge-ring.Ring'
[14/05/2021, 09:55:09] ---
[14/05/2021, 09:55:09] Loaded plugin: homebridge-tplink-smarthome@6.4.0
[14/05/2021, 09:55:09] Registering platform 'homebridge-tplink-smarthome.TplinkSmarthome'
[14/05/2021, 09:55:09] ---
[14/05/2021, 09:55:09] Loaded plugin: homebridge-yeelighter@2.3.12
[14/05/2021, 09:55:09] Registering platform 'homebridge-yeelighter.Yeelighter'
[14/05/2021, 09:55:09] ---
[14/05/2021, 09:55:09] Loading 7 platforms...
[14/05/2021, 09:55:09] [Config] Initializing config platform...
[14/05/2021, 09:55:09] [Config] Running in Service Mode
[14/05/2021, 09:55:09] [Ring] Initializing Ring platform...
[14/05/2021, 09:55:09] [Tplink Kasa] Initializing TplinkSmarthome platform...
[14/05/2021, 09:55:09] [Tplink Kasa] homebridge-tplink-smarthome v6.4.0, node v14.16.1, homebridge v1.3.4, api v2.7
[14/05/2021, 09:55:09] [Tplink Kasa] config.json: {"name":"Tplink Kasa","addCustomCharacteristics":false,"deviceTypes":["plug"],"platform":"TplinkSmarthome"}
[14/05/2021, 09:55:09] [Tplink Kasa] config: {"addCustomCharacteristics":false,"switchModels":["HS200","HS210"],"waitTimeUpdate":100,"defaultSendOptions":{"timeout":15000},"discoveryOptions":{"port":0,"broadcast":"255.255.255.255","discoveryInterval":10000,"deviceTypes":["plug"],"deviceOptions":{"defaultSendOptions":{"timeout":15000},"inUseThreshold":0}}}
[14/05/2021, 09:55:09] [BraviaTVOS] Initializing BraviaOSPlatform platform...
[14/05/2021, 09:55:09] [Yeelighter] Initializing Yeelighter platform...
[14/05/2021, 09:55:09] [Yeelighter] Finished initializing platform: Yeelighter
[14/05/2021, 09:55:09] [LGThinQ] Initializing LGThinQ platform...
[14/05/2021, 09:55:09] [PrinterPlatform] Initializing PrinterPlatform platform...
[14/05/2021, 09:55:11] [Tplink Kasa] Configuring cached accessory: [Bose Power] UUID: f827b235-f003-4067-a243-7cb92d72219c deviceId: 80068A6E4C807966767538EA8A8EC915188C9AF7
[14/05/2021, 09:55:11] [Tplink Kasa] { deviceId: '80068A6E4C807966767538EA8A8EC915188C9AF7' }
[14/05/2021, 09:55:11] [Ring] Configuring cached accessory 696aa88f-314a-4111-be4a-564bc827dbe0 Front Door
[14/05/2021, 09:55:11] [Ring] [Circular]
[14/05/2021, 09:55:11] [Ring] Configuring cached accessory 9379c297-0519-4b2a-ad5c-235c1c5284a6 Hallway
[14/05/2021, 09:55:11] [Ring] [Circular]
[14/05/2021, 09:55:11] [Ring] Configuring cached accessory 07665ef0-f75c-4ec0-93e0-156ca9bde4df Passage
[14/05/2021, 09:55:11] [Ring] [Circular]
[14/05/2021, 09:55:11] [Ring] Configuring cached accessory 27c02a3e-b1ec-4f80-ac1f-1e62a98a4b17 Dosti Iris Mode
[14/05/2021, 09:55:11] [Ring] [Circular]
[14/05/2021, 09:55:11] [LGThinQ] Loading accessory from cache: Dishwasher
[14/05/2021, 09:55:11] [Yeelighter] Loading accessory from cache: 0x0000000005ed9e5e (stripe)
[14/05/2021, 09:55:11] [Yeelighter] Loading accessory from cache: 0x0000000005ec0155 (stripe)
[14/05/2021, 09:55:11] [Yeelighter] Loading accessory from cache: 0x0000000005ed9012 (stripe)
[14/05/2021, 09:55:11] [Yeelighter] Loading accessory from cache: 0x0000000005ec3c08 (stripe)
[14/05/2021, 09:55:11] [PrinterPlatform] Printer Sensor: Configuring accessory...
[14/05/2021, 09:55:11] [PrinterPlatform] Printer Switch: Configuring accessory...
[14/05/2021, 09:55:11] [LGThinQ] Loading accessory from cache: Washer Machine
[14/05/2021, 09:55:11] [Ring] didFinishLaunching
[14/05/2021, 09:55:11] [Tplink Kasa] didFinishLaunching
[14/05/2021, 09:55:11] [Tplink Kasa.API] client.startDiscovery({"port":0,"broadcast":"255.255.255.255","discoveryInterval":10000,"deviceTypes":["plug"],"deviceOptions":{"defaultSendOptions":{"timeout":15000},"inUseThreshold":0}})
[14/05/2021, 09:55:11] [Tplink Kasa] refreshEmeter()
[14/05/2021, 09:55:11] [BraviaTVOS] Sony TV: Configuring accessory...
[14/05/2021, 09:55:11] [Yeelighter] Executed didFinishLaunching callback
[14/05/2021, 09:55:11] [Yeelighter] adding 0 manual accessories
[14/05/2021, 09:55:11] [LGThinQ] Executed didFinishLaunching callback
[14/05/2021, 09:55:11] [Tplink Kasa] Scheduling next run of refreshEmeter() in 10000(ms)
Preparing Advertiser for 'Homebridge EC16 3E74' using bonjour-hap backend!
Setup Payload:
X-HM://0023QKS1L6O9E
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 161-99-929 │     
└────────────┘     

[

decoded monitor: {
State: '5',
Remain_Time_H: '1',
Remain_Time_M: '35',
Initial_Time_H: '1',
Initial_Time_M: '53',
Course: '7',
Error: '0',
Soil: '2',
SpinSpeed: '8',
WaterTemp: '4',
RinseOption: '1',
DryLevel: '0',
Reserve_Time_H: '0',
Reserve_Time_M: '0',
Option1: '0',
Option2: '136',
Option3: '0',
PreState: '2',
SmartCourse: '0',
TCLCount: '17',
LoadItem: '0',
CourseType: '0',
Standby: '0'
}
lookup state: @WM_STATE_RUNNING_W
lookup prestate: @WM_STATE_DETECTING_W
lookup remain hour: 1
washer snapshot: {
state: 'POWEROFF',
preState: 'POWEROFF',
remoteStart: 'REMOTE_START_OFF',
initialBit: 'INITIAL_BIT_OFF',
childLock: 'CHILDLOCK_OFF',
TCLCount: '17',
reserveTimeHour: '0',
reserveTimeMinute: '0',
remainTimeHour: '1',
remainTimeMinute: '35',
initialTimeHour: '1',
initialTimeMinute: '53',
soilWash: 'NO_SOILWASH'
}
[14/05/2021, 09:55:22] [LGThinQ] Restoring existing accessory from cache: Washer Machine
[14/05/2021, 09:55:22] [LGThinQ] Found device: a7ec240f-36fb-1598-91a0-acf1089c4a2b: Dishwasher (DISHWASHER D0210)
[14/05/2021, 09:55:22] [LGThinQ] Restoring existing accessory from cache: Dishwasher

decoded monitor: {
State: '5',
Remain_Time_H: '1',
Remain_Time_M: '35',
Initial_Time_H: '1',
Initial_Time_M: '53',
Course: '7',
Error: '0',
Soil: '2',
SpinSpeed: '8',
WaterTemp: '4',
RinseOption: '1',
DryLevel: '0',
Reserve_Time_H: '0',
Reserve_Time_M: '0',
Option1: '0',
Option2: '136',
Option3: '0',
PreState: '2',
SmartCourse: '0',
TCLCount: '17',
LoadItem: '0',
CourseType: '0',
Standby: '0'
}
lookup state: @WM_STATE_RUNNING_W
lookup prestate: @WM_STATE_DETECTING_W
lookup remain hour: 1
washer snapshot: {
state: 'POWEROFF',
preState: 'POWEROFF',
remoteStart: 'REMOTE_START_OFF',
initialBit: 'INITIAL_BIT_OFF',
childLock: 'CHILDLOCK_OFF',
TCLCount: '17',
reserveTimeHour: '0',
reserveTimeMinute: '0',
remainTimeHour: '1',
remainTimeMinute: '35',
initialTimeHour: '1',
initialTimeMinute: '53',
soilWash: 'NO_SOILWASH'
}

IMG_4027
tempImageX2aVyY
IMG_DA2F99FE2C58-1

@nVuln
Copy link
Owner

nVuln commented May 14, 2021

ops, it's my fault, I don't have much experience in Typescript
I fixed it in next release, please update to latest version and see if it's working correctly

@shaileshck
Copy link
Author

As mentioned earlier as soon as the washer machine is switched off plugin removes the accessory from HOME app and once its ON u can see it adds the same as below. It doesn't show as SWITCHED OFF as such as shown for DishWasher.

[14/05/2021, 16:14:21] [LGThinQ] Adding new accessory: Washer Machine
[14/05/2021, 16:14:21] [LGThinQ] Restoring existing accessory from cache: Dishwasher

Else it shows the following entry before removing.
[14/05/2021, 16:10:40] [LGThinQ] Restoring existing accessory from cache: Dishwasher
[14/05/2021, 16:10:40] [LGThinQ] Removing accessory: undefined

and at next restart it just loads the DISHWASHER Cached entry and skips the WASHER MACHINE.

With Washer Machine ON and Homebridge debug find below logs

[14/05/2021, 16:48:42] [LGThinQ] Found device: 64ba55b0-0e9f-11f5-a203-2c2bf9b844b4: Washer Machine (WASHER WPHT)
[14/05/2021, 16:48:42] [LGThinQ] data: {"deviceId":"64ba55b0-0e9f-11f5-a203-2c2bf9b844b4","deviceType":201,"modelName":"WPHT","subModelNm":null,"sensorType":null,"alias":"Washer Machine","deviceCode":"LA02","networkType":"02","tftYn":"N","guideTypeYn":"Y","guideType":"TYPE2","pccModelYn":"N","autoOrderYn":"N","drServiceYn":"N","ssid":"Kanolkar's Residence","timezoneCode":"Asia/Kolkata","timezoneCodeAlias":"Asia/Kolkata","sdsGuide":"{"deviceCode":"LA02"}","newRegYn":"N","remoteControlType":"","fareTarget":null,"area":"206690","sleep":null,"deviceState":"E","rmsClientId":null,"regDtUtc":"20210509103429000","regIndex":0,"blackboxYn":null,"groupableYn":"N","controllableYn":"N","combinedProductYn":"N","masterYn":"Y","manufacture":null,"online":false,"platformType":"thinq1","homeDeviceOrder":-1,"roomDeviceOrder":-1,"ownershipYn":"Y","modelJsonVer":"2.8","modelJsonUri":"https://kic.lgthinq.com:46030/api/webContents/modelJSON?modelName=WPHT&countryCode=WW&contentsId=JS0911021801883542&authKey=thinq","appModuleVer":"3.46","appModuleUri":"https://objectcontent.lgthinq.com/a5e1fcf0-74a9-4327-b497-7f034addf605?hdnts=exp=1683095425~hmac=8b91d9373cf079b3adb14d7b73f96e2c184eed768a4e8196c31e00bfba157eea","appRestartYn":"Y","appModuleSize":"5258556","langPackProductTypeVer":"80.1","langPackProductTypeUri":"https://objectcontent.lgthinq.com/fef9d403-6a83-44a4-9280-b2c549f4c947?hdnts=exp=1683683417~hmac=c0b5c70f6ea75e7243a16380281b41dd67ca4ea5fcafcee54548479a5d873aea","langPackModelVer":"4.1","langPackModelUri":"https://kic.lgthinq.com:46030/api/webContents/moduleDownload?type=langPack/MP/WPHT/MP_WM_WPHT_LANG_WW-WW_VER_4.1_NUTS.json&fileName=MP_WM_WPHT_LANG_WW-WW_VER_4.1_NUTS&authKey=thinq","roomId":"162075324886483193","fwInfoList":null,"modemInfo":null,"existsEntryPopup":"N","fwVer":"QC_Modem_1.2.79","modemVer":null,"subDeviceCount":0,"firebaseLogKey":"T:FL-S:24-U:600-P:GPLUS_BIGIN"}
[14/05/2021, 16:48:45] [LGThinQ] Restoring existing accessory from cache: Washer Machine
[14/05/2021, 16:48:45] [LGThinQ] Found device: a7ec240f-36fb-1598-91a0-acf1089c4a2b: Dishwasher (DISHWASHER D0210)
[14/05/2021, 16:48:45] [LGThinQ] data: {"deviceId":"a7ec240f-36fb-1598-91a0-acf1089c4a2b","deviceType":204,"modelName":"D0210","subModelNm":null,"sensorType":null,"alias":"Dishwasher","deviceCode":"KI06","networkType":"02","tftYn":"N","guideTypeYn":"Y","guideType":"TYPE1","pccModelYn":"N","autoOrderYn":"N","drServiceYn":"N","ssid":"Kanolkar's Residence","timezoneCode":"Asia/Kolkata","timezoneCodeAlias":"Asia/Kolkata","sdsGuide":"{"deviceCode":"KI06"}","newRegYn":"N","remoteControlType":"","fareTarget":null,"area":"206690","sleep":null,"deviceState":"D","rmsClientId":null,"regDtUtc":"20210217135609000","regIndex":0,"blackboxYn":"Y","groupableYn":"N","controllableYn":"N","combinedProductYn":"N","masterYn":"Y","snapshot":{"dishwasher":{"door":"OPEN","courseType":"COURSE","initialTimeMinute":13,"saltRefill":"SET","autoDoor":"OFF","energySaver":"OFF","error":"ERROR_NO","nightDry":"OFF","extraDry":"OFF","remainTimeHour":0,"course":"NONE","dualZone":"OFF","highTemp":"OFF","steam":"OFF","state":"POWEROFF","process":"NONE","reserveTimeMinute":0,"currentDownloadCourse":"POTS_PANS","extraRinse":"OFF","cleanLReminder":"ON","rinseLevel":"LEVEL_2","signalLevel":"LEVEL_ON","remainTimeMinute":1,"reserveTimeHour":0,"delayStart":"OFF","softeningLevel":"LEVEL_2","tclCount":54,"smartCourse":"NONE","mcReminderSetting":"OFF","childLock":"OFF","remoteStart":"OFF","rinseRefill":"NOT_SET","halfLoad":"OFF","initialTimeHour":3},"mid":38776778,"online":false,"static":{"deviceType":"204","countryCode":"IN"},"meta":{"allDeviceInfoUpdate":false,"messageId":"YzuP_D_FRC-LFQ2oV5GvHg"},"timestamp":1620531663252},"manufacture":null,"online":false,"platformType":"thinq2","homeDeviceOrder":-1,"roomDeviceOrder":1,"ownershipYn":"Y","modelJsonVer":"1.5","modelJsonUri":"https://objectcontent.lgthinq.com/65013380-14b7-493f-b939-f31cdcc751a6?hdnts=exp=1666328436~hmac=8607271d0fc01d6326915b944a1a5589ca7d65401f0938401b7329662b51041f","appModuleVer":"210.49","appModuleUri":"https://objectcontent.lgthinq.com/64310918-0a02-4117-9c9e-2d27a4e83b31?hdnts=exp=1679820676~hmac=ee6b4ecf078517cdfb79b001c0e9f782bf115222cad7fedfdc005e745d825f24","appRestartYn":"Y","appModuleSize":"29471450","langPackProductTypeVer":"27.9","langPackProductTypeUri":"https://objectcontent.lgthinq.com/05aa21a8-7c49-4c09-9229-988ca841e559?hdnts=exp=1681613873~hmac=64711dc755baec15ff6a2300e39dcb38ea43d99b9f0b48edbddf69a902d7d140","langPackModelVer":null,"langPackModelUri":null,"roomId":"161357252018229778","fwInfoList":[{"checksum":"000062BC","partNumber":"SAA41263905","order":2},{"checksum":"00003FC8","partNumber":"SAA38669715","order":1}],"modemInfo":{"modelName":"D0210","appVersion":"clip_hna_v1.9.080","modemType":"QCOM_QCA4010","ruleEngine":"y"},"existsEntryPopup":"N","fwVer":null,"modemVer":null,"subDeviceCount":0,"firebaseLogKey":"T:DW-B:LG-C:Free-Fn:SO"}
[14/05/2021, 16:48:45] [LGThinQ] Restoring existing accessory from cache: Dishwasher

Also to add

Dishwasher shows status of time remaining nothing other than that.. also if i try to switch off the washer machine from home app it doesn't switches off the washer machine.

@nVuln
Copy link
Owner

nVuln commented May 15, 2021

when washer is OFF, any debug log regarding found device: xxxxxx-xxx Washer Machine ?

@shaileshck
Copy link
Author

shaileshck commented May 15, 2021 via email

@shaileshck
Copy link
Author

Here are the logs.

15/05/2021, 11:45:46] [LGThinQ] Found device: 64ba55b0-0e9f-11f5-a203-2c2bf9b844b4: Washer Machine (WASHER WPHT)
[15/05/2021, 11:45:46] [LGThinQ] data: {"deviceId":"64ba55b0-0e9f-11f5-a203-2c2bf9b844b4","deviceType":201,"modelName":"WPHT","subModelNm":null,"sensorType":null,"alias":"Washer Machine","deviceCode":"LA02","networkType":"02","tftYn":"N","guideTypeYn":"Y","guideType":"TYPE2","pccModelYn":"N","autoOrderYn":"N","drServiceYn":"N","ssid":"Kanolkar's Residence","timezoneCode":"Asia/Kolkata","timezoneCodeAlias":"Asia/Kolkata","sdsGuide":"{"deviceCode":"LA02"}","newRegYn":"N","remoteControlType":"","fareTarget":null,"area":"206690","sleep":null,"deviceState":"D","rmsClientId":null,"regDtUtc":"20210509103429000","regIndex":0,"blackboxYn":null,"groupableYn":"N","controllableYn":"N","combinedProductYn":"N","masterYn":"Y","manufacture":null,"online":false,"platformType":"thinq1","homeDeviceOrder":-1,"roomDeviceOrder":-1,"ownershipYn":"Y","modelJsonVer":"2.8","modelJsonUri":"https://kic.lgthinq.com:46030/api/webContents/modelJSON?modelName=WPHT&countryCode=WW&contentsId=JS0911021801883542&authKey=thinq","appModuleVer":"3.46","appModuleUri":"https://objectcontent.lgthinq.com/a5e1fcf0-74a9-4327-b497-7f034addf605?hdnts=exp=1683095425~hmac=8b91d9373cf079b3adb14d7b73f96e2c184eed768a4e8196c31e00bfba157eea","appRestartYn":"Y","appModuleSize":"5258556","langPackProductTypeVer":"80.1","langPackProductTypeUri":"https://objectcontent.lgthinq.com/fef9d403-6a83-44a4-9280-b2c549f4c947?hdnts=exp=1683683417~hmac=c0b5c70f6ea75e7243a16380281b41dd67ca4ea5fcafcee54548479a5d873aea","langPackModelVer":"4.1","langPackModelUri":"https://kic.lgthinq.com:46030/api/webContents/moduleDownload?type=langPack/MP/WPHT/MP_WM_WPHT_LANG_WW-WW_VER_4.1_NUTS.json&fileName=MP_WM_WPHT_LANG_WW-WW_VER_4.1_NUTS&authKey=thinq","roomId":"162075324886483193","fwInfoList":null,"modemInfo":null,"existsEntryPopup":"N","fwVer":"QC_Modem_1.2.79","modemVer":null,"subDeviceCount":0,"firebaseLogKey":"T:FL-S:24-U:600-P:GPLUS_BIGIN"}
[15/05/2021, 11:45:48] [LGThinQ] Device not supported: 64ba55b0-0e9f-11f5-a203-2c2bf9b844b4: Washer Machine (WASHER WPHT)
[15/05/2021, 11:45:48] [LGThinQ] Found device: a7ec240f-36fb-1598-91a0-acf1089c4a2b: Dishwasher (DISHWASHER D0210)
[15/05/2021, 11:45:48] [LGThinQ] data: {"deviceId":"a7ec240f-36fb-1598-91a0-acf1089c4a2b","deviceType":204,"modelName":"D0210","subModelNm":null,"sensorType":null,"alias":"Dishwasher","deviceCode":"KI06","networkType":"02","tftYn":"N","guideTypeYn":"Y","guideType":"TYPE1","pccModelYn":"N","autoOrderYn":"N","drServiceYn":"N","ssid":"Kanolkar's Residence","timezoneCode":"Asia/Kolkata","timezoneCodeAlias":"Asia/Kolkata","sdsGuide":"{"deviceCode":"KI06"}","newRegYn":"N","remoteControlType":"","fareTarget":null,"area":"206690","sleep":null,"deviceState":"D","rmsClientId":null,"regDtUtc":"20210217135609000","regIndex":0,"blackboxYn":"Y","groupableYn":"N","controllableYn":"N","combinedProductYn":"N","masterYn":"Y","snapshot":{"dishwasher":{"door":"OPEN","courseType":"COURSE","initialTimeMinute":13,"saltRefill":"SET","autoDoor":"OFF","energySaver":"OFF","error":"ERROR_NO","nightDry":"OFF","extraDry":"OFF","remainTimeHour":0,"course":"NONE","dualZone":"OFF","highTemp":"OFF","steam":"OFF","state":"POWEROFF","process":"NONE","reserveTimeMinute":0,"currentDownloadCourse":"POTS_PANS","extraRinse":"OFF","cleanLReminder":"ON","rinseLevel":"LEVEL_2","signalLevel":"LEVEL_ON","remainTimeMinute":1,"reserveTimeHour":0,"delayStart":"OFF","softeningLevel":"LEVEL_2","tclCount":54,"smartCourse":"NONE","mcReminderSetting":"OFF","childLock":"OFF","remoteStart":"OFF","rinseRefill":"NOT_SET","halfLoad":"OFF","initialTimeHour":3},"mid":38776778,"online":false,"static":{"deviceType":"204","countryCode":"IN"},"meta":{"allDeviceInfoUpdate":false,"messageId":"YzuP_D_FRC-LFQ2oV5GvHg"},"timestamp":1620531663252},"manufacture":null,"online":false,"platformType":"thinq2","homeDeviceOrder":-1,"roomDeviceOrder":1,"ownershipYn":"Y","modelJsonVer":"1.5","modelJsonUri":"https://objectcontent.lgthinq.com/65013380-14b7-493f-b939-f31cdcc751a6?hdnts=exp=1666328436~hmac=8607271d0fc01d6326915b944a1a5589ca7d65401f0938401b7329662b51041f","appModuleVer":"210.49","appModuleUri":"https://objectcontent.lgthinq.com/64310918-0a02-4117-9c9e-2d27a4e83b31?hdnts=exp=1679820676~hmac=ee6b4ecf078517cdfb79b001c0e9f782bf115222cad7fedfdc005e745d825f24","appRestartYn":"Y","appModuleSize":"29471450","langPackProductTypeVer":"27.9","langPackProductTypeUri":"https://objectcontent.lgthinq.com/05aa21a8-7c49-4c09-9229-988ca841e559?hdnts=exp=1681613873~hmac=64711dc755baec15ff6a2300e39dcb38ea43d99b9f0b48edbddf69a902d7d140","langPackModelVer":null,"langPackModelUri":null,"roomId":"161357252018229778","fwInfoList":[{"checksum":"000062BC","partNumber":"SAA41263905","order":2},{"checksum":"00003FC8","partNumber":"SAA38669715","order":1}],"modemInfo":{"modelName":"D0210","appVersion":"clip_hna_v1.9.080","modemType":"QCOM_QCA4010","ruleEngine":"y"},"existsEntryPopup":"N","fwVer":null,"modemVer":null,"subDeviceCount":0,"firebaseLogKey":"T:DW-B:LG-C:Free-Fn:SO"}
[15/05/2021, 11:45:48] [LGThinQ] Restoring existing accessory from cache: Dishwasher
[15/05/2021, 11:45:48] [LGThinQ] Removing accessory: undefined

@nVuln
Copy link
Owner

nVuln commented May 15, 2021

let try new version, I hope it's work now

@shaileshck
Copy link
Author

Perfect.. with machine switched off can see both Dishwasher and Washer Machine in OFF state in Home App.

Will test in ON state and update you further details.

Regards

Shailesh K.

@shaileshck
Copy link
Author

Hi

attaching logs and images. Sorry not filtering logs relevant to ThinQ pluggin as doing from Phone.

Observation:- Thinkq app shows washer machine running and time running and other status. in home app it just shows Washer machine available but status is in Always OFF mode. Image shared for Dry Space Washer Machine.
have shared Logs as below.

[18/05/2021, 16:37:09] [Homebridge UI] Homebridge log truncated by admin.
[18/05/2021, 16:37:09] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[18/05/2021, 16:37:17] [HB Supervisor] OS: Linux 5.10.17-v7l+ arm
[18/05/2021, 16:37:17] [HB Supervisor] Node.js v14.16.1 /usr/local/bin/node
[18/05/2021, 16:37:17] [HB Supervisor] Homebridge Path: /usr/local/lib/node_modules/homebridge/bin/homebridge
[18/05/2021, 16:37:17] [HB Supervisor] UI Path: /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[18/05/2021, 16:37:25] [Homebridge UI] Homebridge Config UI X v4.41.1 is listening on :: port 8581
[18/05/2021, 16:37:26] [HB Supervisor] Starting Homebridge with extra flags: -I -D
[18/05/2021, 16:37:26] [HB Supervisor] Started Homebridge v1.3.4 with PID: 17081
Initializing HAP-NodeJS v0.9.4...
[18/05/2021, 16:37:28] Loaded config.json with 0 accessories and 7 platforms.
[18/05/2021, 16:37:29] Loaded 13 cached accessories from cachedAccessories.
[18/05/2021, 16:37:29] ---
[18/05/2021, 16:37:31] Loaded plugin: homebridge-bravia-tvos@4.1.10
[18/05/2021, 16:37:31] Registering platform 'homebridge-bravia-tvos.BraviaOSPlatform'
[18/05/2021, 16:37:31] ---
[18/05/2021, 16:37:31] Loaded plugin: homebridge-config-ui-x@4.41.1
[18/05/2021, 16:37:31] Registering platform 'homebridge-config-ui-x.config'
[18/05/2021, 16:37:31] ---
[18/05/2021, 16:37:31] Loaded plugin: homebridge-lg-thinq@0.2.3
[18/05/2021, 16:37:31] Registering platform 'homebridge-lg-thinq.LGThinQ'
[18/05/2021, 16:37:31] ---
[18/05/2021, 16:37:31] Loaded plugin: homebridge-printer@1.1.0
[18/05/2021, 16:37:32] Registering platform 'homebridge-printer.PrinterPlatform'
[18/05/2021, 16:37:32] ---
[18/05/2021, 16:37:34] Loaded plugin: homebridge-ring@9.18.1
[18/05/2021, 16:37:34] Registering platform 'homebridge-ring.Ring'
[18/05/2021, 16:37:34] ---
[18/05/2021, 16:37:34] Loaded plugin: homebridge-tplink-smarthome@6.4.0
[18/05/2021, 16:37:34] Registering platform 'homebridge-tplink-smarthome.TplinkSmarthome'
[18/05/2021, 16:37:34] ---
[18/05/2021, 16:37:34] Loaded plugin: homebridge-yeelighter@2.3.12
[18/05/2021, 16:37:34] Registering platform 'homebridge-yeelighter.Yeelighter'
[18/05/2021, 16:37:34] ---
[18/05/2021, 16:37:34] Loading 7 platforms...
[18/05/2021, 16:37:34] [Config] Initializing config platform...
[18/05/2021, 16:37:34] [Config] Running in Service Mode
[18/05/2021, 16:37:34] [Ring] Initializing Ring platform...
[18/05/2021, 16:37:34] [Tplink Kasa] Initializing TplinkSmarthome platform...
[18/05/2021, 16:37:34] [Tplink Kasa] homebridge-tplink-smarthome v6.4.0, node v14.16.1, homebridge v1.3.4, api v2.7
[18/05/2021, 16:37:34] [Tplink Kasa] config.json: {"name":"Tplink Kasa","addCustomCharacteristics":false,"deviceTypes":["plug"],"platform":"TplinkSmarthome"}
[18/05/2021, 16:37:35] [Tplink Kasa] config: {"addCustomCharacteristics":false,"switchModels":["HS200","HS210"],"waitTimeUpdate":100,"defaultSendOptions":{"timeout":15000},"discoveryOptions":{"port":0,"broadcast":"255.255.255.255","discoveryInterval":10000,"deviceTypes":["plug"],"deviceOptions":{"defaultSendOptions":{"timeout":15000},"inUseThreshold":0}}}
[18/05/2021, 16:37:35] [BraviaTVOS] Initializing BraviaOSPlatform platform...
[18/05/2021, 16:37:35] [Yeelighter] Initializing Yeelighter platform...
[18/05/2021, 16:37:35] [Yeelighter] Finished initializing platform: Yeelighter
[18/05/2021, 16:37:35] [LGThinQ] Initializing LGThinQ platform...
[18/05/2021, 16:37:35] [PrinterPlatform] Initializing PrinterPlatform platform...
[18/05/2021, 16:37:39] [Tplink Kasa] Configuring cached accessory: [Bose Power] UUID: f827b235-f003-4067-a243-7cb92d72219c deviceId: 80068A6E4C807966767538EA8A8EC915188C9AF7
[18/05/2021, 16:37:39] [Tplink Kasa] { deviceId: '80068A6E4C807966767538EA8A8EC915188C9AF7' }
[18/05/2021, 16:37:39] [Ring] Configuring cached accessory 696aa88f-314a-4111-be4a-564bc827dbe0 Front Door
[18/05/2021, 16:37:39] [Ring] [Circular]
[18/05/2021, 16:37:39] [Ring] Configuring cached accessory 9379c297-0519-4b2a-ad5c-235c1c5284a6 Hallway
[18/05/2021, 16:37:39] [Ring] [Circular]
[18/05/2021, 16:37:39] [Ring] Configuring cached accessory 07665ef0-f75c-4ec0-93e0-156ca9bde4df Passage
[18/05/2021, 16:37:39] [Ring] [Circular]
[18/05/2021, 16:37:39] [Ring] Configuring cached accessory 27c02a3e-b1ec-4f80-ac1f-1e62a98a4b17 Dosti Iris Mode
[18/05/2021, 16:37:39] [Ring] [Circular]
[18/05/2021, 16:37:39] [LGThinQ] Loading accessory from cache: Dishwasher
[18/05/2021, 16:37:39] [Yeelighter] Loading accessory from cache: 0x0000000005ed9e5e (stripe)
[18/05/2021, 16:37:39] [Yeelighter] Loading accessory from cache: 0x0000000005ec0155 (stripe)
[18/05/2021, 16:37:39] [Yeelighter] Loading accessory from cache: 0x0000000005ed9012 (stripe)
[18/05/2021, 16:37:39] [Yeelighter] Loading accessory from cache: 0x0000000005ec3c08 (stripe)
[18/05/2021, 16:37:39] [PrinterPlatform] Printer Sensor: Configuring accessory...
[18/05/2021, 16:37:39] [PrinterPlatform] Printer Switch: Configuring accessory...
[18/05/2021, 16:37:39] [LGThinQ] Loading accessory from cache: Washer Machine
[18/05/2021, 16:37:39] [Ring] didFinishLaunching
[18/05/2021, 16:37:39] [Tplink Kasa] didFinishLaunching
[18/05/2021, 16:37:39] [Tplink Kasa.API] client.startDiscovery({"port":0,"broadcast":"255.255.255.255","discoveryInterval":10000,"deviceTypes":["plug"],"deviceOptions":{"defaultSendOptions":{"timeout":15000},"inUseThreshold":0}})
[18/05/2021, 16:37:39] [Tplink Kasa] refreshEmeter()
[18/05/2021, 16:37:39] [BraviaTVOS] Sony TV: Configuring accessory...
[18/05/2021, 16:37:39] [Yeelighter] Executed didFinishLaunching callback
[18/05/2021, 16:37:39] [Yeelighter] adding 0 manual accessories
[18/05/2021, 16:37:39] [LGThinQ] Executed didFinishLaunching callback
[18/05/2021, 16:37:39] [Tplink Kasa] Scheduling next run of refreshEmeter() in 10000(ms)
Preparing Advertiser for 'Homebridge EC16 3E74' using bonjour-hap backend!
Setup Payload:
X-HM://0023QKS1L6O9E
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 161-99-929 │     
└────────────┘     

[18/05/2021, 16:37:39] [Tplink Kasa.API] client.socket: UDP IPv4 listening on 0.0.0.0:54273
[18/05/2021, 16:37:39] [Tplink Kasa.API] client.sendDiscovery(255.255.255.255, [], 3)
[18/05/2021, 16:37:39] [Yeelighter] ** Discovery Started **
Starting to advertise 'Homebridge EC16 3E74' using bonjour-hap backend!
[18/05/2021, 16:37:39] Homebridge v1.3.4 (Homebridge EC16) is running on port 51199.
[18/05/2021, 16:37:39] [Tplink Kasa.API] client.startDiscovery(): socket:message From: 192.168.0.153 9999 Message: {"system":{"get_sysinfo":{"err_code":0,"sw_ver":"1.2.5 Build 171129 Rel.174814","hw_ver":"1.0","type":"IOT.SMARTPLUGSWITCH","model":"HS100(US)","mac":"50:C7:BF:8D:9B:13","deviceId":"80068A6E4C807966767538EA8A8EC915188C9AF7","hwId":"5EACBE93FB9E32ECBE1F1C2ADE6DDE11","fwId":"00000000000000000000000000000000","oemId":"37589AA1F5CACDC53E2914B7760127E5","alias":"Bose Power","dev_name":"Wi-Fi Smart Plug","icon_hash":"","relay_state":1,"on_time":18543,"active_mode":"none","feature":"TIM","updating":0,"rssi":-87,"led_off":0,"latitude":19.023763,"longitude":72.866310}}}
[18/05/2021, 16:37:39] [Tplink Kasa.API] device.constructor({"client":"not shown","_sysInfo":{"err_code":0,"sw_ver":"1.2.5 Build 171129 Rel.174814","hw_ver":"1.0","type":"IOT.SMARTPLUGSWITCH","model":"HS100(US)","mac":"50:C7:BF:8D:9B:13","deviceId":"80068A6E4C807966767538EA8A8EC915188C9AF7","hwId":"5EACBE93FB9E32ECBE1F1C2ADE6DDE11","fwId":"00000000000000000000000000000000","oemId":"37589AA1F5CACDC53E2914B7760127E5","alias":"Bose Power","dev_name":"Wi-Fi Smart Plug","icon_hash":"","relay_state":1,"on_time":18543,"active_mode":"none","feature":"TIM","updating":0,"rssi":-87,"led_off":0,"latitude":19.023763,"longitude":72.86631},"host":"192.168.0.153","port":9999,"defaultSendOptions":{"timeout":15000}})
[18/05/2021, 16:37:39] [Tplink Kasa.API] plug.constructor()
[18/05/2021, 16:37:39] [Tplink Kasa.API] [Bose Power] device sysInfo set
[18/05/2021, 16:37:39] [Tplink Kasa.API] [Bose Power] plug sysInfo set
[18/05/2021, 16:37:39] [Tplink Kasa.API] [Bose Power] plug.emitEvents() inUse: true relayState: true lastState: {"inUse":false,"relayState":false}
[18/05/2021, 16:37:39] [Tplink Kasa] New Device Online: [Bose Power] plug [80068A6E4C807966767538EA8A8EC915188C9AF7] 192.168.0.153 9999
[18/05/2021, 16:37:39] [Tplink Kasa] Adding: [Bose Power] plug [80068A6E4C807966767538EA8A8EC915188C9AF7]
[18/05/2021, 16:37:39] [Tplink Kasa] [Bose Power] Existing Accessory found [80068A6E4C807966767538EA8A8EC915188C9AF7] [f827b235-f003-4067-a243-7cb92d72219c] category: OUTLET
[18/05/2021, 16:37:39] [Tplink Kasa] [Bose Power] getCharacteristicProps [Name]
[18/05/2021, 16:37:39] [Tplink Kasa] [Bose Power] setCharacteristicUpdateCallback [Name]
[18/05/2021, 16:37:39] [Tplink Kasa] [Bose Power] getCharacteristicProps [On]
[18/05/2021, 16:37:39] [Tplink Kasa] [Bose Power] setCharacteristicUpdateCallback [On]
[18/05/2021, 16:37:39] [Tplink Kasa] [Bose Power] getCharacteristicProps [Outlet In Use]
[18/05/2021, 16:37:39] [Tplink Kasa] [Bose Power] setCharacteristicUpdateCallback [Outlet In Use]
[18/05/2021, 16:37:39] [BraviaTVOS] Sony TV: Configured!
Preparing Advertiser for 'Sony TV AA66' using bonjour-hap backend!
Starting to advertise 'Sony TV AA66' using bonjour-hap backend!
[18/05/2021, 16:37:39] Sony TV AA66 is running on port 37659.
[18/05/2021, 16:37:39] Please add [Sony TV AA66] manually in Home app. Setup Code: 161-99-929
[18/05/2021, 16:37:40] [Tplink Kasa] [Bose Power] get [Name]
[18/05/2021, 16:37:40] [Tplink Kasa] [Bose Power] getCharacteristicValue [Name]
[18/05/2021, 16:37:40] [Tplink Kasa] [Bose Power] get [On]
[18/05/2021, 16:37:40] [Tplink Kasa] [Bose Power] getCharacteristicValue [On]
[18/05/2021, 16:37:40] [Tplink Kasa] [Bose Power] get [Outlet In Use]
[18/05/2021, 16:37:40] [Tplink Kasa] [Bose Power] getCharacteristicValue [Outlet In Use]
[18/05/2021, 16:37:40] [Tplink Kasa] [Bose Power] executing deferred getSysInfo count: 2
[18/05/2021, 16:37:40] [Tplink Kasa.API] [Bose Power] device.getSysInfo()
[18/05/2021, 16:37:40] [Tplink Kasa.API] [Bose Power] device.send()
[18/05/2021, 16:37:40] [Tplink Kasa.API] TplinkConnection(TCP 192.168.0.153:9999).send({"payload":"{"system":{"get_sysinfo":{}}}","timeout":15000})
[18/05/2021, 16:37:40] [Tplink Kasa.API] TcpConnection(TCP 192.168.0.153:9999).getSocket()
[18/05/2021, 16:37:40] [Tplink Kasa.API] [1] TplinkSocket(TCP).createSocket()
[18/05/2021, 16:37:40] [Tplink Kasa.API] [1] TplinkSocket(TCP).send({"payload":"{"system":{"get_sysinfo":{}}}","port":9999,"host":"192.168.0.153","timeout":15000})
[18/05/2021, 16:37:40] [Tplink Kasa.API] [1] TcpSocket: socket:send payload.length 33
[18/05/2021, 16:37:40] [Tplink Kasa.API] [1] TcpSocket: socket:send attempting to connect. host:192.168.0.153, port:9999
[18/05/2021, 16:37:40] [Tplink Kasa.API] [1] TcpSocket: socket:connect 192.168.0.196 54594 192.168.0.153 9999
[18/05/2021, 16:37:40] [Tplink Kasa.API] [1] TcpSocket: socket:connect:write flushed
[18/05/2021, 16:37:41] [Tplink Kasa.API] [1] TcpSocket: socket:data: segment:1 567/567 [{"system":{"get_sysinfo":{"err_code":0,"sw_ver":"1.2.5 Build 171129 Rel.174814","hw_ver":"1.0","type":"IOT.SMARTPLUGSWITCH","model":"HS100(US)","mac":"50:C7:BF:8D:9B:13","deviceId":"80068A6E4C807966767538EA8A8EC915188C9AF7","hwId":"5EACBE93FB9E32ECBE1F1C2ADE6DDE11","fwId":"00000000000000000000000000000000","oemId":"37589AA1F5CACDC53E2914B7760127E5","alias":"Bose Power","dev_name":"Wi-Fi Smart Plug","icon_hash":"","relay_state":1,"on_time":18544,"active_mode":"none","feature":"TIM","updating":0,"rssi":-85,"led_off":0,"latitude":19.023763,"longitude":72.866310}}}]
[18/05/2021, 16:37:41] [Tplink Kasa.API] [1] TcpSocket: socket:close, hadError:false
[18/05/2021, 16:37:41] [Tplink Kasa.API] [1] TplinkSocket(TCP).close()
[18/05/2021, 16:37:41] [Tplink Kasa.API] [Bose Power] device sysInfo set
[18/05/2021, 16:37:41] [Tplink Kasa.API] [Bose Power] plug sysInfo set
[18/05/2021, 16:37:41] [Tplink Kasa.API] [Bose Power] plug.emitEvents() inUse: true relayState: true lastState: {"inUse":true,"relayState":true}
[18/05/2021, 16:37:41] [Tplink Kasa] [Bose Power] fireCharacteristicUpdateCallback [OutletInUse] true
[18/05/2021, 16:37:41] [Tplink Kasa] [Bose Power] fireCharacteristicUpdateCallback [On] true
[18/05/2021, 16:37:44] [PrinterPlatform] Printer Sensor: An error occured during adding filter services
[18/05/2021, 16:37:44] [PrinterPlatform] Error: getaddrinfo ENOTFOUND kanolkarprinter.local
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'kanolkarprinter.local'
}
[18/05/2021, 16:37:45] [Ring] Found the following locations:
[18/05/2021, 16:37:45] [Ring] locationId: 3ad47202-3dad-41b6-6294-690ba6c89ae5 - Dosti Iris
[18/05/2021, 16:37:45] [Ring] Configuring 1 cameras and 4 devices for location "Dosti Iris" - locationId: 3ad47202-3dad-41b6-6294-690ba6c89ae5
[18/05/2021, 16:37:47] [LGThinQ] Found device: 64ba55b0-0e9f-11f5-a203-2c2bf9b844b4: Washer Machine (WASHER WPHT)
[18/05/2021, 16:37:47] [LGThinQ] data: {"deviceId":"64ba55b0-0e9f-11f5-a203-2c2bf9b844b4","deviceType":201,"modelName":"WPHT","subModelNm":null,"sensorType":null,"alias":"Washer Machine","deviceCode":"LA02","networkType":"02","tftYn":"N","guideTypeYn":"Y","guideType":"TYPE2","pccModelYn":"N","autoOrderYn":"N","drServiceYn":"N","ssid":"Kanolkar's Residence","timezoneCode":"Asia/Kolkata","timezoneCodeAlias":"Asia/Kolkata","sdsGuide":"{"deviceCode":"LA02"}","newRegYn":"N","remoteControlType":"","fareTarget":null,"area":"206690","sleep":null,"deviceState":"E","rmsClientId":null,"regDtUtc":"20210509103429000","regIndex":0,"blackboxYn":null,"groupableYn":"N","controllableYn":"N","combinedProductYn":"N","masterYn":"Y","manufacture":null,"online":false,"platformType":"thinq1","homeDeviceOrder":-1,"roomDeviceOrder":-1,"ownershipYn":"Y","modelJsonVer":"2.8","modelJsonUri":"https://kic.lgthinq.com:46030/api/webContents/modelJSON?modelName=WPHT&countryCode=WW&contentsId=JS0911021801883542&authKey=thinq","appModuleVer":"3.46","appModuleUri":"https://objectcontent.lgthinq.com/a5e1fcf0-74a9-4327-b497-7f034addf605?hdnts=exp=1683095425~hmac=8b91d9373cf079b3adb14d7b73f96e2c184eed768a4e8196c31e00bfba157eea","appRestartYn":"Y","appModuleSize":"5258556","langPackProductTypeVer":"80.1","langPackProductTypeUri":"https://objectcontent.lgthinq.com/fef9d403-6a83-44a4-9280-b2c549f4c947?hdnts=exp=1683683417~hmac=c0b5c70f6ea75e7243a16380281b41dd67ca4ea5fcafcee54548479a5d873aea","langPackModelVer":"4.1","langPackModelUri":"https://kic.lgthinq.com:46030/api/webContents/moduleDownload?type=langPack/MP/WPHT/MP_WM_WPHT_LANG_WW-WW_VER_4.1_NUTS.json&fileName=MP_WM_WPHT_LANG_WW-WW_VER_4.1_NUTS&authKey=thinq","roomId":"162075324886483193","fwInfoList":null,"modemInfo":null,"existsEntryPopup":"N","fwVer":"QC_Modem_1.2.79","modemVer":null,"subDeviceCount":0,"firebaseLogKey":"T:FL-S:24-U:600-P:GPLUS_BIGIN"}
[18/05/2021, 16:37:49] [Tplink Kasa] refreshEmeter()
[18/05/2021, 16:37:49] [Tplink Kasa] Scheduling next run of refreshEmeter() in 10000(ms)
[18/05/2021, 16:37:49] [Tplink Kasa.API] client.sendDiscovery(255.255.255.255, [], 3)
[18/05/2021, 16:37:51] [LGThinQ] Restoring existing accessory from cache: Washer Machine
[18/05/2021, 16:37:51] [LGThinQ] Found device: a7ec240f-36fb-1598-91a0-acf1089c4a2b: Dishwasher (DISHWASHER D0210)
[18/05/2021, 16:37:51] [LGThinQ] data: {"deviceId":"a7ec240f-36fb-1598-91a0-acf1089c4a2b","deviceType":204,"modelName":"D0210","subModelNm":null,"sensorType":null,"alias":"Dishwasher","deviceCode":"KI06","networkType":"02","tftYn":"N","guideTypeYn":"Y","guideType":"TYPE1","pccModelYn":"N","autoOrderYn":"N","drServiceYn":"N","ssid":"Kanolkar's Residence","timezoneCode":"Asia/Kolkata","timezoneCodeAlias":"Asia/Kolkata","sdsGuide":"{"deviceCode":"KI06"}","newRegYn":"N","remoteControlType":"","fareTarget":null,"area":"206690","sleep":null,"deviceState":"D","rmsClientId":null,"regDtUtc":"20210217135609000","regIndex":0,"blackboxYn":"Y","groupableYn":"N","controllableYn":"N","combinedProductYn":"N","masterYn":"Y","snapshot":{"dishwasher":{"door":"OPEN","courseType":"COURSE","initialTimeMinute":13,"saltRefill":"SET","autoDoor":"OFF","energySaver":"OFF","error":"ERROR_NO","nightDry":"OFF","extraDry":"OFF","remainTimeHour":0,"course":"NONE","dualZone":"OFF","highTemp":"OFF","steam":"OFF","state":"POWEROFF","process":"NONE","reserveTimeMinute":0,"currentDownloadCourse":"POTS_PANS","extraRinse":"OFF","cleanLReminder":"ON","rinseLevel":"LEVEL_2","signalLevel":"LEVEL_ON","remainTimeMinute":1,"reserveTimeHour":0,"delayStart":"OFF","softeningLevel":"LEVEL_2","tclCount":54,"smartCourse":"NONE","mcReminderSetting":"OFF","childLock":"OFF","remoteStart":"OFF","rinseRefill":"NOT_SET","halfLoad":"OFF","initialTimeHour":3},"mid":38776778,"online":false,"static":{"deviceType":"204","countryCode":"IN"},"meta":{"allDeviceInfoUpdate":false,"messageId":"YzuP_D_FRC-LFQ2oV5GvHg"},"timestamp":1620531663252},"manufacture":null,"online":false,"platformType":"thinq2","homeDeviceOrder":-1,"roomDeviceOrder":1,"ownershipYn":"Y","modelJsonVer":"1.5","modelJsonUri":"https://objectcontent.lgthinq.com/65013380-14b7-493f-b939-f31cdcc751a6?hdnts=exp=1666328436~hmac=8607271d0fc01d6326915b944a1a5589ca7d65401f0938401b7329662b51041f","appModuleVer":"210.49","appModuleUri":"https://objectcontent.lgthinq.com/64310918-0a02-4117-9c9e-2d27a4e83b31?hdnts=exp=1679820676~hmac=ee6b4ecf078517cdfb79b001c0e9f782bf115222cad7fedfdc005e745d825f24","appRestartYn":"Y","appModuleSize":"29471450","langPackProductTypeVer":"27.9","langPackProductTypeUri":"https://objectcontent.lgthinq.com/05aa21a8-7c49-4c09-9229-988ca841e559?hdnts=exp=1681613873~hmac=64711dc755baec15ff6a2300e39dcb38ea43d99b9f0b48edbddf69a902d7d140","langPackModelVer":null,"langPackModelUri":null,"roomId":"161357252018229778","fwInfoList":[{"checksum":"000062BC","partNumber":"SAA41263905","order":2},{"checksum":"00003FC8","partNumber":"SAA38669715","order":1}],"modemInfo":{"modelName":"D0210","appVersion":"clip_hna_v1.9.080","modemType":"QCOM_QCA4010","ruleEngine":"y"},"existsEntryPopup":"N","fwVer":null,"modemVer":null,"subDeviceCount":0,"firebaseLogKey":"T:DW-B:LG-C:Free-Fn:SO"}
[18/05/2021, 16:37:51] [LGThinQ] Restoring existing accessory from cache: Dishwasher
[18/05/2021, 16:37:59] [Tplink Kasa] refreshEmeter()
[18/05/2021, 16:37:59] [Tplink Kasa] Scheduling next run of refreshEmeter() in 10000(ms)
[18/05/2021, 16:37:59] [Tplink Kasa.API] client.sendDiscovery(255.255.255.255, [], 3)
[18/05/2021, 16:37:59] [Tplink Kasa.API] client.startDiscovery(): socket:message From: 192.168.0.153 9999 Message: {"system":{"get_sysinfo":{"err_code":0,"sw_ver":"1.2.5 Build 171129 Rel.174814","hw_ver":"1.0","type":"IOT.SMARTPLUGSWITCH","model":"HS100(US)","mac":"50:C7:BF:8D:9B:13","deviceId":"80068A6E4C807966767538EA8A8EC915188C9AF7","hwId":"5EACBE93FB9E32ECBE1F1C2ADE6DDE11","fwId":"00000000000000000000000000000000","oemId":"37589AA1F5CACDC53E2914B7760127E5","alias":"Bose Power","dev_name":"Wi-Fi Smart Plug","icon_hash":"","relay_state":1,"on_time":18563,"active_mode":"none","feature":"TIM","updating":0,"rssi":-87,"led_off":0,"latitude":19.023763,"longitude":72.866310}}}
[18/05/2021, 16:37:59] [Tplink Kasa.API] [Bose Power] device sysInfo set
[18/05/2021, 16:37:59] [Tplink Kasa.API] [Bose Power] plug sysInfo set
[18/05/2021, 16:37:59] [Tplink Kasa.API] [Bose Power] plug.emitEvents() inUse: true relayState: true lastState: {"inUse":true,"relayState":true}
[18/05/2021, 16:37:59] [Tplink Kasa] [Bose Power] fireCharacteristicUpdateCallback [OutletInUse] true
[18/05/2021, 16:37:59] [Tplink Kasa] [Bose Power] fireCharacteristicUpdateCallback [On] true
[18/05/2021, 16:37:59] [Tplink Kasa] Device Online: [Bose Power] plug [80068A6E4C807966767538EA8A8EC915188C9AF7] 192.168.0.153 9999
[18/05/2021, 16:38:07] [LGThinQ] Device not connected: 64ba55b0-0e9f-11f5-a203-2c2bf9b844b4: Washer Machine (WASHER WPHT)
[18/05/2021, 16:38:09] [Tplink Kasa] refreshEmeter()
[18/05/2021, 16:38:09] [Tplink Kasa] Scheduling next run of refreshEmeter() in 10000(ms)
[18/05/2021, 16:38:09] [Tplink Kasa.API] client.sendDiscovery(255.255.255.255, [], 3)
[18/05/2021, 16:38:12] [LGThinQ] Device not connected: 64ba55b0-0e9f-11f5-a203-2c2bf9b844b4: Washer Machine (WASHER WPHT)
[18/05/2021, 16:38:17] [LGThinQ] Device not connected: 64ba55b0-0e9f-11f5-a203-2c2bf9b844b4: Washer Machine (WASHER WPHT)
[18/05/2021, 16:38:19] [Tplink Kasa] refreshEmeter()
[18/05/2021, 16:38:19] [Tplink Kasa] Scheduling next run of refreshEmeter() in 10000(ms)
[18/05/2021, 16:38:19] [Tplink Kasa.API] client.sendDiscovery(255.255.255.255, [], 3)
[18/05/2021, 16:38:20] [Tplink Kasa.API] client.startDiscovery(): socket:message From: 192.168.0.153 9999 Message: {"system":{"get_sysinfo":{"err_code":0,"sw_ver":"1.2.5 Build 171129 Rel.174814","hw_ver":"1.0","type":"IOT.SMARTPLUGSWITCH","model":"HS100(US)","mac":"50:C7:BF:8D:9B:13","deviceId":"80068A6E4C807966767538EA8A8EC915188C9AF7","hwId":"5EACBE93FB9E32ECBE1F1C2ADE6DDE11","fwId":"00000000000000000000000000000000","oemId":"37589AA1F5CACDC53E2914B7760127E5","alias":"Bose Power","dev_name":"Wi-Fi Smart Plug","icon_hash":"","relay_state":1,"on_time":18583,"active_mode":"none","feature":"TIM","updating":0,"rssi":-86,"led_off":0,"latitude":19.023763,"longitude":72.866310}}}
[18/05/2021, 16:38:20] [Tplink Kasa.API] [Bose Power] device sysInfo set
[18/05/2021, 16:38:20] [Tplink Kasa.API] [Bose Power] plug sysInfo set
[18/05/2021, 16:38:20] [Tplink Kasa.API] [Bose Power] plug.emitEvents() inUse: true relayState: true lastState: {"inUse":true,"relayState":true}
[18/05/2021, 16:38:20] [Tplink Kasa] [Bose Power] fireCharacteristicUpdateCallback [OutletInUse] true
[18/05/2021, 16:38:20] [Tplink Kasa] [Bose Power] fireCharacteristicUpdateCallback [On] true
[18/05/2021, 16:38:20] [Tplink Kasa] Device Online: [Bose Power] plug [80068A6E4C807966767538EA8A8EC915188C9AF7] 192.168.0.153 9999
[18/05/2021, 16:38:22] [LGThinQ] Device not connected: 64ba55b0-0e9f-11f5-a203-2c2bf9b844b4: Washer Machine (WASHER WPHT)
[18/05/2021, 16:38:27] [LGThinQ] Device not connected: 64ba55b0-0e9f-11f5-a203-2c2bf9b844b4: Washer Machine (WASHER WPHT)
[18/05/2021, 16:38:29] [Tplink Kasa] refreshEmeter()
[18/05/2021, 16:38:29] [Tplink Kasa] Scheduling next run of refreshEmeter() in 10000(ms)
[18/05/2021, 16:38:29] [Tplink Kasa.API] client.sendDiscovery(255.255.255.255, [], 3)
[18/05/2021, 16:38:32] [LGThinQ] Device not connected: 64ba55b0-0e9f-11f5-a203-2c2bf9b844b4: Washer Machine (WASHER WPHT)
[18/05/2021, 16:38:37] [LGThinQ] Device not connected: 64ba55b0-0e9f-11f5-a203-2c2bf9b844b4: Washer Machine (WASHER WPHT)
[18/05/2021, 16:38:39] [Tplink Kasa] refreshEmeter()
[18/05/2021, 16:38:39] [Tplink Kasa] Scheduling next run of refreshEmeter() in 10000(ms)
[18/05/2021, 16:38:39] [Tplink Kasa.API] client.sendDiscovery(255.255.255.255, [], 3)
[18/05/2021, 16:38:42] [LGThinQ] Device not connected: 64ba55b0-0e9f-11f5-a203-2c2bf9b844b4: Washer Machine (WASHER WPHT)
[18/05/2021, 16:38:47] [LGThinQ] Device not connected: 64ba55b0-0e9f-11f5-a203-2c2bf9b844b4: Washer Machine (WASHER WPHT)
[18/05/2021, 16:38:49] [Tplink Kasa] refreshEmeter()
[18/05/2021, 16:38:49] [Tplink Kasa] Scheduling next run of refreshEmeter() in 10000(ms)
[18/05/2021, 16:38:49] [Tplink Kasa.API] client.sendDiscovery(255.255.255.255, [], 3)
[18/05/2021, 16:38:50] [Tplink Kasa.API] client.startDiscovery(): socket:message From: 192.168.0.153 9999 Message: {"system":{"get_sysinfo":{"err_code":0,"sw_ver":"1.2.5 Build 171129 Rel.174814","hw_ver":"1.0","type":"IOT.SMARTPLUGSWITCH","model":"HS100(US)","mac":"50:C7:BF:8D:9B:13","deviceId":"80068A6E4C807966767538EA8A8EC915188C9AF7","hwId":"5EACBE93FB9E32ECBE1F1C2ADE6DDE11","fwId":"00000000000000000000000000000000","oemId":"37589AA1F5CACDC53E2914B7760127E5","alias":"Bose Power","dev_name":"Wi-Fi Smart Plug","icon_hash":"","relay_state":1,"on_time":18613,"active_mode":"none","feature":"TIM","updating":0,"rssi":-86,"led_off":0,"latitude":19.023763,"longitude":72.866310}}}
[18/05/2021, 16:38:50] [Tplink Kasa.API] [Bose Power] device sysInfo set
[18/05/2021, 16:38:50] [Tplink Kasa.API] [Bose Power] plug sysInfo set
[18/05/2021, 16:38:50] [Tplink Kasa.API] [Bose Power] plug.emitEvents() inUse: true relayState: true lastState: {"inUse":true,"relayState":true}
[18/05/2021, 16:38:50] [Tplink Kasa] [Bose Power] fireCharacteristicUpdateCallback [OutletInUse] true
[18/05/2021, 16:38:50] [Tplink Kasa] [Bose Power] fireCharacteristicUpdateCallback [On] true
[18/05/2021, 16:38:50] [Tplink Kasa] Device Online: [Bose Power] plug [80068A6E4C807966767538EA8A8EC915188C9AF7] 192.168.0.153 9999
[18/05/2021, 16:38:52] [LGThinQ] Device not connected: 64ba55b0-0e9f-11f5-a203-2c2bf9b844b4: Washer Machine (WASHER WPHT)
[18/05/2021, 16:38:57] [LGThinQ] Device not connected: 64ba55b0-0e9f-11f5-a203-2c2bf9b844b4: Washer Machine (WASHER WPHT)
[18/05/2021, 16:38:59] [Tplink Kasa] refreshEmeter()
[18/05/2021, 16:38:59] [Tplink Kasa] Scheduling next run of refreshEmeter() in 10000(ms)
[18/05/2021, 16:38:59] [Tplink Kasa.API] client.sendDiscovery(255.255.255.255, [], 3)
[18/05/2021, 16:39:03] [LGThinQ] Device not connected: 64ba55b0-0e9f-11f5-a203-2c2bf9b844b4: Washer Machine (WASHER WPHT)

B406EE79-0C74-4D6E-BE5E-D3EC7B3F8BA3
752C0AA7-AFCF-4BD3-B2EC-07325AFAB297
0F998CE1-41F6-435A-B264-C14DF1B7E334
1343EF76-5B0B-4423-A26F-210DE7EF9EC6

@shaileshck
Copy link
Author

Gm. Did you get to check the logs. Any further information you would like from my end. Also to add the switch on switch off control was not working. If I try to switch on it would say starting…. And then go back to switch off position. This was observed when machine was switched OFF and also when machine is running it still showed OFF and same as above.

@nVuln
Copy link
Owner

nVuln commented May 22, 2021

I'll look into on/off feature when I have more free time (maybe it's not important because LG remote start is OFF as default)

@shaileshck
Copy link
Author

after last update observing these logs and both washer and dishwasher accessories not showing now.

ode:
'0110
result:
7
[04/07/2021, 00:14:03] [IGThine]( resultc
ode:
'0110
result:
7
[04/07/2021, 00:14:08] [IGThing] { resultc
ode:
'0110
result.
7
[04/07/2021, 00:14:13] [IGThing] { resultc
ode:
0110
result:
1
[04/07/2021, 00:14:18] [LGThine] { resultc
ode:
'0110"
result:
7
[04/07/2021, 00:14:231 (IGThing] { resultc
ode:
result:
[04/07/2021,
00:14:28] [LGThing] { resultc
ode:
'0110
result:
[04/07/2021,
00:14:33] ILGThing] { resulte
ode:
'0110
result:
[04/07/2021
00:14:38] ILGThing] | resultc
ode:
'0110
result:
[04/07/2021,
00:14:431 [IGThing] { resultc
ode:
"0110
result:
[04/07/2021, 00:14:48] (IGThing]( resultc
'0110"
result:
[04/07/2021, 00:14:541 (IGThing] { resultc
result:
104/07/2021, 00:14:591
[LGThing] { resultc
ode:
0110
result:
7
[04/07/2021, 00:15:031
[LGThing]{ resultc
ode:
'0110
result.
7
[04/07/2021, 00:15:091
[LGThing] { resultc
ode:
'0110'
result:
}
[04/07/2021,
00:15:131
[LGThing]{ resultc

@nVuln
Copy link
Owner

nVuln commented Jul 4, 2021

I got same issue before, please login to LG ThinQ mobile app and accept new their terms of service, it will back to normal
if you still got error, please let me know and I'll check it again

@shaileshck
Copy link
Author

shaileshck commented Jul 4, 2021 via email

@shaileshck
Copy link
Author

Hi

observed that starting issue still continues even if dishwasher is off.
also when ON the time shown is incorrect. It shows only minutes and seconds left. The hour option seems does not display.
for e.g if the dishwasher display shows 2hrs 30 mins. Or 1 hrs 10 mins. Then it displays only 30 mins or 10mins respectively along with seconds digits.

Attaching image for reference. It’s displays 47:18 but the actual dishwasher displays 1:47 mins

83D04333-D074-44C7-8A22-C2E6A099C211

@nVuln
Copy link
Owner

nVuln commented Jul 24, 2021

please try latest version

@shaileshck
Copy link
Author

shaileshck commented Jul 24, 2021 via email

@RaffoNin
Copy link

RaffoNin commented Aug 2, 2021

Hi the plug-in not showing hours for washing machine still happens in latest version. image image

@shaileshck
Copy link
Author

shaileshck commented Aug 2, 2021 via email

@nVuln
Copy link
Owner

nVuln commented Aug 2, 2021

@RaffoNin @shaileshck sorry for late process, I already fixed it in v1.0.2, please update

@RaffoNin
Copy link

RaffoNin commented Aug 3, 2021

I can confirm that it works now. Appreciate the effort on making the plug-in!
image

@shaileshck
Copy link
Author

shaileshck commented Aug 4, 2021 via email

@nVuln nVuln closed this as completed Aug 4, 2021
@nickbolero
Copy link

nickbolero commented Sep 15, 2021

Hi I'm testing this plugin on Hoobs. I entered the correct credentials. But it doesn't work. I am attaching the log. Can you help me?
[LGThinQ] Unknown Error: Error: Request failed with status code 406
at createError (/home/hoobs/.hoobs/node_modules/axios/lib/core/createError.js:16:15)
at settle (/home/hoobs/.hoobs/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/home/hoobs/.hoobs/node_modules/axios/lib/adapters/http.js:269:11)
at IncomingMessage.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1184:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
config: {
url: 'https://it.emp.lgsmartplatform.com/emp/v2.0/account/session/xxxxxxxxx8905%40gmail.com',
method: 'post',
data: 'user_auth2=9dhCLHO3cgE6a7IunbAxRNGVx%2B%2BGcdZG%2F6tDsufwpK9hIH%2BCoCfCpAjrcEjPPLnVZtPLIrLx0UYL1rPT02NPRy7aQpZGHndBAnt7FZ8uUFxOdc9WZ5ACUJdatdKM7aIFBqMea2Qsg%2BFO8mo1yDFIxh0pUFycuGPu58L9jp9sqRR%2Bc9ARsHsZaDiFTodNDDhM&password_hash_prameter_flag=Y&svc_list=SVC202%2CSVC710',
headers: {
Accept: 'application/json',
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8',
'X-Application-Key': '6V1V8H2BN5P9ZQGOI5DAQ92YZBDO3EK9',
'X-Client-App-Key': 'LGAO221A02',
'X-Lge-Svccode': 'SVC709',
'X-Device-Type': 'M01',
'X-Device-Platform': 'ADR',
'X-Device-Language-Type': 'IETF',
'X-Device-Publish-Flag': 'Y',
'X-Device-Country': 'IT',
'X-Device-Language': 'it-IT',
'X-Signature': 'GCr5jRgfS3rbBId0UbO3sjukUgfdI9iZFCct5L0Fdis=',
'X-Timestamp': '1631694284',
'Access-Control-Allow-Origin': '*',
'Accept-Encoding': 'gzip, deflate, br',
'Accept-Language': 'en-US,en;q=0.9',
'User-Agent': 'axios/0.21.4',
'Content-Length': 270
},
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
adapter: [Function: httpAdapter],
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
validateStatus: [Function: validateStatus],
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
}
},
request: ClientRequest {
_events: [Object: null prototype] {
socket: [Function],
abort: [Function],
aborted: [Function],
connect: [Function],
error: [Function],
timeout: [Function],
prefinish: [Function: requestOnPrefinish]
},
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: null,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: TLSSocket {
_tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
_SNICallback: null,
servername: 'it.emp.lgsmartplatform.com',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype],
_eventsCount: 9,
connecting: false,
_hadError: false,
_parent: null,
_host: 'it.emp.lgsmartplatform.com',
_readableState: [ReadableState],
readable: true,
_maxListeners: undefined,
_writableState: [WritableState],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: [TLSWrap],
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular],
[Symbol(res)]: [TLSWrap],
[Symbol(asyncId)]: 881,
[Symbol(kHandle)]: [TLSWrap],
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0,
[Symbol(connect-options)]: [Object]
},
connection: TLSSocket {
_tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
_SNICallback: null,
servername: 'it.emp.lgsmartplatform.com',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype],
_eventsCount: 9,
connecting: false,
_hadError: false,
_parent: null,
_host: 'it.emp.lgsmartplatform.com',
_readableState: [ReadableState],
readable: true,
_maxListeners: undefined,
_writableState: [WritableState],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: [TLSWrap],
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular],
[Symbol(res)]: [TLSWrap],
[Symbol(asyncId)]: 881,
[Symbol(kHandle)]: [TLSWrap],
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0,
[Symbol(connect-options)]: [Object]
},
_header: 'POST /emp/v2.0/account/session/xxxxxxxxxxx8905%40gmail.com HTTP/1.1\r\n' +
'Accept: application/json\r\n' +
'Content-Type: application/x-www-form-urlencoded;charset=UTF-8\r\n' +
'X-Application-Key: 6V1V8H2BN5P9ZQGOI5DAQ92YZBDO3EK9\r\n' +
'X-Client-App-Key: LGAO221A02\r\n' +
'X-Lge-Svccode: SVC709\r\n' +
'X-Device-Type: M01\r\n' +
'X-Device-Platform: ADR\r\n' +
'X-Device-Language-Type: IETF\r\n' +
'X-Device-Publish-Flag: Y\r\n' +
'X-Device-Country: IT\r\n' +
'X-Device-Language: it-IT\r\n' +
'X-Signature: GCr5jRgfS3rbBId0UbO3sjukUgfdI9iZFCct5L0Fdis=\r\n' +
'X-Timestamp: 1631694284\r\n' +
'Access-Control-Allow-Origin: \r\n' +
'Accept-Encoding: gzip, deflate, br\r\n' +
'Accept-Language: en-US,en;q=0.9\r\n' +
'User-Agent: axios/0.21.4\r\n' +
'Content-Length: 270\r\n' +
'Host: it.emp.lgsmartplatform.com\r\n' +
'Connection: close\r\n' +
'\r\n',
_onPendingData: [Function: noopPendingOutput],
agent: Agent {
_events: [Object: null prototype],
_eventsCount: 1,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object],
requests: {},
sockets: [Object],
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
maxCachedSessions: 100,
_sessionCache: [Object]
},
socketPath: undefined,
method: 'POST',
path: '/emp/v2.0/account/session/xxxxxxxxxx8905%40gmail.com',
_ended: true,
res: IncomingMessage {
_readableState: [ReadableState],
readable: false,
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
connection: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers: [Object],
rawHeaders: [Array],
trailers: {},
rawTrailers: [],
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 406,
statusMessage: '406',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [Circular],
responseUrl: 'https://it.emp.lgsmartplatform.com/emp/v2.0/account/session/xxxxxxxxxxxxx8905%40gmail.com',
redirects: []
},
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
_redirectable: Writable {
_writableState: [WritableState],
writable: true,
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
_options: [Object],
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 270,
_requestBodyBuffers: [],
_onNativeResponse: [Function],
_currentRequest: [Circular],
_currentUrl: 'https://it.emp.lgsmartplatform.com/emp/v2.0/account/session/xxxxxxxxxxxxxx8905%40gmail.com'
},
[Symbol(kNeedDrain)]: false,
[Symbol(isCorked)]: false,
[Symbol(kOutHeaders)]: [Object: null prototype] {
accept: [Array],
'content-type': [Array],
'x-application-key': [Array],
'x-client-app-key': [Array],
'x-lge-svccode': [Array],
'x-device-type': [Array],
'x-device-platform': [Array],
'x-device-language-type': [Array],
'x-device-publish-flag': [Array],
'x-device-country': [Array],
'x-device-language': [Array],
'x-signature': [Array],
'x-timestamp': [Array],
'access-control-allow-origin': [Array],
'accept-encoding': [Array],
'accept-language': [Array],
'user-agent': [Array],
'content-length': [Array],
host: [Array]
}
},
response: {
status: 406,
statusText: '406',
headers: {
'access-control-allow-headers': 'Origin, Access-Control-Allow-Origin, X-Device-Language-Type, X-Lge-System-Id, X-Application-Key, X-Device-Country, X-Device-Language, X-Device-Platform, X-Platform-Code, X-Platform-Version, X-Device-Publish-Flag, X-Device-Type, X-Lge-Svccode, X-Signature, X-Timestamp, X-Login-Session, Content-Type, Accept, X-Device-Id, X-Client-App-Key, X-Device-Model, X-Device-SDK-VERSION, X-Device-FCK, X-Device-Country-Group, X-Device-Netcast-Platform-Version, X-Device-FW-Version, X-Device-Locale, X-Device-Remote-Flag, X-Authentication, X-Device-Product, X-Device-Sales-Model, X-Device-Eco-Info, X-Device-Personalization',
'access-control-allow-methods': 'OPTIONS,POST,PUT,GET,DELETE',
'access-control-allow-origin': '
',
'content-type': 'application/json;charset=UTF-8',
date: 'Wed, 15 Sep 2021 08:24:46 GMT',
server: 'Apache',
'set-cookie': [Array],
'x-server-time': 'Wed, 15 Sep 2021 08:24:46 GMT',
'content-length': '189',
connection: 'Close'
},
config: {
url: 'https://it.emp.lgsmartplatform.com/emp/v2.0/account/session/xxxxxxxxxxxxx8905%40gmail.com',
method: 'post',
data: 'user_auth2=9dhCLHO3cgE6a7IunbAxRNGVx%2B%2BGcdZG%2F6tDsufwpK9hIH%2BCoCfCpAjrcEjPPLnVZtPLIrLx0UYL1rPT02NPRy7aQpZGHndBAnt7FZ8uUFxOdc9WZ5ACUJdatdKM7aIFBqMea2Qsg%2BFO8mo1yDFIxh0pUFycuGPu58L9jp9sqRR%2Bc9ARsHsZaDiFTodNDDhM&password_hash_prameter_flag=Y&svc_list=SVC202%2CSVC710',
headers: [Object],
transformRequest: [Array],
transformResponse: [Array],
timeout: 0,
adapter: [Function: httpAdapter],
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
validateStatus: [Function: validateStatus],
transitional: [Object]
},
request: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: null,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [TLSSocket],
connection: [TLSSocket],
_header: 'POST /emp/v2.0/account/session/xxxxxxxxxxxx8905%40gmail.com HTTP/1.1\r\n' +
'Accept: application/json\r\n' +
'Content-Type: application/x-www-form-urlencoded;charset=UTF-8\r\n' +
'X-Application-Key: 6V1V8H2BN5P9ZQGOI5DAQ92YZBDO3EK9\r\n' +
'X-Client-App-Key: LGAO221A02\r\n' +
'X-Lge-Svccode: SVC709\r\n' +
'X-Device-Type: M01\r\n' +
'X-Device-Platform: ADR\r\n' +
'X-Device-Language-Type: IETF\r\n' +
'X-Device-Publish-Flag: Y\r\n' +
'X-Device-Country: IT\r\n' +
'X-Device-Language: it-IT\r\n' +
'X-Signature: GCr5jRgfS3rbBId0UbO3sjukUgfdI9iZFCct5L0Fdis=\r\n' +
'X-Timestamp: 1631694284\r\n' +
'Access-Control-Allow-Origin: *\r\n' +
'Accept-Encoding: gzip, deflate, br\r\n' +
'Accept-Language: en-US,en;q=0.9\r\n' +
'User-Agent: axios/0.21.4\r\n' +
'Content-Length: 270\r\n' +
'Host: it.emp.lgsmartplatform.com\r\n' +
'Connection: close\r\n' +
'\r\n',
_onPendingData: [Function: noopPendingOutput],
agent: [Agent],
socketPath: undefined,
method: 'POST',
path: '/emp/v2.0/account/session/xxxxxxxxxxxx8905%40gmail.com',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
_redirectable: [Writable],
[Symbol(kNeedDrain)]: false,
[Symbol(isCorked)]: false,
[Symbol(kOutHeaders)]: [Object: null prototype]
},
data: { error: [Object] }
},
isAxiosError: true,
toJSON: [Function: toJSON]
}
15/9/2021, 10:24:47 [LGThinQ] ThinQ API is not ready. please check configuration and try again.

@shaileshck
Copy link
Author

[LGThing] Thing API
is not ready. please check configuration
913/04/20224
and
try again.
05:48:11] [LGThing] 0110
[13/04/2022, 05:48:12]

After 0110 there is some Chinese content shown.
unable to see washer dryer and dishwasher in HomeKit.
Lg app shows both device and also homekit.

pls help to resolve

Regards

Shailesh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants