-
Notifications
You must be signed in to change notification settings - Fork 149
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
SmartThinQ LGE Sensors integration has stopped connecting to the server. #651
Comments
I'm getting the same. |
Same here. |
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. |
Same problem. Password change in LG ThinQ app doesn't help. |
Uhm, wait, does not make sense. If Just a line like this:
|
Looks like LG fixed something on their side. Successfully logged in by login and password. |
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. |
I think that there are some problem LG server side. Wait some days to see if they fix. |
Rebooted HA, took error again. Before reboot all worked ok.
|
Did it work for anyone? |
Please enable integration debug and provide debug log. |
home-assistant_smartthinq_sensors_2023-12-25T22-14-08.307Z.log |
Looks like the endpoint |
The app is not working for me. |
In this case I think that you could try to contact LG support and ask for clarification. |
I don't know how, but integration is working!!!! |
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. |
Hello everyone, this problem also appeared after rebooting the system. The APP works without failures, notifications are received, devices are available.
|
I confirm, but it started recently |
Changing the region in the same situation helped me for this moment. |
Today I took some logs from LG app. While in my country integration is still working, seems that application use some different web requests. I suppose that they changed something in the API and they are progressively disabling old API. |
Please try using last release and let me know if it fix this issue. |
Invalid SmartThinQ credentials. Use the LG App on your mobile device to verify if there are Term of Service to accept. Account based on social network are not supported and in most case do not work with this integration. |
mobile app works well
|
after authorization: |
Got it after update (previous version was also broken with
|
SmartThinQ LGE Sensors 0.36.0 Region Russia When adding SmartThinQ integration, LGE Sensors received a message. There are devices in the LG ThinQ mobile app.
There is a message in the logs
|
Hi there! Smarthinq LGE Sensors v.0.36.0 Region: Spain It' s still now working, neither the app nor the integration. I have reinstalled the app, accepted terms and updated password. Update: I have set the location in the LG ThinQ App, an now the app works properly. The integration still doesn't, though. |
@ALL, I see here a lot of different issue reported all here, I think that this is just creating confusion. To find a solution for the specific case, that cause error like:
I tried to use different API with last release, but this seems that do not fix the problem. If someone with this issue can do this and share the captured traffic, I will analyze to find the proper call. If nobody can do this, the only alternative solution is that someone share the LG credential (via e-mail of course) and I will try to capture the traffic for you. I do not see any other possible option. |
what you email, im send you my account info |
Send to --- (deleted). |
I successfully captured some traffic from LG app using your account. Now (today or tomorrow) I will make some tests with integration. Please do not change your pwd until I finish with my tests. Thanks for your support👍 |
@ollo69 thx for you! you do a great job |
Please try last release, problem should be fixed. |
Great thnx. It seems to me that it works with v0.36.1 🎉🎉 |
this is a different problem (seems you cannot connect to the LG server), please open a new issue. |
thanks again to for your support. Now you can change your LG account password if you like and if issue is solved also for you. |
it works with v0.36.1 |
Many thanks to the author and helped everyone! |
Would you mind telling me what region you are on? |
Try new version v0.36.1 🤔 |
I have already tried it. :( |
click download again in HACS |
Thank you, version v0.36.1 fixed everything |
My Pi-Hole was blocking LG Thinq xD. Now it's working, thanks @ollo69 |
I think that this issue now is solved, I close this. |
Describe the bug
The SmartThinQ LGE Sensors integration has stopped connecting to the server. There were no updates of HA or other components. Everything was working well, but suddenly stopped a few hours ago.
Expected behavior
N/A
Screenshots
N/A
Environment details:
Output of HA logs
Logger: custom_components.smartthinq_sensors
Source: custom_components/smartthinq_sensors/init.py:252
Integration: SmartThinQ LGE Sensors (documentation, issues)
First occurred: 18:02:14 (1 occurrences)
Last logged: 18:02:14
Connection not available. ThinQ platform not ready
Traceback (most recent call last):
File "/home/homeassistant/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 "/home/homeassistant/config/custom_components/smartthinq_sensors/init.py", line 151, in create_client_from_token
return await ClientAsync.from_token(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1446, in from_token
await client.refresh()
File "/home/homeassistant/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1366, in refresh
await self._load_devices()
File "/home/homeassistant/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1283, in _load_devices
new_devices = await self._session.get_devices()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/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'
The text was updated successfully, but these errors were encountered: