Code Monkey home page Code Monkey logo

Comments (15)

ollo69 avatar ollo69 commented on June 6, 2024 1

Think time. see #24

from ha-smartthinq-sensors.

Golab avatar Golab commented on June 6, 2024 1

Like this?

2020-04-30 18:30:30 INFO (SyncWorker_8) [custom_components.smartthinq_sensors.wideq.core_v2] Loading model info for TVÄTTMASKIN. Model: WTHTGH, Url: https://eic.lgthinq.com:46030/api/webContents/modelJSON?modelName=WTHTGH&countryCode=WW&contentsId=JS0521042724689449&authKey=thinq

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on June 6, 2024 1

Thanks Ollo, great component!

New model:
2020-05-15 15:54:07 INFO (SyncWorker_2) [custom_components.smartthinq_sensors.wideq.core_v2] Loading model info for TVÄTTMASKIN. Model: WPHT, Url: WPHT

Thanks!

This infos are added in last release.

I close this old thread.
Please open a new one if you still have Warning for "unknown states"

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on June 6, 2024

Model is what is provided from the API, also for me is not the same as the label.

For the states I added new states on last release based on your warnings, please let me know if now are correctly filled.

from ha-smartthinq-sensors.

Golab avatar Golab commented on June 6, 2024

It works better now but now I get this error

Log Details (WARNING)
Logger: custom_components.smartthinq_sensors.wideq.device
Source: custom_components/smartthinq_sensors/wideq/device.py:729
Integration: SmartThinQ LGE Sensors (documentation)
First occurred: 11:02:36 AM (1 occurrences)
Last logged: 11:02:36 AM

ThinQ: received unknown WASHER status '@WM_FL24_TITAN_SPIN_SPEED_1400_W' of type 'spin_option'

image

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on June 6, 2024

Added states in last version

from ha-smartthinq-sensors.

Golab avatar Golab commented on June 6, 2024

Now I’m getting more errors

I’m running v0.3.8

Error Nr1

Log Details (ERROR)
Logger: homeassistant.helpers.entity
Source: custom_components/smartthinq_sensors/wideq/core_v2.py:177
First occurred: 7:29:06 PM (3 occurrences)
Last logged: 7:30:49 PM

Update for sensor.tvattmaskin fails
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 488, in wrap_socket
cnx.do_handshake()
File "/usr/local/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1934, in do_handshake
self._raise_ssl_error(self._ssl, result)
File "/usr/local/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1646, in _raise_ssl_error
raise WantReadError()
OpenSSL.SSL.WantReadError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 976, in validate_conn
conn.connect()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 370, in connect
ssl_context=context,
File "/usr/local/lib/python3.7/site-packages/urllib3/util/ssl
.py", line 377, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/local/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 491, in wrap_socket
raise timeout("select timed out")
socket.timeout: select timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 725, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 403, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.7/site-packages/urllib3/packages/six.py", line 735, in reraise
raise value
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen
chunked=chunked,
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 384, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 336, in _raise_timeout
self, url, "Read timed out. (read timeout=%s)" % timeout_value
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='eic.lgthinq.com', port=46030): Read timed out. (read timeout=10)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 472, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/smartthinq_sensors/sensor.py", line 326, in update
self._api.device_update()
File "/usr/src/homeassistant/homeassistant/util/init.py", line 240, in wrapper
result = method(*args, **kwargs)
File "/config/custom_components/smartthinq_sensors/init.py", line 333, in device_update
raise ex
File "/config/custom_components/smartthinq_sensors/init.py", line 321, in device_update
state = self._device.poll()
File "/config/custom_components/smartthinq_sensors/wideq/washer.py", line 35, in poll
res = self.device_poll("washerDryer")
File "/config/custom_components/smartthinq_sensors/wideq/device.py", line 673, in device_poll
data = self.mon.poll()
File "/config/custom_components/smartthinq_sensors/wideq/device.py", line 115, in poll
self.work_id = self.session.monitor_start(self.device_id)
File "/config/custom_components/smartthinq_sensors/wideq/core_v2.py", line 437, in monitor_start
"workId": gen_uuid(),
File "/config/custom_components/smartthinq_sensors/wideq/core_v2.py", line 389, in post
language=self.auth.gateway.language,
File "/config/custom_components/smartthinq_sensors/wideq/core_v2.py", line 177, in lgedm2_post
timeout=DEFAULT_TIMEOUT,
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 578, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 529, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='eic.lgthinq.com', port=46030): Read timed out. (read timeout=10)

Error Nr2

image

Error Nr3

image

Error Nr4

image

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on June 6, 2024

New states are because I added DryLevel attribute for washer/dryer combo device. I will add status for your model with new release.
About timeout, I cannot help, network issues

from ha-smartthinq-sensors.

navigatortc avatar navigatortc commented on June 6, 2024

In my log I get a WARNING:
warning

The temperature during washing is not displayed.

Installed: v0.3.8

from ha-smartthinq-sensors.

Golab avatar Golab commented on June 6, 2024

What does '@WM_FL24_TITAN_DRY_120_W' of type 'DryLevel' men?

Is 120_W power it’s using?

from ha-smartthinq-sensors.

Golab avatar Golab commented on June 6, 2024

After the latest release I get this errorimage

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on June 6, 2024

Warning != Error.

With new version, in the HA log file you should have an information log like this:

2020-04-30 01:46:54 INFO (SyncWorker_0) [custom_components.smartthinq_sensors.wideq.core_v2] Loading model info for LAVATRICE. Model: WTWN3, Url: <the url>

Can you please post the url indicated in your log so that I can download json file related to your model and map all possible state?

Thx

from ha-smartthinq-sensors.

chewyikai avatar chewyikai commented on June 6, 2024

Hi, im getting this warning on my washer

ThinQ: received unknown WASHER status '@WM_TL_MP_OPTION_SPIN_MEDIUM_W' of type 'SpinSpeed'

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on June 6, 2024

Hi, im getting this warning on my washer

ThinQ: received unknown WASHER status '@WM_TL_MP_OPTION_SPIN_MEDIUM_W' of type 'SpinSpeed'

Please provide me this information to fix unknown states for your device.

from ha-smartthinq-sensors.

e9henrik avatar e9henrik commented on June 6, 2024

Thanks Ollo, great component!

New model:
2020-05-15 15:54:07 INFO (SyncWorker_2) [custom_components.smartthinq_sensors.wideq.core_v2] Loading model info for TVÄTTMASKIN. Model: WPHT, Url: WPHT

Thanks!

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.