Failed to setup - Haier HD90-A3Q979U1 Tumble Dryer #137
Labels
No Label
air conditioner
air purifier
air scanner
authentication error
bug
candy
dish washer
documentation
duplicate
enhancement
fridge
good first issue
haier
help wanted
hob
hood
hoover
invalid
microwave
new appliance
oven
pyhOn
question
robot vacuum cleaner
tumble dryer
washer dryer
washing machine
water heater
wine cellar
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xiconfjs/hon#137
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
After ensuring my dryer is present in the hOn app, and entering correct username/email & password to the integration, I'm prompted that in "Failed to setup"
Expected behavior
I'd expect to see my appliance in the integration
Environment (please complete the following information):
Home Assistant Logs
Logger: homeassistant.config_entries
Source: config_entries.py:402
First occurred: 10 December 2023 at 13:50:56 (8 occurrences)
Last logged: 11:17:06
Error setting up entry rashdown_online@me.com for hon
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hon/init.py", line 32, in async_setup_entry
hon = await Hon(
^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/hon.py", line 66, in create
await self.setup()
File "/usr/local/lib/python3.11/site-packages/pyhon/hon.py", line 97, in setup
appliances = await self.api.load_appliances()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/api.py", line 77, in load_appliances
async with self._hon.get(f"{const.API_URL}/commands/v1/appliance") as resp:
File "/usr/local/lib/python3.11/contextlib.py", line 204, in aenter
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/handler/base.py", line 64, in get
async with self._intercept(*args, **kwargs) as response:
File "/usr/local/lib/python3.11/contextlib.py", line 204, in aenter
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/handler/hon.py", line 61, in _intercept
kwargs["headers"] = await self._check_headers(kwargs.get("headers", {}))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/handler/hon.py", line 51, in _check_headers
await self.auth.authenticate()
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/auth.py", line 260, in authenticate
if not await self._get_token(url):
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/auth.py", line 232, in _get_token
await self._error_logger(response)
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/auth.py", line 96, in _error_logger
raise exceptions.HonAuthenticationError("Can't login")
pyhon.exceptions.HonAuthenticationError: Can't login
This error originated from a custom integration.
Logger: pyhon.connection.auth
Source: custom_components/hon/init.py:32
Integration: Haier hOn (documentation, issues)
First occurred: 10 December 2023 at 13:50:56 (8 occurrences)
Last logged: 11:17:06
hOn Authentication Error 1 200 - https://account2.hon-smarthome.com/setup/secur/RemoteAccessAuthorizationPage.apexp?source=CAAAAYxdsj7jMDAwMDAwMDAwMDAwMDAwAAAA9gJJ7d52UhCa-czqruBmkHs-s7J9drscGw4sNFd3p6YmdGpzEFrFDRMDwlxsDyp93L3qdrb26GwpsEKqKYlo6KdM7iKYFkSDux0hgHGG_Ne8sPFp-QWjPdUjUFECzxAMytRlkBK5vgzy1cJXohNdY0oaErw-bMjNlWOr9fM7VvKqxFrbfqywJTphCVxXJ2KcXSO-A41Q5sCcMj904TZv8207wDs-qzs2JLaMF2NaC1B2NL3CCK3TIoMd0VKXKyOC-c_DRjR4rpXEXEjkHFw5MMadoSY60AYHuf9Ut8623pnrzPRiJVzhvjT3TDC1hZenhmmUe3HMWVrjjEllYt2p9ePoKn47XLks2Bo1HHcobVd-e5WIFhjmIuZoMG2EBaKCo1-5SUIWwrVig4XIPvjhJJX2jvoPMpzGODeWO9YMkjwRIrCLMLRB6GjMZoVGR2cEcQv9kroU-m_PAVrnzzRHeBhZa_lmGhuLveiO9ZuY8Fql3func7z5WYOOxwL8PdlhNSDSChwVl8RQaPdhSRUi8Eat5J1a-O6tg1WVny7FRB1uJEHkgw0lv2TOL5yY34RirykDtqUecTL5XS_hIkoUQf-U6c23uGWJaUDoI6DqTim-l8uFA5i4wszNRa4pnxgAlrkr-gKLopdSBZKIFPX7nC_qsXNBjXcbshWPlb_TLLP9E_KYy5sUoxuRxxdJGYsmNkidhPcCBo-jjSW7_L-6eyVefuoseXhz6OXnmr-uAwdl4zVdXIRVzrPUvesOkBzwgA%3D%3D&display=touch ERROR - 200 - https://account2.hon-smarthome.com/setup/secur/RemoteAccessAuthorizationPage.apexp?source=CAAAAYxdsj7jMDAwMDAwMDAwMDAwMDAwAAAA9gJJ7d52UhCa-czqruBmkHs-s7J9drscGw4sNFd3p6YmdGpzEFrFDRMDwlxsDyp93L3qdrb26GwpsEKqKYlo6KdM7iKYFkSDux0hgHGG_Ne8sPFp-QWjPdUjUFECzxAMytRlkBK5vgzy1cJXohNdY0oaErw-bMjNlWOr9fM7VvKqxFrbfqywJTphCVxXJ2KcXSO-A41Q5sCcMj904TZv8207wDs-qzs2JLaMF2NaC1B2NL3CCK3TIoMd0VKXKyOC-c_DRjR4rpXEXEjkHFw5MMadoSY60AYHuf9Ut8623pnrzPRiJVzhvjT3TDC1hZenhmmUe3HMWVrjjEllYt2p9ePoKn47XLks2Bo1HHcobVd-e5WIFhjmIuZoMG2EBaKCo1-5SUIWwrVig4XIPvjhJJX2jvoPMpzGODeWO9YMkjwRIrCLMLRB6GjMZoVGR2cEcQv9kroU-m_PAVrnzzRHeBhZa_lmGhuLveiO9ZuY8Fql3func7z5WYOOxwL8PdlhNSDSChwVl8RQaPdhSRUi8Eat5J1a-O6tg1WVny7FRB1uJEHkgw0lv2TOL5yY34RirykDtqUecTL5XS_hIkoUQf-U6c23uGWJaUDoI6DqTim-l8uFA5i4wszNRa4pnxgAlrkr-gKLopdSBZKIFPX7nC_qsXNBjXcbshWPlb_TLLP9E_KYy5sUoxuRxxdJGYsmNkidhPcCBo-jjSW7_L-6eyVefuoseXhz6OXnmr-uAwdl4zVdXIRVzrPUvesOkBzwgA%3D%3D&display=touch =============== Response ===============
<html> <head> </head> </html> ========================================hOn Authentication Error 1 200 - https://account2.hon-smarthome.com/setup/secur/RemoteAccessAuthorizationPage.apexp?source=CAAAAYxdtNDFMDAwMDAwMDAwMDAwMDAwAAAA9sPToXtOtMuerrkcOy-vXHF6vW5eSNSIc94l9qhlxFG5alaPSKQUX-xntMkEakF40Mva3GyGc7lVRMB3cgVctChETD13H2ZSooEeJ3UsGDkYVIZ09QLwIefHiHm3C7axS_4maWfOqOp28KQfGnD-e10Oj6xjjEoHTpCahVoVtkLN5MrViy3XDT9CVycgqN_UHVCnQe3_usz4e4Nm4hqJHUnLoK_vp5dQyhTlE16fLoThSXGJ3B-B7aXtYFF99Ul9nuJwSTDyyIcztCqBkn1knM6WPXXXQpl9BoVayUvvAg3RPMQqvIrk_mZTZEMJ_wU-IJJsX5l5pGgBYw7fYl84x3SdhG4FfJvojuUJwjEVnKWEpDWLSR_VsXevUrF0CCfgmCfzk5QK0afgnMi43UqV8q5s07KkRyJcTxCor0lqPhAk0rWQnETEj_gL6OwEhIJ1Yb6lBCqDdlbLmfvXqAXZYAysxJGwz1BZ7E4PplvvN7-cHQziW7UDRyD_rHevIq2jXHR2xl-Q6VGo-oD3SasxZjEbRD0Po0rLA500pvosXNmUgvGbWnuqGxdNP9hHpXyqHmMG0TSxb5FVSv-R4rrgAyKfK4q_pdeSrhZwdhlQbfbO26gtuEaeNVWQBMFp6LZFeUQvSDoyuNVxEnImr-xqHh_NwNiH5NwEXO9UGgNC3s_3xeCYic9keoRH0g-y_lYQTDdMBOvvuPpu9pPY1skeXYdkoyOiib1wGYLGECpAFY78aD36XYQ0dq65AlLbeSJPeA%3D%3D&display=touch ERROR - 200 - https://account2.hon-smarthome.com/setup/secur/RemoteAccessAuthorizationPage.apexp?source=CAAAAYxdtNDFMDAwMDAwMDAwMDAwMDAwAAAA9sPToXtOtMuerrkcOy-vXHF6vW5eSNSIc94l9qhlxFG5alaPSKQUX-xntMkEakF40Mva3GyGc7lVRMB3cgVctChETD13H2ZSooEeJ3UsGDkYVIZ09QLwIefHiHm3C7axS_4maWfOqOp28KQfGnD-e10Oj6xjjEoHTpCahVoVtkLN5MrViy3XDT9CVycgqN_UHVCnQe3_usz4e4Nm4hqJHUnLoK_vp5dQyhTlE16fLoThSXGJ3B-B7aXtYFF99Ul9nuJwSTDyyIcztCqBkn1knM6WPXXXQpl9BoVayUvvAg3RPMQqvIrk_mZTZEMJ_wU-IJJsX5l5pGgBYw7fYl84x3SdhG4FfJvojuUJwjEVnKWEpDWLSR_VsXevUrF0CCfgmCfzk5QK0afgnMi43UqV8q5s07KkRyJcTxCor0lqPhAk0rWQnETEj_gL6OwEhIJ1Yb6lBCqDdlbLmfvXqAXZYAysxJGwz1BZ7E4PplvvN7-cHQziW7UDRyD_rHevIq2jXHR2xl-Q6VGo-oD3SasxZjEbRD0Po0rLA500pvosXNmUgvGbWnuqGxdNP9hHpXyqHmMG0TSxb5FVSv-R4rrgAyKfK4q_pdeSrhZwdhlQbfbO26gtuEaeNVWQBMFp6LZFeUQvSDoyuNVxEnImr-xqHh_NwNiH5NwEXO9UGgNC3s_3xeCYic9keoRH0g-y_lYQTDdMBOvvuPpu9pPY1skeXYdkoyOiib1wGYLGECpAFY78aD36XYQ0dq65AlLbeSJPeA%3D%3D&display=touch =============== Response ===============
<html> <head> </head> </html> ========================================hOn Authentication Error 1 200 - https://account2.hon-smarthome.com/setup/secur/RemoteAccessAuthorizationPage.apexp?source=CAAAAYxduMfxMDAwMDAwMDAwMDAwMDAwAAAA9t2YOFUADTuA21QSZewQVdtTK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_6Gf50jgI8g7mHzYESxQ7Q8fhscMCGHZk8Hl6QqDNdME5-AgugsVmFvG9oc6Bu1f3SrKrvWLXQfwzL5dNRLkdoyvqMkWUw6q66E4WkbO3C_Z8KAxJPdRfgrEHz01hkh7Hv-NX94Bl7AuJlkMpAkxQea2uctl9M27BFhQwC4pmErxxkFjJmziO-6bc_Iq4CTAY02JC-YZFuZbnUbOWwS-Pjf41BEh0LTmhUxRkGhNdxp36mHKMl2lX4bEL-kkbR1fqNibR718IGizTn8ysBCVyNqBx1oVKvvSsiN3Xs7FzysHH0pAVJw-0CnjKUCBH7W9YapIHAK0L_rXjm99WVbz29FvH66Vaiez-KNifGZmbNjju5hSeTC8g_z_JI7wIwoNWvterDdgLrbVr_Q96Yz3TAbTh8tIWAcO7stsMSFDhv3pd-avzcZhRqMdSOb16C_WvdNz5MAUNGUELX_f2QNTvURCnVio1Sy9ewFmq3kx0XeSZ5p3PC25IvsqyUjZDifYzjpFSQxj_mN__CIlEgv_rO1hp7u5Hbe0Bm06Lg%3D%3D&display=touch =============== Response ===============
<html> <head> </head> </html> ========================================hOn Authentication Error 1 200 - https://account2.hon-smarthome.com/setup/secur/RemoteAccessAuthorizationPage.apexp?source=CAAAAYxduV3TMDAwMDAwMDAwMDAwMDAwAAAA9qXbPDpTXAsv7n0OEDfCC2bAb2oLfJjggclwzBItleSIVVm6MuvFV1uTA0TUr_1qnt0OKq4OpeBxwrn4770bCnl62ewqd9y-U3ewqAYiXmKEztPPQcgcqPWrlm4Cm5YI6LMYX2NDNooUubhM9dd0la9wXd8oHRFqhC0R4fYuR8UQC5Vp8CW87muCn4PXEHsA_pzJHeDt5hE1a0HMUQDESJ_Ay5H0TtnbEV38hMRdId4DXYuI3XaEfwGwPKA-P0nplUUrLB-YTkpSM2-KOEOG-9Je8tZrrtP_APXuXN4ZN0TJdd3nWe05-fypQa9tG6KpDBGceWMBC25r9o3hi9FGlsgE-6RVbs3rv8ShXi_voMrYUfj9fy6qFrQATP2PhVD6LGZunZ5ADrFo0-vTg6flhJWnQuvP50hIEwRhaORkvheqiIzUpwM-cVc24T8wXCz7XyiF8E0R57_YwSd0IcqfaWkSV9cuSCewZywdtF8znNvX8O-SSe8hok-62-Q5jKA0nhUr3_iwWcbC-9eXxag1tb-Ie8nKSmRjHPWAOgtH0_DhtViW24bBOdCRSkTtzaBKXdZJCNn-lcUeNozDuy2aj-fYOH7mqshCbVhhjWX2lMtrDvu1dbxI2kx18_11pDDFx-qSSixMK7zNRxhNDeTx0qTugt9Nwy-XVDOXHbeFv5u6uXgq3kzbxUpEIKkNrEUwqyyxbVjxUJ6YLvaLVdK8k_FM__QDEIFyd5u1SyC6aZ89Km1STv2IwrU9Kr0ExmigRw%3D%3D&display=touch ERROR - 200 - https://account2.hon-smarthome.com/setup/secur/RemoteAccessAuthorizationPage.apexp?source=CAAAAYxduV3TMDAwMDAwMDAwMDAwMDAwAAAA9qXbPDpTXAsv7n0OEDfCC2bAb2oLfJjggclwzBItleSIVVm6MuvFV1uTA0TUr_1qnt0OKq4OpeBxwrn4770bCnl62ewqd9y-U3ewqAYiXmKEztPPQcgcqPWrlm4Cm5YI6LMYX2NDNooUubhM9dd0la9wXd8oHRFqhC0R4fYuR8UQC5Vp8CW87muCn4PXEHsA_pzJHeDt5hE1a0HMUQDESJ_Ay5H0TtnbEV38hMRdId4DXYuI3XaEfwGwPKA-P0nplUUrLB-YTkpSM2-KOEOG-9Je8tZrrtP_APXuXN4ZN0TJdd3nWe05-fypQa9tG6KpDBGceWMBC25r9o3hi9FGlsgE-6RVbs3rv8ShXi_voMrYUfj9fy6qFrQATP2PhVD6LGZunZ5ADrFo0-vTg6flhJWnQuvP50hIEwRhaORkvheqiIzUpwM-cVc24T8wXCz7XyiF8E0R57_YwSd0IcqfaWkSV9cuSCewZywdtF8znNvX8O-SSe8hok-62-Q5jKA0nhUr3_iwWcbC-9eXxag1tb-Ie8nKSmRjHPWAOgtH0_DhtViW24bBOdCRSkTtzaBKXdZJCNn-lcUeNozDuy2aj-fYOH7mqshCbVhhjWX2lMtrDvu1dbxI2kx18_11pDDFx-qSSixMK7zNRxhNDeTx0qTugt9Nwy-XVDOXHbeFv5u6uXgq3kzbxUpEIKkNrEUwqyyxbVjxUJ6YLvaLVdK8k_FM__QDEIFyd5u1SyC6aZ89Km1STv2IwrU9Kr0ExmigRw%3D%3D&display=touch =============== Response ===============
<html> <head> </head> </html> ========================================hOn Authentication Error 1 200 - https://account2.hon-smarthome.com/setup/secur/RemoteAccessAuthorizationPage.apexp?source=CAAAAYxdvqtxMDAwMDAwMDAwMDAwMDAwAAAA9ge_3Vb1ZvG4fq51krNAhDtDhWzHszCEVMlbrEXvfmg1rUqIlH9JoKtDn-Qnc8ctcStHBt80OM2ikbs6AkVbRBL1lRZVmr5_gKFoG6sscg5HtfBkGMakbIiIKGh2tR-VF0Y0iViCCJJjMdAPLJNhNXCOemN0RTsufPv4A1456eUQlVhkJQ058rthCfZHE9W8yS-x_s7rqkbci6TzEQyJwaxDzF4Df6Oijn7j18GmSkWEmcPeqTnR8-gaez8pgOuN8L9j0N3hdGqY1QI5PzTfGuZ_p894iyT0IbdL284Eg37tAmGzvf-AqZY54MyNS-fyjrATN7b5lYq5rUaFkSenu5P7O4UA0oUaWEDh2hQidajcAVF3wU4xmILl-msqjFSz_2JVrc7yyyvmJhIcq0uS6y5Ntb-3TOa4jEwThTlDYbY5SDHmkW3iKkgnICgO7J8WriouhhqCJqtRHjmerT1SdZYvTY5bt64ijOyXg2K6BcIVIK5B10Ul3DBXzwUcy_HOCHWaXrqpByuJz0N1uAa1_DBRBIvAFz75Tm_j-BGmwHQZVJXVkfWR6PykxUrlXyg-IvpAYrVxM0NsDNH8HIs633irOXohsO6uJPCC1BpZjFWbWpdfF5miQNMMU4HE6uVq2-3w92bNIjR46-d5ctbkPsK0loZQBtfvdcE_1Y3ITdx8UDCErrB2pAWoNnvEWScGIfLH2j5W7AkequIr5WTlWMvFa26B5jxDs2Rdw3InWpSY-EsApRDGo9wQrFqHri9wcg%3D%3D&display=touch ERROR - 200 - https://account2.hon-smarthome.com/setup/secur/RemoteAccessAuthorizationPage.apexp?source=CAAAAYxdvqtxMDAwMDAwMDAwMDAwMDAwAAAA9ge_3Vb1ZvG4fq51krNAhDtDhWzHszCEVMlbrEXvfmg1rUqIlH9JoKtDn-Qnc8ctcStHBt80OM2ikbs6AkVbRBL1lRZVmr5_gKFoG6sscg5HtfBkGMakbIiIKGh2tR-VF0Y0iViCCJJjMdAPLJNhNXCOemN0RTsufPv4A1456eUQlVhkJQ058rthCfZHE9W8yS-x_s7rqkbci6TzEQyJwaxDzF4Df6Oijn7j18GmSkWEmcPeqTnR8-gaez8pgOuN8L9j0N3hdGqY1QI5PzTfGuZ_p894iyT0IbdL284Eg37tAmGzvf-AqZY54MyNS-fyjrATN7b5lYq5rUaFkSenu5P7O4UA0oUaWEDh2hQidajcAVF3wU4xmILl-msqjFSz_2JVrc7yyyvmJhIcq0uS6y5Ntb-3TOa4jEwThTlDYbY5SDHmkW3iKkgnICgO7J8WriouhhqCJqtRHjmerT1SdZYvTY5bt64ijOyXg2K6BcIVIK5B10Ul3DBXzwUcy_HOCHWaXrqpByuJz0N1uAa1_DBRBIvAFz75Tm_j-BGmwHQZVJXVkfWR6PykxUrlXyg-IvpAYrVxM0NsDNH8HIs633irOXohsO6uJPCC1BpZjFWbWpdfF5miQNMMU4HE6uVq2-3w92bNIjR46-d5ctbkPsK0loZQBtfvdcE_1Y3ITdx8UDCErrB2pAWoNnvEWScGIfLH2j5W7AkequIr5WTlWMvFa26B5jxDs2Rdw3InWpSY-EsApRDGo9wQrFqHri9wcg%3D%3D&display=touch =============== Response ===============
<html> <head> </head> </html> ========================================