Comments (52)
Same problem. Password change in LG ThinQ app doesn't help.
After integration delete not possible to login: Error connecting to SmartThinQ. Try again, and make sure you can access the ThinQ app on your phone.
But everything ok in LG ThinQ app
from ha-smartthinq-sensors.
I'm getting the same.
from ha-smartthinq-sensors.
There is a pattern in the failure of integration. According to the +3 time zone, the integration starts working at night and works during the day. The shutdown occurs in the evenings and into the night.
from ha-smartthinq-sensors.
Hello everyone, this problem also appeared after rebooting the system. The APP works without failures, notifications are received, devices are available.
2023-12-27 18:06:42.138 WARNING (MainThread) [custom_components.smartthinq_sensors] Connection not available. ThinQ platform not ready
Traceback (most recent call last):
File "/config/custom_components/smartthinq_sensors/__init__.py", line 252, in async_setup_entry
client = await lge_auth.create_client_from_token(refresh_token, oauth2_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/__init__.py", line 151, in create_client_from_token
return await ClientAsync.from_token(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1446, in from_token
await client.refresh()
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1366, in refresh
await self._load_devices()
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1283, in _load_devices
new_devices = await self._session.get_devices()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1065, in get_devices
self._common_lang_pack_url = dashboard.get("langPackCommonUri")
^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'get'
from ha-smartthinq-sensors.
I can't login into account via HA.
If i just put mail and pass, getting this
I've edited core_async.py like
1063 dashboard = await self.get2("service/application/dashboard")
1064 _LOGGER.info(dashboard)
1065 if self._common_lang_pack_url is None:
Here is the log
2023-12-24 01:19:33.439 ERROR (MainThread) [custom_components.smartthinq_sensors.config_flow] Error connecting to ThinQ
Traceback (most recent call last):
File "/config/custom_components/smartthinq_sensors/config_flow.py", line 222, in _check_connection
client = await lge_auth.create_client_from_token(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/__init__.py", line 151, in create_client_from_token
return await ClientAsync.from_token(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1447, in from_token
await client.refresh()
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1367, in refresh
await self._load_devices()
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1284, in _load_devices
new_devices = await self._session.get_devices()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1066, in get_devices
self._common_lang_pack_url = dashboard.get("langPackCommonUri")
^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'get'
I've changer password, logged out /in in App, same trouble.
from ha-smartthinq-sensors.
This morning I woke up and was surprised to see that the devices were connected. But I was happy early. After some time, the devices disconnect again and the error repeated.
from ha-smartthinq-sensors.
Same here.
from ha-smartthinq-sensors.
This is strange. I will add an additional check to this part of code to avoid this error, hoping that there are no other changes in API.
from ha-smartthinq-sensors.
Uhm, wait, does not make sense. If dashboard
is type str it doesn't contain all the info related to devices, this would be a problem. There are someone with this problem able to add a line a of log at line 1064 of core_asyng.py
module to get the content of variable dashboard?
Just a line like this:
_LOGGER.info(dashboard)
from ha-smartthinq-sensors.
Looks like LG fixed something on their side. Successfully logged in by login and password.
from ha-smartthinq-sensors.
from ha-smartthinq-sensors.
I think that there are some problem LG server side. Wait some days to see if they fix.
BTW at my side everything working properly till now.
from ha-smartthinq-sensors.
Rebooted HA, took error again. Before reboot all worked ok.
2023-12-24 20:34:30.406 WARNING (MainThread) [custom_components.smartthinq_sensors] Connection not available. ThinQ platform not ready
Traceback (most recent call last):
File "/config/custom_components/smartthinq_sensors/__init__.py", line 252, in async_setup_entry
client = await lge_auth.create_client_from_token(refresh_token, oauth2_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/__init__.py", line 151, in create_client_from_token
return await ClientAsync.from_token(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1447, in from_token
await client.refresh()
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1367, in refresh
await self._load_devices()
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1284, in _load_devices
new_devices = await self._session.get_devices()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1066, in get_devices
self._common_lang_pack_url = dashboard.get("langPackCommonUri")
^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'get'
2023-12-24 20:34:30.456 ERROR (MainThread) [homeassistant.components.homekit.type_thermostats] climate.dc07rh: Received invalid HVAC mode: unavailable
from ha-smartthinq-sensors.
Did it work for anyone?
Same problem...
from ha-smartthinq-sensors.
Please enable integration debug and provide debug log.
from ha-smartthinq-sensors.
Please enable integration debug and provide debug log.
home-assistant_smartthinq_sensors_2023-12-25T22-14-08.307Z.log
from ha-smartthinq-sensors.
Looks like the endpoint https://ruic-service.lgthinq.com:46030/v1/service/application/dashboard
is returning an empty string instead of a dict
with device information. Also fixing this will not fix the problem because integration will not be able to discover registered device.
I do not understand if there are some changes at API level, but seems that this issue is limited to some region. If the app is still working could someone try to analyze the traffic using instruction provided here ?
from ha-smartthinq-sensors.
Looks like the endpoint
https://ruic-service.lgthinq.com:46030/v1/service/application/dashboard
is returning an empty string instead of adict
with device information. Also fixing this will not fix the problem because integration will not be able to discover registered device. I do not understand if there are some changes at API level, but seems that this issue is limited to some region. If the app is still working could someone try to analyze the traffic using instruction provided here ?
The app is not working for me.
from ha-smartthinq-sensors.
The app is not working for me.
In this case I think that you could try to contact LG support and ask for clarification.
from ha-smartthinq-sensors.
I don't know how, but integration is working!!!!
I was able to login through integrations. But yesterday it definitely didn’t work as I tried several times.
It seems to me that this is not related to integration and the problem was on LG's side.
from ha-smartthinq-sensors.
I confirm, but it started recently
from ha-smartthinq-sensors.
There is a pattern in the failure of integration. According to the +3 time zone, the integration starts working at night and works during the day. The shutdown occurs in the evenings and into the night.
Changing the region in the same situation helped me for this moment.
from ha-smartthinq-sensors.
Related Issues (20)
- ThinQ Platform not ready HOT 10
- Heating pump - Hot water temperature not available HOT 23
- Craft Ice Maker HOT 1
- Freezer Climate: Setting Temperature to 0 fails HOT 1
- Support for Home Assistant Scripts continue_on_error HOT 3
- GSLV91MBAC HOT 1
- LG Heat Pump-thermostat card shows wrong temperature HOT 6
- Imports device with no entities HOT 4
- LG Range target temperature entities not working HOT 2
- Support for WashTower devices HOT 1
- LG Thinkq for India have stopped working in HA HOT 2
- ThinQ APIv2 error while executing automation HOT 3
- Washer Remote Start - 0005 - ThinQ APIv2 error HOT 8
- Error State/Message do not respond to unbalanced washer load? HOT 1
- Some entities intermittently go unavailable HOT 3
- Some states for the pre state entity are in the wrong language
- Can’t login HOT 12
- Washing machine icon doesn't turn yellow when on HOT 1
- Plugin is using deprecated supported features values which will be removed in HA Core 2025.1 HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-smartthinq-sensors.