TA2k / ioBroker.lg-thinq

ioBroker Adapter for LG ThinQ
MIT License
13 stars 5 forks source link

Errors on startup and no data updates #21

Closed foxriver76 closed 1 year ago

foxriver76 commented 1 year ago

Hi, thanks for the adapter. After a long time, I found some time to give it a second try. Unfortunately, no relevant data is updated under remote and on startup the following errors are logged.

The device is a V5WD85SLIM (washing machine and dryer combination)

2022-11-29 14:05:08.841 - info: lg-thinq.0 (30032) starting. Version 0.1.2 in /opt/iobroker/node_modules/iobroker.lg-thinq, node: v14.20.1, js-controller: 4.0.23
--
2022-11-29 14:05:10.422 - info: lg-thinq.0 (30032) Login successful
2022-11-29 14:05:11.287 - info: lg-thinq.0 (30032) Found: 1 devices
2022-11-29 14:05:11.513 - error: lg-thinq.0 (30032) Foreach valueMapping: TypeError: Cannot read property 'value' of undefined - dryLevel - 4969cbd3-3f6d-1d1b-9105-f8b95a9e3a60
2022-11-29 14:05:11.513 - error: lg-thinq.0 (30032) Foreach valueMapping: TypeError: Cannot read property 'value' of undefined - dryLevel - 4969cbd3-3f6d-1d1b-9105-f8b95a9e3a60
2022-11-29 14:05:11.513 - error: lg-thinq.0 (30032) Foreach valueMapping: TypeError: Cannot read property 'value' of undefined - dryLevel - 4969cbd3-3f6d-1d1b-9105-f8b95a9e3a60
2022-11-29 14:05:11.513 - error: lg-thinq.0 (30032) Foreach valueMapping: TypeError: Cannot read property 'value' of undefined - dryLevel - 4969cbd3-3f6d-1d1b-9105-f8b95a9e3a60
2022-11-29 14:05:11.514 - error: lg-thinq.0 (30032) Foreach valueMapping: TypeError: Cannot read property 'value' of undefined - dryLevel - 4969cbd3-3f6d-1d1b-9105-f8b95a9e3a60
2022-11-29 14:05:11.514 - error: lg-thinq.0 (30032) Foreach valueMapping: TypeError: Cannot read property 'value' of undefined - dryLevel - 4969cbd3-3f6d-1d1b-9105-f8b95a9e3a60
2022-11-29 14:05:11.514 - error: lg-thinq.0 (30032) Foreach valueMapping: TypeError: Cannot read property 'value' of undefined - dryLevel - 4969cbd3-3f6d-1d1b-9105-f8b95a9e3a60
2022-11-29 14:05:11.514 - error: lg-thinq.0 (30032) Foreach valueMapping: TypeError: Cannot read property 'value' of undefined - dryLevel - 4969cbd3-3f6d-1d1b-9105-f8b95a9e3a60
2022-11-29 14:05:11.514 - error: lg-thinq.0 (30032) Foreach valueMapping: TypeError: Cannot read property 'value' of undefined - dryLevel - 4969cbd3-3f6d-1d1b-9105-f8b95a9e3a60
2022-11-29 14:05:11.515 - error: lg-thinq.0 (30032) Foreach valueMapping: TypeError: Cannot read property 'value' of undefined - dryLevel - 4969cbd3-3f6d-1d1b-9105-f8b95a9e3a60
2022-11-29 14:05:11.515 - error: lg-thinq.0 (30032) Foreach valueMapping: TypeError: Cannot read property 'value' of undefined - dryLevel - 4969cbd3-3f6d-1d1b-9105-f8b95a9e3a60
2022-11-29 14:05:11.515 - error: lg-thinq.0 (30032) Foreach valueMapping: TypeError: Cannot read property 'value' of undefined - dryLevel - 4969cbd3-3f6d-1d1b-9105-f8b95a9e3a60
2022-11-29 14:05:11.515 - error: lg-thinq.0 (30032) Foreach valueMapping: TypeError: Cannot read property 'value' of undefined - wrinkleCare - 4969cbd3-3f6d-1d1b-9105-f8b95a9e3a60
2022-11-29 14:05:11.516 - error: lg-thinq.0 (30032) Foreach valueMapping: TypeError: Cannot read property 'value' of undefined - wrinkleCare - 4969cbd3-3f6d-1d1b-9105-f8b95a9e3a60
2022-11-29 14:05:11.829 - warn: lg-thinq.0 (30032) Cannot found last course!
2022-11-29 14:05:13.762 - info: lg-thinq.0 (30032) Found MQTT Host
2022-11-29 14:05:13.868 - info: lg-thinq.0 (30032) Found AWS CER
2022-11-29 14:05:14.694 - info: lg-thinq.0 (30032) Create certification done
2022-11-29 14:05:15.343 - info: lg-thinq.0 (30032) Start MQTT Connection
2022-11-29 14:05:15.663 - info: lg-thinq.0 (30032) MQTT connected to:
TA2k commented 1 year ago

