after update it's not working #117

Closed
opened 2023-10-04 22:35:13 +02:00 by unecc · 10 comments
unecc commented 2023-10-04 22:35:13 +02:00 (Migrated from github.com)

Hi Andre, i’ve just update hass but hon does not work anymore. Can you update your fantastic software?

Hi Andre, i've just update hass but hon does not work anymore. Can you update your fantastic software?
Andre0512 commented 2023-10-05 10:04:04 +02:00 (Migrated from github.com)

Hi unecc, which version do you use? There was an dependency error for home assistant 2023.10.x, this was fixed with v0.10.0.

Hi unecc, which version do you use? There was an dependency error for home assistant 2023.10.x, this was fixed with [`v0.10.0`](https://github.com/Andre0512/hon/releases/tag/v0.10.0).
itnassol commented 2023-10-05 12:58:59 +02:00 (Migrated from github.com)

Same here using v0.10.0 command not sending, have re-installed but still not responding.

Same here using v0.10.0 command not sending, have re-installed but still not responding.
Andre0512 commented 2023-10-05 13:02:23 +02:00 (Migrated from github.com)

Do you see an error message in the logs?

Do you see an error message in the logs?
itnassol commented 2023-10-05 13:37:32 +02:00 (Migrated from github.com)

Yes there wee a couple, they were.

This error originated from a custom integration.

Logger: pyhon.commands Source: custom_components/hon/switch.py:472 Integration: Haier hOn (documentation, issues) First occurred: 11:29:28 (17 occurrences) Last logged: 11:56:55

False

and there was

This error originated from a custom integration.

Logger: pyhon.connection.api Source: custom_components/hon/switch.py:472 Integration: Haier hOn (documentation, issues) First occurred: 11:29:28 (34 occurrences) Last logged: 11:56:55

https://api-iot.he.services/commands/v1/send - Payload: {‘ancillaryParameters’: {‘energyLabel’: ‘5’, ‘liquidDetergentDose’: ‘1’, ‘programFamily’: ‘[guided|voice]’, ‘programType’: ‘W+D’, ‘remoteActionable’: ‘1’, ‘remoteVisible’: ‘0’, ‘suggestedLoadW’: ‘2’, ‘tempContribution’: ‘0’}, ‘applianceOptions’: {‘opt1’: ‘prewash’, ‘opt2’: ‘hygiene’, ‘opt3’: ‘anticrease’, ‘opt4’: ‘goodNight’, ‘opt5’: ‘extraRinse1’, ‘opt6’: ‘extraRinse2’, ‘opt7’: ‘extraRinse3’, ‘opt8’: ‘acquaplus’}, ‘applianceType’: ‘WM’, ‘attributes’: {‘channel’: ‘mobileApp’, ‘energyLabel’: ‘0’, ‘origin’: ‘standardProgram’}, ‘commandName’: ‘startProgram’, ‘device’: {‘appVersion’: ‘2.1.2’, ‘deviceModel’: ‘exynos9820’, ‘mobileId’: ‘dacd280d1635e79d’, ‘mobileOs’: ‘android’, ‘osVersion’: 31}, ‘macAddress’: ‘10-97-bd-73-28-58’, ‘parameters’: {‘acquaplus’: ‘0’, ‘anticrease’: ‘0’, ‘checkUpStatus’: ‘0’, ‘delayTime’: ‘0’, ‘dirtyLevel’: ‘1’, ‘extraRinse1’: ‘0’, ‘extraRinse2’: ‘0’, ‘extraRinse3’: ‘0’, ‘goodNight’: ‘0’, ‘hygiene’: ‘0’, ‘lang’: ‘1’, ‘onOffStatus’: ‘1’, ‘prCode’: ‘9’, ‘prPosition’: ‘13’, ‘prStr’: ’‘, ’prewash’: ‘0’, ‘spinSpeed’: ‘800’, ‘steamLevel’: ‘0’, ‘temp’: ‘30’}, ‘timestamp’: ‘2023-10-05T10:55:21.840Z’, ‘transactionId’: ‘10-97-bd-73-28-58_2023-10-05T10:55:21.840Z’} https://api-iot.he.services/commands/v1/send - Payload: {‘ancillaryParameters’: {‘energyLabel’: ‘5’, ‘liquidDetergentDose’: ‘1’, ‘programFamily’: ‘[guided|voice]’, ‘programType’: ‘W+D’, ‘remoteActionable’: ‘1’, ‘remoteVisible’: ‘0’, ‘suggestedLoadW’: ‘2’, ‘tempContribution’: ‘0’}, ‘applianceOptions’: {‘opt1’: ‘prewash’, ‘opt2’: ‘hygiene’, ‘opt3’: ‘anticrease’, ‘opt4’: ‘goodNight’, ‘opt5’: ‘extraRinse1’, ‘opt6’: ‘extraRinse2’, ‘opt7’: ‘extraRinse3’, ‘opt8’: ‘acquaplus’}, ‘applianceType’: ‘WM’, ‘attributes’: {‘channel’: ‘mobileApp’, ‘energyLabel’: ‘0’, ‘origin’: ‘standardProgram’}, ‘commandName’: ‘startProgram’, ‘device’: {‘appVersion’: ‘2.1.2’, ‘deviceModel’: ‘exynos9820’, ‘mobileId’: ‘dacd280d1635e79d’, ‘mobileOs’: ‘android’, ‘osVersion’: 31}, ‘macAddress’: ‘10-97-bd-73-28-58’, ‘parameters’: {‘acquaplus’: ‘0’, ‘anticrease’: ‘0’, ‘checkUpStatus’: ‘0’, ‘delayTime’: ‘0’, ‘dirtyLevel’: ‘1’, ‘extraRinse1’: ‘0’, ‘extraRinse2’: ‘0’, ‘extraRinse3’: ‘0’, ‘goodNight’: ‘0’, ‘hygiene’: ‘0’, ‘lang’: ‘1’, ‘onOffStatus’: ‘1’, ‘prCode’: ‘9’, ‘prPosition’: ‘13’, ‘prStr’: ’‘, ’prewash’: ‘0’, ‘spinSpeed’: ‘800’, ‘steamLevel’: ‘0’, ‘temp’: ‘30’}, ‘timestamp’: ‘2023-10-05T10:55:50.249Z’, ‘transactionId’: ‘10-97-bd-73-28-58_2023-10-05T10:55:50.249Z’} {“payload”:{“resultCode”:“1”,“errorCode”:“1000”,“errorDescription”:“Invalid parameter: parValue”},“authInfo”:{}} https://api-iot.he.services/commands/v1/send - Payload: {‘ancillaryParameters’: {‘energyLabel’: ‘5’, ‘liquidDetergentDose’: ‘1’, ‘programFamily’: ‘[guided|voice]’, ‘programType’: ‘W+D’, ‘remoteActionable’: ‘1’, ‘remoteVisible’: ‘0’, ‘suggestedLoadW’: ‘2’, ‘tempContribution’: ‘0’}, ‘applianceOptions’: {‘opt1’: ‘prewash’, ‘opt2’: ‘hygiene’, ‘opt3’: ‘anticrease’, ‘opt4’: ‘goodNight’, ‘opt5’: ‘extraRinse1’, ‘opt6’: ‘extraRinse2’, ‘opt7’: ‘extraRinse3’, ‘opt8’: ‘acquaplus’}, ‘applianceType’: ‘WM’, ‘attributes’: {‘channel’: ‘mobileApp’, ‘energyLabel’: ‘0’, ‘origin’: ‘standardProgram’}, ‘commandName’: ‘startProgram’, ‘device’: {‘appVersion’: ‘2.1.2’, ‘deviceModel’: ‘exynos9820’, ‘mobileId’: ‘dacd280d1635e79d’, ‘mobileOs’: ‘android’, ‘osVersion’: 31}, ‘macAddress’: ‘10-97-bd-73-28-58’, ‘parameters’: {‘acquaplus’: ‘0’, ‘anticrease’: ‘0’, ‘checkUpStatus’: ‘0’, ‘delayTime’: ‘0’, ‘dirtyLevel’: ‘1’, ‘extraRinse1’: ‘0’, ‘extraRinse2’: ‘0’, ‘extraRinse3’: ‘0’, ‘goodNight’: ‘0’, ‘hygiene’: ‘0’, ‘lang’: ‘1’, ‘onOffStatus’: ‘1’, ‘prCode’: ‘9’, ‘prPosition’: ‘13’, ‘prStr’: ’‘, ’prewash’: ‘0’, ‘spinSpeed’: ‘800’, ‘steamLevel’: ‘0’, ‘temp’: ‘30’}, ‘timestamp’: ‘2023-10-05T10:56:03.220Z’, ‘transactionId’: ‘10-97-bd-73-28-58_2023-10-05T10:56:03.220Z’} https://api-iot.he.services/commands/v1/send - Payload: {‘ancillaryParameters’: {‘energyLabel’: ‘5’, ‘liquidDetergentDose’: ‘1’, ‘programFamily’: ‘[guided|voice]’, ‘programType’: ‘W+D’, ‘remoteActionable’: ‘1’, ‘remoteVisible’: ‘0’, ‘suggestedLoadW’: ‘2’, ‘tempContribution’: ‘0’}, ‘applianceOptions’: {‘opt1’: ‘prewash’, ‘opt2’: ‘hygiene’, ‘opt3’: ‘anticrease’, ‘opt4’: ‘goodNight’, ‘opt5’: ‘extraRinse1’, ‘opt6’: ‘extraRinse2’, ‘opt7’: ‘extraRinse3’, ‘opt8’: ‘acquaplus’}, ‘applianceType’: ‘WM’, ‘attributes’: {‘channel’: ‘mobileApp’, ‘energyLabel’: ‘0’, ‘origin’: ‘standardProgram’}, ‘commandName’: ‘startProgram’, ‘device’: {‘appVersion’: ‘2.1.2’, ‘deviceModel’: ‘exynos9820’, ‘mobileId’: ‘dacd280d1635e79d’, ‘mobileOs’: ‘android’, ‘osVersion’: 31}, ‘macAddress’: ‘10-97-bd-73-28-58’, ‘parameters’: {‘acquaplus’: ‘0’, ‘anticrease’: ‘0’, ‘checkUpStatus’: ‘0’, ‘delayTime’: ‘0’, ‘dirtyLevel’: ‘1’, ‘extraRinse1’: ‘0’, ‘extraRinse2’: ‘0’, ‘extraRinse3’: ‘0’, ‘goodNight’: ‘0’, ‘hygiene’: ‘0’, ‘lang’: ‘1’, ‘onOffStatus’: ‘1’, ‘prCode’: ‘9’, ‘prPosition’: ‘13’, ‘prStr’: ’‘, ’prewash’: ‘0’, ‘spinSpeed’: ‘800’, ‘steamLevel’: ‘0’, ‘temp’: ‘30’}, ‘timestamp’: ‘2023-10-05T10:56:54.677Z’, ‘transactionId’: ‘10-97-bd-73-28-58_2023-10-05T10:56:54.677Z’}

Yes there wee a couple, they were. This error originated from a custom integration. Logger: pyhon.commands Source: custom_components/hon/switch.py:472 Integration: Haier hOn (documentation, issues) First occurred: 11:29:28 (17 occurrences) Last logged: 11:56:55 False and there was This error originated from a custom integration. Logger: pyhon.connection.api Source: custom_components/hon/switch.py:472 Integration: Haier hOn (documentation, issues) First occurred: 11:29:28 (34 occurrences) Last logged: 11:56:55 https://api-iot.he.services/commands/v1/send - Payload: {'ancillaryParameters': {'energyLabel': '5', 'liquidDetergentDose': '1', 'programFamily': '[guided|voice]', 'programType': 'W+D', 'remoteActionable': '1', 'remoteVisible': '0', 'suggestedLoadW': '2', 'tempContribution': '0'}, 'applianceOptions': {'opt1': 'prewash', 'opt2': 'hygiene', 'opt3': 'anticrease', 'opt4': 'goodNight', 'opt5': 'extraRinse1', 'opt6': 'extraRinse2', 'opt7': 'extraRinse3', 'opt8': 'acquaplus'}, 'applianceType': 'WM', 'attributes': {'channel': 'mobileApp', 'energyLabel': '0', 'origin': 'standardProgram'}, 'commandName': 'startProgram', 'device': {'appVersion': '2.1.2', 'deviceModel': 'exynos9820', 'mobileId': 'dacd280d1635e79d', 'mobileOs': 'android', 'osVersion': 31}, 'macAddress': '10-97-bd-73-28-58', 'parameters': {'acquaplus': '0', 'anticrease': '0', 'checkUpStatus': '0', 'delayTime': '0', 'dirtyLevel': '1', 'extraRinse1': '0', 'extraRinse2': '0', 'extraRinse3': '0', 'goodNight': '0', 'hygiene': '0', 'lang': '1', 'onOffStatus': '1', 'prCode': '9', 'prPosition': '13', 'prStr': '', 'prewash': '0', 'spinSpeed': '800', 'steamLevel': '0', 'temp': '30'}, 'timestamp': '2023-10-05T10:55:21.840Z', 'transactionId': '10-97-bd-73-28-58_2023-10-05T10:55:21.840Z'} https://api-iot.he.services/commands/v1/send - Payload: {'ancillaryParameters': {'energyLabel': '5', 'liquidDetergentDose': '1', 'programFamily': '[guided|voice]', 'programType': 'W+D', 'remoteActionable': '1', 'remoteVisible': '0', 'suggestedLoadW': '2', 'tempContribution': '0'}, 'applianceOptions': {'opt1': 'prewash', 'opt2': 'hygiene', 'opt3': 'anticrease', 'opt4': 'goodNight', 'opt5': 'extraRinse1', 'opt6': 'extraRinse2', 'opt7': 'extraRinse3', 'opt8': 'acquaplus'}, 'applianceType': 'WM', 'attributes': {'channel': 'mobileApp', 'energyLabel': '0', 'origin': 'standardProgram'}, 'commandName': 'startProgram', 'device': {'appVersion': '2.1.2', 'deviceModel': 'exynos9820', 'mobileId': 'dacd280d1635e79d', 'mobileOs': 'android', 'osVersion': 31}, 'macAddress': '10-97-bd-73-28-58', 'parameters': {'acquaplus': '0', 'anticrease': '0', 'checkUpStatus': '0', 'delayTime': '0', 'dirtyLevel': '1', 'extraRinse1': '0', 'extraRinse2': '0', 'extraRinse3': '0', 'goodNight': '0', 'hygiene': '0', 'lang': '1', 'onOffStatus': '1', 'prCode': '9', 'prPosition': '13', 'prStr': '', 'prewash': '0', 'spinSpeed': '800', 'steamLevel': '0', 'temp': '30'}, 'timestamp': '2023-10-05T10:55:50.249Z', 'transactionId': '10-97-bd-73-28-58_2023-10-05T10:55:50.249Z'} {"payload":{"resultCode":"1","errorCode":"1000","errorDescription":"Invalid parameter: parValue"},"authInfo":{}} https://api-iot.he.services/commands/v1/send - Payload: {'ancillaryParameters': {'energyLabel': '5', 'liquidDetergentDose': '1', 'programFamily': '[guided|voice]', 'programType': 'W+D', 'remoteActionable': '1', 'remoteVisible': '0', 'suggestedLoadW': '2', 'tempContribution': '0'}, 'applianceOptions': {'opt1': 'prewash', 'opt2': 'hygiene', 'opt3': 'anticrease', 'opt4': 'goodNight', 'opt5': 'extraRinse1', 'opt6': 'extraRinse2', 'opt7': 'extraRinse3', 'opt8': 'acquaplus'}, 'applianceType': 'WM', 'attributes': {'channel': 'mobileApp', 'energyLabel': '0', 'origin': 'standardProgram'}, 'commandName': 'startProgram', 'device': {'appVersion': '2.1.2', 'deviceModel': 'exynos9820', 'mobileId': 'dacd280d1635e79d', 'mobileOs': 'android', 'osVersion': 31}, 'macAddress': '10-97-bd-73-28-58', 'parameters': {'acquaplus': '0', 'anticrease': '0', 'checkUpStatus': '0', 'delayTime': '0', 'dirtyLevel': '1', 'extraRinse1': '0', 'extraRinse2': '0', 'extraRinse3': '0', 'goodNight': '0', 'hygiene': '0', 'lang': '1', 'onOffStatus': '1', 'prCode': '9', 'prPosition': '13', 'prStr': '', 'prewash': '0', 'spinSpeed': '800', 'steamLevel': '0', 'temp': '30'}, 'timestamp': '2023-10-05T10:56:03.220Z', 'transactionId': '10-97-bd-73-28-58_2023-10-05T10:56:03.220Z'} https://api-iot.he.services/commands/v1/send - Payload: {'ancillaryParameters': {'energyLabel': '5', 'liquidDetergentDose': '1', 'programFamily': '[guided|voice]', 'programType': 'W+D', 'remoteActionable': '1', 'remoteVisible': '0', 'suggestedLoadW': '2', 'tempContribution': '0'}, 'applianceOptions': {'opt1': 'prewash', 'opt2': 'hygiene', 'opt3': 'anticrease', 'opt4': 'goodNight', 'opt5': 'extraRinse1', 'opt6': 'extraRinse2', 'opt7': 'extraRinse3', 'opt8': 'acquaplus'}, 'applianceType': 'WM', 'attributes': {'channel': 'mobileApp', 'energyLabel': '0', 'origin': 'standardProgram'}, 'commandName': 'startProgram', 'device': {'appVersion': '2.1.2', 'deviceModel': 'exynos9820', 'mobileId': 'dacd280d1635e79d', 'mobileOs': 'android', 'osVersion': 31}, 'macAddress': '10-97-bd-73-28-58', 'parameters': {'acquaplus': '0', 'anticrease': '0', 'checkUpStatus': '0', 'delayTime': '0', 'dirtyLevel': '1', 'extraRinse1': '0', 'extraRinse2': '0', 'extraRinse3': '0', 'goodNight': '0', 'hygiene': '0', 'lang': '1', 'onOffStatus': '1', 'prCode': '9', 'prPosition': '13', 'prStr': '', 'prewash': '0', 'spinSpeed': '800', 'steamLevel': '0', 'temp': '30'}, 'timestamp': '2023-10-05T10:56:54.677Z', 'transactionId': '10-97-bd-73-28-58_2023-10-05T10:56:54.677Z'}
Andre0512 commented 2023-10-05 18:38:50 +02:00 (Migrated from github.com)

Okay that is another bug, it looks like some parameter is missing or some parameter has a wrong value when you trying to start your machine. Can you share your data archive? Then I can try to debug this.

Data Archive For further analysis, please add your appliance data archive here (if available) Navigate to Settings -> Device & Services -> Haier hOn -> your device and press the Create Data Archive button. Then open notifications to download the data zip archive. To attach the file: * GitHub Web: Use the “Attach files by dragging & dropping, selecting or pasting them.” function * GitHub Mobile: Upload the zip archive as image

Okay that is another bug, it looks like some parameter is missing or some parameter has a wrong value when you trying to start your machine. Can you share your data archive? Then I can try to debug this. > **Data Archive** > For further analysis, please add your appliance data archive here (if available) > Navigate to `Settings` -> `Device & Services` -> `Haier hOn` -> _your device_ and press the _Create Data Archive_ button. > Then open notifications to download the data zip archive. > To attach the file: > * GitHub Web: Use the "Attach files by dragging & dropping, selecting or pasting them." function > * GitHub Mobile: Upload the zip archive as image
itnassol commented 2023-10-05 18:58:50 +02:00 (Migrated from github.com)

wm_154.zip Hope this correct, thank you so much for your help.

[wm_154.zip](https://github.com/Andre0512/hon/files/12821088/wm_154.zip) Hope this correct, thank you so much for your help.
unecc commented 2023-10-05 19:55:13 +02:00 (Migrated from github.com)

Thanks Andre, new version works perfectly

Thanks Andre, new version works perfectly
Andre0512 commented 2023-10-06 01:37:14 +02:00 (Migrated from github.com)

@itnassol I think it could be the empty prStr that causes the issue, please try v0.10.1-beta.1

@itnassol I think it could be the empty `prStr` that causes the issue, please try [`v0.10.1-beta.1`](https://github.com/Andre0512/hon/releases/tag/v0.10.1-beta.1)
itnassol commented 2023-10-06 10:03:48 +02:00 (Migrated from github.com)

Hi there, installed the beta, ran several tests including scripts and everything seems to be working beautifully. Thank you, Nicely done. Do you have a “buy me a coffee” or something where I can show my appreciation?

Hi there, installed the beta, ran several tests including scripts and everything seems to be working beautifully. Thank you, Nicely done. Do you have a "buy me a coffee" or something where I can show my appreciation?
Andre0512 commented 2023-10-06 12:54:08 +02:00 (Migrated from github.com)

Sounds good, thanks for testing!

This is not necessary, but I have created one now 😃

Buy Me A Coffee

Sounds good, thanks for testing! This is not necessary, but I have created one now :smiley: <a href="https://www.buymeacoffee.com/andre0512" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-blue.png" alt="Buy Me A Coffee"></a>
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: GitHub/hon#117
No description provided.