homebridge-lg-thinq: not work
Describe The Bug: hi, thanks for your work. I followed your guide and everything seems to work, but no devices appear on the homekit home app. I connected my lg account and all my devices appeared (two washing machines, a fridge), but there is nothing in the home app. what can I do? Thank you
To Reproduce:
Expected behavior:
Logs:
[03/11/2021, 13:11:23] [LGThinQ] [request] get https://route.lgthinq.com:46030/v1/service/application/gateway-uri
[03/11/2021, 13:11:26] [LGThinQ] [request] post https://kic.lgthinq.com:46030/api/common/gatewayUriList
[03/11/2021, 13:11:26] [LGThinQ] [request] post https://it.lgeapi.com/oauth2/token
[03/11/2021, 13:11:27] [LGThinQ] [request] post https://eic.lgthinq.com:46030/api/member/login
[03/11/2021, 13:11:27] [LGThinQ] [request] get https://it.lgeapi.com/users/profile
[03/11/2021, 13:11:27] [LGThinQ] Successfully connected to the ThinQ API.
[03/11/2021, 13:11:28] [LGThinQ] [request] get https://eic-service.lgthinq.com:46030/v1/service/homes
[03/11/2021, 13:11:28] [LGThinQ] [request] get https://eic-service.lgthinq.com:46030/v1/service/homes/160046312500821557
[03/11/2021, 13:11:28] [LGThinQ] Device data: {"deviceId":"7f499660-6bd0-11ea-bc7e-b4e62ab3a108","deviceType":201,"modelName":"PI57_F","subModelNm":"","sensorType":null,"alias":"Mini lavatrice","deviceCode":"LA05","networkType":"02","tftYn":"N","guideTypeYn":"Y","guideType":"TYPE4","pccModelYn":"N","autoOrderYn":"N","drServiceYn":"N","ssid":"Dido's 2,4","timezoneCode":"Europe/Rome","timezoneCodeAlias":"Europe/Rome","sdsGuide":"{\"deviceCode\":\"LA05\"}","newRegYn":"N","remoteControlType":"","fareTarget":null,"area":"216438","sleep":null,"deviceState":"D","rmsClientId":null,"regDtUtc":"20200806085250000","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":"0.6","modelJsonUri":"https://eic.lgthinq.com:46030/api/webContents/modelJSON?modelName=PI57_F&countryCode=WW&contentsId=JS0803023450736558&authKey=thinq","appModuleVer":"3.64","appModuleUri":"https://objectcontent.lgthinq.com/6dc5b4dd-dea5-4f83-8317-490045cd1309?hdnts=exp=1690505351~hmac=a5da0252db8458259829b35d72d8760b3dc1409433745774fb3b2cca7982391b","appRestartYn":"Y","appModuleSize":"9896549","langPackProductTypeVer":"87.3","langPackProductTypeUri":"https://objectcontent.lgthinq.com/c7301211-abf0-4503-91e3-7be555d8ad49?hdnts=exp=1698504469~hmac=4b2b9cc2176200469c83d6f93fa1c0da9bd85044d2de0e7ad69624a00f587171","langPackModelVer":"0.8","langPackModelUri":"https://eic.lgthinq.com:46030/api/webContents/moduleDownload?type=langPack/MP/PI57_F/MP_WM_PI57_F_LANG_WW-WW_VER_0.8_NUTS.json&fileName=MP_WM_PI57_F_LANG_WW-WW_VER_0.8_NUTS&authKey=thinq","roomId":"","fwInfoList":null,"modemInfo":null,"existsEntryPopup":"N","fwVer":"QC_Modem_1.2.80","modemVer":null,"subDeviceCount":0,"firebaseLogKey":null,"cardType":"Small","cardControl":"Base","upgradableYn":"N"}
[03/11/2021, 13:11:28] [LGThinQ] [Mini lavatrice] Setting up device!
[03/11/2021, 13:11:29] [LGThinQ] retried request error: NotConnectedError: 장치가 접속중이 아닙니다.
at client.interceptors.response.use.err.response._a (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/request.ts:27:13)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at API.request (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/API.ts:57:12)
at API.postRequest (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/API.ts:46:12)
at API.thinq1PostRequest (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/API.ts:252:12)
at API.sendMonitorCommand (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/API.ts:176:12)
at ThinQ.registerWorkId (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/ThinQ.ts:96:31)
at ThinQ.setup (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/ThinQ.ts:73:7)
at LGThinQHomebridgePlatform.discoverDevices (/usr/local/lib/node_modules/homebridge-lg-thinq/src/platform.ts:120:28)
[03/11/2021, 13:11:29] [LGThinQ] TypeError: Cannot read property 'lgedmRoot' of undefined
at /usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/API.ts:254:35
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at API.thinq1PostRequest (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/API.ts:252:12)
at API.sendMonitorCommand (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/API.ts:176:12)
at ThinQ.registerWorkId (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/ThinQ.ts:96:31)
at ThinQ.setup (/usr/local/lib/node_modules/homebridge-lg-thinq/src/lib/ThinQ.ts:73:7)
at LGThinQHomebridgePlatform.discoverDevices (/usr/local/lib/node_modules/homebridge-lg-thinq/src/platform.ts:120:28)
[03/11/2021, 13:11:29] [LGThinQ] Cannot read property 'lgedmRoot' of undefined
Plugin Config:
{
"bridge": {
"name": "Homebridge 3FBF",
"username": "0E:D3:E4:77:3F:BF",
"port": 51512,
"pin": "321-87-160"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"auth": "form",
"theme": "auto",
"tempUnits": "c",
"lang": "it",
"platform": "config"
},
{
"name": "FritzPlatform",
"warn": true,
"error": true,
"extendedError": true,
"devices": [
{
"active": true,
"name": "7590",
"host": "192.168.178.1",
"username": "******",
"password": "******",
"ssl": true,
"tr064": true,
"igd": false,
"wifiUnits": 2,
"master": true,
"connection": "dsl",
"options": {
"wifi_guest": "switch"
}
},
{
"active": true,
"name": "7530",
"host": "192.168.178.108",
"username": "******",
"password": "*********!",
"ssl": true,
"tr064": true,
"igd": false,
"wifiUnits": 2,
"connection": "cable"
}
],
"options": {
"polling": {
"timer": 15
}
},
"platform": "FritzPlatform"
},
{
"country": "IT",
"language": "it-IT",
"auth_mode": "token",
"refresh_token": "*********",
"username": "************@gmail.com",
"password": "**********",
"platform": "LGThinQ",
"devices": [
{
"id": "7f499660-6bd0-11ea-bc7e-b4e62ab3a108",
"name": "Mini lavatrice",
"type": "WASHER",
"washer_trigger": true,
"washer_door_lock": true
},
{
"id": "9e2540e0-5bc1-11e8-a1de-b4e62a6e6878",
"name": "Frigorifero",
"type": "REFRIGERATOR",
"ref_express_freezer": true,
"ref_express_fridge": true,
"ref_eco_friendly": true
},
{
"id": "F27E847B-1FBC-4A82-BFE3-F9CB0F3F1DED",
"name": "MICROONDE",
"type": "MICROWAVE"
},
{
"id": "baddd870-8d42-11e8-8da7-7c1c4e8d1387",
"name": "LAVATRICE",
"type": "WASHER",
"washer_trigger": true,
"washer_door_lock": true
}
],
"thinq1": true,
"refresh_interval": 30
}
]
}
Screenshots:
Environment:
- Plugin Version: 1.2.9
- Homebridge Version: 1.3.5
- Node.js Version: 16.13.0
- NPM Version: 8.1.0
- Operating System: Raspbian GNU/Linux Buster (10)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 29 (14 by maintainers)
in homebridge, it’s showing as filter maintenance tile with name “Tub Clean Coach” you can found it on Eve app, I still find the way to enable it in Home app
I have published test version
v1.2.11-test.4
, addedTCLCount
counter and simulate as filter maintenance update and try it when you have time, let me know if you got any errorcan you capture some screenshot from LG native app for this feature ?
it’s ok, if native LG app support it, I think we can found that counter in device API, I’ll look into that when I fixed this thinq1 issue