Skip to content
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

Error on Remote Start for Dryer (but Washer working great) #609

Closed
MaranelloAH opened this issue Oct 11, 2023 · 18 comments
Closed

Error on Remote Start for Dryer (but Washer working great) #609

MaranelloAH opened this issue Oct 11, 2023 · 18 comments

Comments

@MaranelloAH
Copy link

Describe the bug
Pressing the Remote Start button on RC9084_WIFI-Dryer (DRYER) gives error "Unexpected error for call_service at pos 3: Expecting property name enclosed in double quotes: line 1 column 9 (char 8)".

All other sensors work, Power control works. The Remote Start from the LG ThinQ app works.

I also have a APWS-FL (WASHER) - all controls and sensors work with this washer from the Home Assistant installation.

TIA

Expected behavior
The Dryer should start on the button press

Screenshots
N/A

Environment details:

  • Environment (HASSIO, Raspbian, etc):
    "home_assistant": {
    "installation_type": "Home Assistant Supervised",
    "version": "2023.10.1",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.11.5",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Pacific/Auckland",
    "os_name": "Linux",
    "os_version": "5.10.0-25-amd64",
    "supervisor": "2023.10.0",
    "host_os": "Debian GNU/Linux 11 (bullseye)",
    "docker_version": "24.0.6",
    "chassis": "laptop",

  • Home Assistant version installed:
    Home Assistant 2023.10.1
    Supervisor 2023.10.0
    Frontend 20231005.0 - latest

  • Component version installed:
    "smartthinq_sensors": {
    "version": "0.33.3",
    "requirements": [
    "pycountry>=20.7.3",
    "xmltodict>=0.12.0",
    "charset_normalizer>=2.0.0"

  • Last know working version:
    N/A

  • LG device type and model with issue:
    Dryer Model: TD-H901MW

  • LG devices connected (list):
    Dryer Model: TD-H901MW
    Washer Model: WD1411SBW

Output of HA logs
Paste the relavant output of the HA log here.

Logger: homeassistant.components.script.dryer_remote_start
Source: helpers/script.py:468
Integration: Script (documentation, issues)
First occurred: October 10, 2023 at 12:06:15 PM (2 occurrences)
Last logged: 11:00:10 AM

Dryer Remote Start: Error executing script. Unexpected error for call_service at pos 3: Expecting property name enclosed in double quotes: line 1 column 9 (char 8)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 468, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 704, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 666, in _async_run_long_action
return long_task.result()
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2012, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2049, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 830, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 876, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/sensor.py", line 746, in async_remote_start
await self._api.device.remote_start()
File "/config/custom_components/smartthinq_sensors/wideq/devices/washerDryer.py", line 269, in remote_start
await self.set(keys[0], keys[1], key=keys[2])
File "/config/custom_components/smartthinq_sensors/wideq/devices/washerDryer.py", line 275, in set
await super().set(
File "/config/custom_components/smartthinq_sensors/wideq/device.py", line 509, in set
if full_key := self._prepare_command(ctrl_key, command, key, value):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/devices/washerDryer.py", line 219, in _prepare_command
return self._prepare_command_v1(cmd, key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartthinq_sensors/wideq/devices/washerDryer.py", line 163, in _prepare_command_v1
str_list = json.loads(str_data)
^^^^^^^^^^^^^^^^^^^^
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 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 9 (char 8)


Additional context
Add any other context about the problem here.

@Mindkey75
Copy link

I have same issue with remote start on dryer. Washer working great

Copy link

github-actions bot commented Dec 9, 2023

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.

@github-actions github-actions bot added the Stale label Dec 9, 2023
Copy link

This issue was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 16, 2023
@Jirka44
Copy link

Jirka44 commented Dec 17, 2023

Hi, I have the same problem (RC90U2_WW-Dryer). Once I managed to remote start after changing the name of the device. After readding a new device, I can't start the dryer even after changing the name.
The dryer cannot be wake up after sleeping.
The washing machine commands work great.

Thank you very much for your great work !

@ollo69
Copy link
Owner

ollo69 commented Dec 17, 2023

Pls attach diagnostics

@ollo69 ollo69 reopened this Dec 17, 2023
@Jirka44
Copy link

Jirka44 commented Dec 17, 2023

@Jirka44
Copy link

Jirka44 commented Dec 17, 2023

Pls attach diagnostics

config_entry-smartthinq_sensors-7371861f4647c9bbfee036975602b07d.json.txt

I hope I sent it correctly. Sorry, I'm not a GitHub pro. :)

Thank You

@Jirka44
Copy link

Jirka44 commented Dec 17, 2023

Pls attach diagnostics

config_entry-smartthinq_sensors-7371861f4647c9bbfee036975602b07d.json.txt

I hope I sent it correctly. Sorry, I'm not a GitHub pro. :)

Thank You

I'm also sending the debug log file.
home-assistant_smartthinq_sensors_2023-12-17T20-00-39.083Z.log

Thank You

@github-actions github-actions bot removed the Stale label Dec 18, 2023
@Jirka44
Copy link

Jirka44 commented Dec 18, 2023

Hello, I am attaching the state of the dryer in sleep mode.
It still reports "power" status (unlike the washing machine).

Dryer_Sleep

home-assistant_smartthinq_sensors_2023-12-18T19-41-31.880Z.log

Thank You ;)

@Jirka44
Copy link

Jirka44 commented Dec 18, 2023

Hello, I am attaching the state of the dryer in sleep mode. It still reports "power" status (unlike the washing machine).

Dryer_Sleep

home-assistant_smartthinq_sensors_2023-12-18T19-41-31.880Z.log

Thank You ;)

After changing the "sleep mode" state, the dryer sets the "Current course change on - " and the "Procces state change to weighing".
Which is a mistake, because the dryer does not weigh.

Thank You
J44

@Jirka44
Copy link

Jirka44 commented Dec 20, 2023

Hello, I am attaching the state of the dryer in sleep mode. It still reports "power" status (unlike the washing machine).
Dryer_Sleep
home-assistant_smartthinq_sensors_2023-12-18T19-41-31.880Z.log
Thank You ;)

After changing the "sleep mode" state, the dryer sets the "Current course change on - " and the "Procces state change to weighing". Which is a mistake, because the dryer does not weigh.

Thank You J44

Hallo,
i found the same unsolved issue #504 with dryer "RC90U2_WW-Dryer" (posted by sorenbek).

Thank You ;)
J44

Copy link

github-actions bot commented Feb 4, 2024

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.

@github-actions github-actions bot added the Stale label Feb 4, 2024
@ollo69 ollo69 removed the Stale label Feb 4, 2024
ollo69 added a commit that referenced this issue Feb 4, 2024
@ollo69
Copy link
Owner

ollo69 commented Feb 4, 2024

Please install last release and let me know if fix this issue.

@MaranelloAH
Copy link
Author

MaranelloAH commented Feb 5, 2024 via email

@ollo69
Copy link
Owner

ollo69 commented Feb 5, 2024

Good, so I close this issue.

@ollo69 ollo69 closed this as completed Feb 5, 2024
@Jirka44
Copy link

Jirka44 commented Feb 5, 2024

Hi ollo69,
i'm very sorry, but I still have the issue. It is the same as before.

home-assistant_smartthinq_sensors_2024-02-05T16-23-50.406Z.log
config_entry-smartthinq_sensors-1d77c044972c3e4628a161399a90e993.json.txt
Drayer_button_fail
Dryer_IMG

Jirka44

@ollo69
Copy link
Owner

ollo69 commented Feb 5, 2024

@Jirka44 ,

looking at your log the condition is really different, looks like your device do not answer properly to the command. I think that in some cases the error is because you have also open the LG app, in other case because this device probably manage standby mode in different way.
Please open a new issue to properly address this kind of device and reference this issue in the new one.👍

@Jirka44
Copy link

Jirka44 commented Feb 6, 2024

Hi ollo69,
the LG app was closed.
I started a new issue #688

Thank you very much
Your work is amazing ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants