Code Monkey home page Code Monkey logo

Comments (8)

ollo69 avatar ollo69 commented on May 27, 2024

Connection not available seems a problem related to internet connection. Is continuous problem or now is working?

from ha-smartthinq-sensors.

turbo4door avatar turbo4door commented on May 27, 2024

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024

Probably your token become invalid, or there are some other issue related to HA upgrade.
Wait for your feedback on next days.

from ha-smartthinq-sensors.

towerhand avatar towerhand commented on May 27, 2024

I’m having the same issue, started today. I’ll remove it and add it again. I'm on 0.112b1.

2020-06-25 20:46:58 ERROR (SyncWorker_6) [custom_components.smartthinq_sensors] ('0110', 'error')
2020-06-25 20:46:58 WARNING (MainThread) [custom_components.smartthinq_sensors] Connection not available. SmartThinQ platform not ready.
2020-06-25 20:46:58 WARNING (MainThread) [homeassistant.config_entries] Config entry for smartthinq_sensors not ready yet. Retrying in 80 seconds.

Edit: I removed and re-added it with a new token. When creating the new token I had to agree to updated terms and conditions, and had a prompt to change my password.

Everything seems to be working ok now.

from ha-smartthinq-sensors.

alexanv1 avatar alexanv1 commented on May 27, 2024

The same thing just happened to me. I was about to remove and re-add the integration but opened the LG app first and it prompted me to accept the updated terms and conditions. After doing so in the app, the sensors immediately started working again in HA without removing and re-adding the integration.

from ha-smartthinq-sensors.

turbo4door avatar turbo4door commented on May 27, 2024

from ha-smartthinq-sensors.

alexanv1 avatar alexanv1 commented on May 27, 2024

Btw, in my case, the only reason I noticed this is that I started seeing the following in the logs:

2020-06-26 19:29:17 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.washer fails
Traceback (most recent call last):
File "/config/custom_components/smartthinq_sensors/init.py", line 389, in device_update
state = self._device.poll()
File "/config/custom_components/smartthinq_sensors/wideq/washer.py", line 39, in poll
res = self.device_poll("washerDryer")
File "/config/custom_components/smartthinq_sensors/wideq/device.py", line 783, in device_poll
self._client.refresh_devices()
File "/config/custom_components/smartthinq_sensors/wideq/core_v2.py", line 622, in refresh_devices
self._load_devices(True)
File "/config/custom_components/smartthinq_sensors/wideq/core_v2.py", line 582, in _load_devices
self._devices = self._session.get_devices()
File "/config/custom_components/smartthinq_sensors/wideq/core_v2.py", line 431, in get_devices
dashboard = self.get2("service/application/dashboard")
File "/config/custom_components/smartthinq_sensors/wideq/core_v2.py", line 423, in get2
language=self.auth.gateway.language,
File "/config/custom_components/smartthinq_sensors/wideq/core_v2.py", line 147, in thinq2_get
raise exc.APIError(code, "error")
custom_components.smartthinq_sensors.wideq.core_exceptions.APIError: ('0110', 'error')

@ollo69, it would be really helpful if the sensors could be marked as Unavailable when a certain number of updates in a row fail to make this easier to detect if it happens in the future.

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024

I remember that this already occured in the past, I should add a note in readme.

@ollo69, it would be really helpful if the sensors could be marked as Unavailable when a certain number of updates in a row fail to make this easier to detect if it happens in the future.

Yes, make sense, I will add in next release.

I close this issue.

from ha-smartthinq-sensors.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.