Can you please the GitHub version and enable debug log and provide the information after "Get Device Model Info"

foxriver76 commented 1 year ago

Thanks for your quick response.

{
  "deviceId": "4969cbd3-3f6d-1d1b-9105-f8b95a9e3a60",
  "deviceType": 201,
  "modelName": "F_V7_F___W.B_2QEUK",
  "subModelNm": null,
  "sensorType": null,
  "alias": "Frontlader-Waschmaschine",
  "deviceCode": "LA02",
  "networkType": "02",
  "tftYn": "N",
  "guideTypeYn": "Y",
  "guideType": "TYPE2",
  "pccModelYn": "N",
  "autoOrderYn": "N",
  "drServiceYn": "N",
  "ssid": "FRITZ!Box Fon WLAN",
  "timezoneCode": "Europe/Berlin",
  "timezoneCodeAlias": "Europe/Berlin",
  "sdsGuide": {
    "deviceCode": "LA02"
  },
  "newRegYn": "Y",
  "remoteControlType": "",
  "fareTarget": null,
  "area": 167921,
  "sleep": null,
  "deviceState": "D",
  "rmsClientId": null,
  "regDtUtc": "20221129125323000",
  "regIndex": 0,
  "blackboxYn": "Y",
  "groupableYn": "N",
  "controllableYn": "N",
  "combinedProductYn": "N",
  "masterYn": "Y",
  "snapshot": {
    "washerDryer": {
      "initialBit": "INITIAL_BIT_OFF",
      "standby": "STANDBY_OFF",
      "courseFL24inchBaseTitan": "DRYONLY",
      "ezLinkDetergentState": "EZLINKDT_NOT_EMPTY",
      "initialTimeMinute": 45,
      "preState": "DRYING",
      "error": "ERROR_NO",
      "dryLevel": "NOT_SELECTED",
      "ezDetergentState": "EZCSDT_NOT_EMPTY",
      "creaseCare": "CREASECARE_OFF",
      "mlStep": 0,
      "ezSoftenerAmount": 0,
      "remainTimeHour": 2,
      "smartCourseFL24inchBaseTitan": "NOT_SELECTED",
      "preWash": "PREWASH_OFF",
      "ezDispenseType": "EZD_DETERGENT_SOFTENER",
      "steam": "STEAM_OFF",
      "state": "POWEROFF",
      "ezCSSoftenerSetVal": "EZCSSO_OFF",
      "rinse": "NO_RINSE",
      "wrinkleCare": "WRINKLECARE_OFF",
      "loadItemWasher": "LOADITEM_OFF",
      "temp": "NO_TEMP",
      "doorLock": "DOOR_LOCK_OFF",
      "reserveTimeMinute": 0,
      "ezCSDetergentSetVal": "EZCSDT_OFF",
      "AIDDLed": "AIDDLed_OFF",
      "TCLCount": 57,
      "downloadedCourseFL24inchBaseTitan": "RINSESPIN",
      "ezSoftenerState": "EZCSSO_NOT_EMPTY",
      "medicRinse": "MEDICRINSE_OFF",
      "ezDispenseNotation": "ezDisNotation_ml",
      "ezDispenseSetting": "EZD_SETTING_OFF",
      "turboWash": "TURBOWASH_OFF",
      "ecoHybrid": "ECOHYBRID_OFF",
      "remainTimeMinute": 44,
      "reserveTimeHour": 0,
      "steamSoftener": "STEAMSOFTENER_OFF",
      "childLock": "CHILDLOCK_OFF",
      "remoteStart": "REMOTE_START_OFF",
      "spin": "NOT_SELECTED",
      "ezDetergentAmount": 0,
      "soilWash": "NO_SOILWASH",
      "ezDispenseDrawerState": "ezDisDrawer_CLOSE",
      "rinseSpin": "RINSE_SPIN_OFF",
      "initialTimeHour": 2
    },
    "fwUpgradeInfo": {
      "upgSched": {
        "upgUtc": 0,
        "cmd": "none"
      }
    },
    "static": {
      "deviceType": 201,
      "countryCode": "DE"
    },
    "meta": {
      "allDeviceInfoUpdate": false,
      "messageId": "vWjinz2WRHCU6lYW1LpgFw"
    },
    "mid": 739571,
    "online": false,
    "timestamp": 1669727223282
  },
  "manufacture": null,
  "online": false,
  "platformType": "thinq2",
  "homeDeviceOrder": 1,
  "roomDeviceOrder": -1,
  "ownershipYn": "Y",
  "modelJsonVer": 1.5,
  "modelJsonUri": "https://objectcontent.lgthinq.com/f4305398-7aa1-4b82-aae1-7df3b49f88c9?hdnts=exp=1677244859~hmac=22458786b2c097bc4c8bc535bec47a234a26381c525d1497c0d9a5e7fbdd14cd",
  "appModuleVer": 3.63,
  "appModuleUri": "https://objectcontent.lgthinq.com/27342417-7989-4cd5-a248-9b204c437c3d?hdnts=exp=1690080696~hmac=57e58b829363251d0615a494886d685f1148c1f74649cb04d9fd7a19ebd3484b",
  "appRestartYn": "Y",
  "appModuleSize": 9896643,
  "langPackProductTypeVer": null,
  "langPackProductTypeUri": null,
  "langPackModelVer": 0.4,
  "langPackModelUri": "https://objectcontent.lgthinq.com/cbda68f7-e05c-4081-9bdb-1d2d8b82700c?hdnts=exp=1691556335~hmac=67b7749800a4b23ddff59c0c4e42c7b95c75e6991eea841505549da88d5150a8",
  "roomId": "",
  "fwInfoList": [
    {
      "checksum": "0000A372",
      "order": 2,
      "partNumber": "SAA42458602"
    },
    {
      "checksum": "00006045",
      "order": 1,
      "partNumber": "SAA41837631"
    }
  ],
  "modemInfo": {
    "appVersion": "clip_hna_v1.9.183",
    "modelName": "F_V7_F___W.B_2QEUK",
    "modemType": "RTK_RTL8711am",
    "oneshot": "y",
    "ruleEngine": "y",
    "size": 1572864
  },
  "existsEntryPopup": "N",
  "fwVer": null,
  "modemVer": "clip_hna_v1.9.138",
  "subDeviceCount": 0,
  "firebaseLogKey": null,
  "cardType": "Small",
  "cardControl": "Base",
  "detailDeviceCode": null,
  "upgradableYn": "N",
  "autoFwDownloadYn": "N"
}
foxriver76 commented 1 year ago

After looking at the JSON I have also found the relevant states in the snapshot folder. So probably they also get updated correctly. Only issue would then be the error at adapter start.

Lucky-ESA commented 1 year ago

Please retry the current GitHub version. Updating remote folder is not provided.