Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Failed to set power state on Error: Request failed with status code 400 #11

Open
subsy opened this issue May 21, 2020 · 7 comments
Open

Comments

@subsy
Copy link

subsy commented May 21, 2020

LG Air Conditioner Model
AM09BP.NSJ

Describe the bug
Controls not working.

Symptom check

  • Does your unit appear in the Home app? Yes
  • Is the current on/off state, temperature, and mode being reported? No
  • Does your unit respond to the controls? No

Relevant logs
[5/21/2020, 17:45:31] [LgThinqAirConditioner] Already logged into ThinQ
[5/21/2020, 17:45:32] [LgThinqAirConditioner] Discover found 1 total devices
[5/21/2020, 17:45:32] [LgThinqAirConditioner] Existing accessory: Air Conditioner
[5/21/2020, 17:46:05] [LgThinqAirConditioner] Failed to set power state on Error: Request failed with status code 400
[5/21/2020, 17:46:13] [LgThinqAirConditioner] Failed to set power state on Error: Request failed with status code 400
[5/21/2020, 17:46:31] [LgThinqAirConditioner] Error renewing monitor Error: Request failed with status code 400
[5/21/2020, 17:46:31] [LgThinqAirConditioner] Error parsing power state TypeError: Cannot read property 'airState.operation' of undefined
[5/21/2020, 17:46:31] [LgThinqAirConditioner] Error during interval update TypeError: Cannot read property 'airState.tempState.current' of undefined
[5/21/2020, 17:47:31] [LgThinqAirConditioner] Error renewing monitor Error: Request failed with status code 400

@sman591 thank you for your efforts with this plugin - it's greatly appreciated.

@jasonstcyr
Copy link

I'm getting the same errors.

@sebruant
Copy link

sebruant commented May 23, 2020

Same here.

[5/23/2020, 9:20:33 PM] [LgThinqAirConditioner] Error renewing monitor Error: Request failed with status code 400
[5/23/2020, 9:20:33 PM] [LgThinqAirConditioner] Error parsing power state TypeError: Cannot read property 'airState.operation' of undefined

@calhounfournier
Copy link

I'm having the same issues. Different model though. WIN_056905_CA.

@sman591
Copy link
Owner

sman591 commented May 26, 2020

Could you open the LG ThinQ app and check if it asks you to accept updated terms & conditions?

There is an outstanding to-do with ThinQ 1 devices in #4: only ThinQ 2 devices are supported right now. If there are no new Terms & Conditions to accept and you still see the message:

Cannot read property 'airState.operation' of undefined

This means your device isn't supported yet; please follow #4 for progress and updates

@subsy
Copy link
Author

subsy commented May 26, 2020

Thanks Stuart. No new T&C to accept here, and validated that all existing ones are checked.

Will follow #4 👍

@calhounfournier
Copy link

Yes same here. Will follow #4

@AmauryVela
Copy link

AmauryVela commented Jun 16, 2020

Same here [6/16/2020, 3:41:59 PM] [LgThinqAirConditioner] Discover found 1 total devices
[6/16/2020, 3:41:59 PM] [LgThinqAirConditioner] Registering new accessory: AIRE ACONDICIONADO
[6/16/2020, 3:41:59 PM] [LgThinqAirConditioner] Starting refresh interval (set to 1 minutes)
[6/16/2020, 3:42:00 PM] [LgThinqAirConditioner] Error renewing monitor Error: Request failed with status code 400

with model LP1419IVSM

I read in another issue that this might be because the device is offline (that I think in my case), because my device doesn't support API v1.

I'll try to get my device online and check again.

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

No branches or pull requests

6 participants