homebridge-lg-thinq-ac icon indicating copy to clipboard operation
homebridge-lg-thinq-ac copied to clipboard

Filter status

Open SepaSilva opened this issue 3 years ago • 5 comments

LG Air Conditioner Model AC Model: PC12SQ.NSK Model listed in the accessory's settings: RAC_056905_WW

Describe the bug All good except the filter status

Symptom check

  • Does your unit appear in the Home app? Yes
  • Is the current on/off state, temperature, and mode being reported? Yes
  • Does your unit respond to the controls? Yes 8F07C7F5-D9CC-42D3-B899-E4BFF213C429 9015ECDA-44B6-4C84-A06C-9BA0D6F3D6CF

Relevant logs If you feel there are relevant logs, please include them here. Otherwise you can remove this.

SepaSilva avatar Aug 25 '21 23:08 SepaSilva

I can confirm this issue

cosmo84 avatar Sep 13 '21 18:09 cosmo84

No solution in sight…

SepaSilva avatar Sep 13 '21 21:09 SepaSilva

I got the same issue, sadly. With the same language, if matter.

biosim500 avatar Dec 07 '21 23:12 biosim500

@bluefangs found the solution here, which looks to be a separate API:

https://github.com/sman591/homebridge-lg-thinq-ac/issues/70#issuecomment-825746581

Thanks!

The request is hitting this endpoint: https://kic-service.lgthinq.com:56030/v1/service/devices/<<device_id>>/control-sync Here is the req / resp for filter mgmt:

Request

{
    "command": "Get",
    "ctrlKey": "filterMngStateCtrl",
    "dataGetList": [
        "airState.filterMngStates.useTime",
        "airState.filterMngStates.maxTime"
    ]
}

Response

    "result": {
        "data": {
            "airState.filterMngStates.changeDate": 0.0,
            "airState.filterMngStates.maxTime": 720.0,
            "airState.filterMngStates.useTime": 55.0
        }
    },
    "resultCode": "0000"
}

I'll keep this GitHub issue open as the main ticket for tracking better filter level status. In the meantime, this is going to be omitted from the device whenever we can't parse the filter life.

sman591 avatar Feb 03 '22 07:02 sman591

@sman591 you sir, are a gentleman! Many thanks!

biosim500 avatar Feb 03 '22 11:02 biosim500