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

[BUG] Current Course Attribute not reporting for LG Dishwasher #272

Closed
ianackerley opened this issue Jan 21, 2022 · 6 comments
Closed

[BUG] Current Course Attribute not reporting for LG Dishwasher #272

ianackerley opened this issue Jan 21, 2022 · 6 comments

Comments

@ianackerley
Copy link

ianackerley commented Jan 21, 2022

Describe the bug
Integration doesn't seem to bring across the "Current Course" attribute of my LG Dishwasher.
The attribute just displays "-" and doesnt change, it has been this way since I installed the integration, probably around 6 months ago.

Expected behavior
I'd expect it to show "Eco" in the example screenshot below, as per the LG ThinQ App.

Screenshots
Sensor in HA
image

LG App - same wash cycle
Screenshot_20220121-154231_LG ThinQ

Environment details:

  • Environment (HASSIO, Raspbian, etc): HASSIO
  • Home Assistant version installed: 2021.12.10
  • Component version installed: v0.12.4
  • Last know working version: Hasn't worked ever
  • LG device type and model with issue: LG Dishwasher Model: XD3A15NS
  • LG devices connected (list): Dishwasher only

Output of HA logs
Paste the relavant output of the HA log here.
not sure what to put here sorry.


Additional context
Add any other context about the problem here.

@ianackerley ianackerley changed the title [BUG] [BUG] Current Course Attribute not reporting for LG Dishwasher Jan 21, 2022
@ollo69
Copy link
Owner

ollo69 commented Jan 21, 2022

I need json info of your device and ha debug log to analyze this.

@ianackerley
Copy link
Author

ianackerley commented Jan 21, 2022

Apologies I haven't done this before. Is this the right info?

@ollo69
Copy link
Owner

ollo69 commented Jan 21, 2022

Looks good! Are this debug log related to a period when your dish-washer was running with Eco program?

@ianackerley
Copy link
Author

ianackerley commented Jan 21, 2022

Not actually running, I'd started it took the logs and cancelled afterwards.

Try these ones, this was actually running an eco program:

Do you just need this bit though?
2022-01-22 08:07:17 DEBUG (SyncWorker_2) [custom_components.smartthinq_sensors] Updating ThinQ device Dishwasher
2022-01-22 08:07:17 DEBUG (SyncWorker_2) [custom_components.smartthinq_sensors.wideq.device] Updating ThinQ device 996bca48-cc29-1fc6-aec4-402f86cba1fa
2022-01-22 08:07:17 DEBUG (SyncWorker_2) [custom_components.smartthinq_sensors.wideq.device] Polling...
2022-01-22 08:07:17 DEBUG (SyncWorker_2) [custom_components.smartthinq_sensors.wideq.core_v2] thinq2_get before: https://kic-service.lgthinq.com:46030/v1/service/application/dashboard
2022-01-22 08:07:17 DEBUG (SyncWorker_2) [custom_components.smartthinq_sensors.wideq.core_v2] thinq2_get after: {'resultCode': '0000', 'result': {'langPackCommonVer': '125.1', 'langPackCommonUri': 'https://objectcontent.lgthinq.com/34487b54-499d-42aa-8dd2-50162234c6e6?hdnts=exp=1705675878~hmac=96574f190f12caa7bb55096946f85c9b111f62b1f97142b8d51a757dea85d590', 'item': [{'appType': 'NUTS', 'modelCountryCode': 'WW', 'countryCode': 'AU', 'modelName': 'D2201', 'deviceType': 204, 'deviceCode': 'KI06', 'alias': 'Dishwasher', 'deviceId': '996bca48-cc29-1fc6-aec4-402f86cba1fa', 'fwVer': '', 'imageFileName': 'home_appliances_img_dishwm.png', 'imageUrl': 'https://objectcontent.lgthinq.com/0910e75d-2b41-4fa8-8830-7566152b52a3?hdnts=exp=1701572459hmac=90e0378aa359b25021e16c6447ca559a4deac0840a11b40de9e9efd215960581', 'smallImageUrl': 'https://objectcontent.lgthinq.com/fdec9eca-a3df-44f2-b229-3ef1f1f2e95b?hdnts=exp=1701576053hmac=8f5f7cda60b707d963836be93e95f922d6c32923972736ab29bd60b9a0cb9fa6', 'ssid': 'SSID', 'softapId': '', 'softapPass': '', 'macAddress': '', 'networkType': '02', 'timezoneCode': 'Australia/Hobart', 'timezoneCodeAlias': 'AUS/Hobart', 'utcOffset': 10, 'utcOffsetDisplay': '+10:00', 'dstOffset': 11, 'dstOffsetDisplay': '+11:00', 'curOffset': 11, 'curOffsetDisplay': '+11:00', 'sdsGuide': '{"deviceCode":"KI06"}', 'newRegYn': 'N', 'remoteControlType': '', 'userNo': 'AU2101159032149', 'tftYn': 'N', 'modelJsonVer': 1.3, 'modelJsonUri': 'https://objectcontent.lgthinq.com/5bb3677d-b9dc-4a85-b2af-29f92becfaf3?hdnts=exp=1664589639hmac=037dde7d532b5f893c84072a40199e53f0a5a8d4b92e3ea75b1e1a84d504b556', 'appModuleVer': 210.22, 'appModuleUri': 'https://objectcontent.lgthinq.com/f15d8e17-fecd-452c-b3f1-5608fdbbceed?hdnts=exp=1683781241hmac=bd8f91c6e4ef460aa06f8e13ce459271964a9e849ded65d7109257ea8d9f6c68', 'appRestartYn': 'Y', 'appModuleSize': 541601, 'langPackProductTypeVer': 32.0, 'langPackProductTypeUri': 'https://objectcontent.lgthinq.com/84fe24ea-5d98-47f5-81a1-a1fcdad5f5d3?hdnts=exp=1702961168~hmac=a7c46e678116b68687a36ee5479d2596cf496b8724d135447934639c2d0221ca', 'deviceState': 'E', 'snapshot': {'dishwasher': {'door': 'CLOSE', 'courseType': 'COURSE', 'initialTimeMinute': 10.0, 'saltRefill': 'NOT_SET', 'autoDoor': 'ON', 'energySaver': 'OFF', 'error': 'ERROR_NO', 'nightDry': 'OFF', 'extraDry': 'OFF', 'remainTimeHour': 2.0, 'course': 'NORMAL/ECO', 'dualZone': 'OFF', 'highTemp': 'OFF', 'steam': 'OFF', 'state': 'RUNNING', 'process': 'RUNNING', 'reserveTimeMinute': 0.0, 'currentDownloadCourse': 'POTS_PANS', 'extraRinse': 'OFF', 'cleanLReminder': 'OFF', 'rinseLevel': 'LEVEL_2', 'signalLevel': 'LEVEL_ON', 'remainTimeMinute': 7.0, 'reserveTimeHour': 0.0, 'delayStart': 'OFF', 'softeningLevel': 'LEVEL_0', 'tclCount': 15.0, 'smartCourse': 'NONE', 'mcReminderSetting': 'OFF', 'childLock': 'OFF', 'remoteStart': 'OFF', 'rinseRefill': 'NOT_SET', 'halfLoad': 'OFF', 'initialTimeHour': 2.0}, 'mid': 241219.0, 'online': True, 'static': {'deviceType': '204', 'countryCode': 'AU'}, 'meta': {'allDeviceInfoUpdate': False, 'messageId': 'ROAqlQ23TgC8Mek1Lq10UA'}, 'timestamp': 1642799159553.0}, 'online': True, 'platformType': 'thinq2', 'area': 25635, 'regDt': 20210115221409.0, 'blackboxYn': 'Y', 'modelProtocol': 'STANDARD', 'order': 0, 'drServiceYn': 'N', 'fwInfoList': [{'checksum': '0000A816', 'order': 2.0, 'partNumber': 'SAA41264102'}, {'checksum': '0000E775', 'order': 1.0, 'partNumber': 'SAA38669707'}], 'modemInfo': {'appVersion': 'clip_hna_v1.9.116', 'modelName': 'D2201', 'modemType': 'QCOM_QCA4010', 'ruleEngine': 'y'}, 'guideTypeYn': 'Y', 'guideType': 'TYPE1', 'regDtUtc': '20210115111409', 'regIndex': 0, 'groupableYn': 'N', 'controllableYn': 'N', 'combinedProductYn': 'N', 'masterYn': 'Y', 'pccModelYn': 'N', 'autoOrderYn': 'N', 'initDevice': False, 'existsEntryPopup': 'N', 'tclcount': 0}], 'group': []}}
2022-01-22 08:07:17 DEBUG (SyncWorker_2) [custom_components.smartthinq_sensors.wideq.device] ThinQ status updated
2022-01-22 08:07:17 DEBUG (SyncWorker_2) [custom_components.smartthinq_sensors] ThinQ status updated
2022-01-22 08:07:17 DEBUG (MainThread) [custom_components.smartthinq_sensors] Finished fetching smartthinq_sensors-Dishwasher data in 0.915 seconds (success: True)

@ollo69
Copy link
Owner

ollo69 commented Jan 22, 2022

This should be fixed in last released version. Please test it and let me know results.

@ianackerley
Copy link
Author

Working as expected thanks!

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants