-
Notifications
You must be signed in to change notification settings - Fork 161
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
LG Smart Washer Dryer Combo not working. #681
Comments
Please attach integration diagnostics |
This is the information I've got. If this is not what you've been looking for please let me know how I get what you need as I'm new to HA. Reiner |
Your device is using a payload never seen before (XML format). In last release I added a warning log message that dump the payload. Please upgrade to last release and post here the log message so that I can analyze the content and try to implement the right logic to read the content. |
This is what I receive in the Log Window: Logger: custom_components.smartthinq_sensors.wideq.model_info
|
Please try if last release works with your device. I have to change a lot of things to support this "strange" payload, hope I do not break any other devices. I ask to myself if LG engineering have nothing better to do that create different protocol for their devices 🤐 |
Any update here? |
This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
I'm trying to use this integration for my LG Smart Washer/Dryer Combo system (LG FH6G1BAPK2_US-FL). However I can't do anything with it as every time it tries to pull the data from the cloud it raises an error. Log enclosed below. I'm using the latest version of Home Assistanct, HACS and ha-smarthinq-sensors.
Reiner
Logger: custom_components.smartthinq_sensors
Source: helpers/update_coordinator.py:300
Integration: SmartThinQ LGE Sensors (documentation, issues)
First occurred: January 22, 2024 at 11:13:18 AM (149 occurrences)
Last logged: January 24, 2024 at 10:07:05 AM
Unexpected error fetching smartthinq_sensors-Washer data: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 300, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 256, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/init.py", line 474, in _async_update
await self._async_state_update()
File "/config/custom_components/smartthinq_sensors/init.py", line 486, in _async_state_update
state = await self._device.poll()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/devices/washerDryer.py", line 312, in poll
res = await self._device_poll(WM_ROOT_DATA)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/device.py", line 741, in _device_poll
res = self._model_info.decode_monitor(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/model_info.py", line 402, in decode_monitor
return self.decode_monitor_json(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/model_info.py", line 393, in decode_monitor_json
return json.loads(data.decode("utf8"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered: