sampsyo / hass-smartthinq

Home Assistant component for LG SmartThinQ HVAC devices
MIT License
281 stars 98 forks source link

Out of the blue, Invalid Credential Error #113

Closed skinkie closed 1 year ago

skinkie commented 1 year ago
   await self._device.power(False)
  File "/home/skinkie/.homeassistant/custom_components/smartthinq_sensors/wideq/ac.py", line 605, in power
    await self.set(keys[0], keys[1], key=keys[2], value=op_value)
  File "/home/skinkie/.homeassistant/custom_components/smartthinq_sensors/wideq/ac.py", line 748, in set
    await super().set(
  File "/home/skinkie/.homeassistant/custom_components/smartthinq_sensors/wideq/device.py", line 545, in set
    await self._set_control(
  File "/home/skinkie/.homeassistant/custom_components/smartthinq_sensors/wideq/device.py", line 506, in _set_control
    await self._client.session.set_device_v2_controls(
  File "/home/skinkie/.homeassistant/custom_components/smartthinq_sensors/wideq/core_async.py", line 1067, in set_device_v2_controls
    res = await self.post2(cmd_path, payload)
  File "/home/skinkie/.homeassistant/custom_components/smartthinq_sensors/wideq/core_async.py", line 904, in post2
    return await self._auth.gateway.core.lgedm2_post(
  File "/home/skinkie/.homeassistant/custom_components/smartthinq_sensors/wideq/core_async.py", line 321, in lgedm2_post
    return self._manage_lge_result(out, is_api_v2)
  File "/home/skinkie/.homeassistant/custom_components/smartthinq_sensors/wideq/core_async.py", line 332, in _manage_lge_result
    raise API2_ERRORS[code]()
custom_components.smartthinq_sensors.wideq.core_exceptions.InvalidCredentialError
0x2501 commented 1 year ago

LG just updated their privacy policies. Log into ThinQ on your phone, accept them, then try again (if fails, remove and re-add).

skinkie commented 1 year ago

The only thing that the LG app did for me in the past hours was crashing. And nothing 'hints' on any change now it started. I tried to press some buttons... that seemed to do the trick. This only stipulates that this cloud integration is certainly not the final destination for me. There must be a way to fake a MQTT proxy the devices accept.