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

installation #28

Closed
hokeson opened this issue May 28, 2023 · 25 comments
Closed

installation #28

hokeson opened this issue May 28, 2023 · 25 comments

Comments

@hokeson
Copy link

hokeson commented May 28, 2023

I have HA 2023.5.4, AquaTemp 3.0.1, HACS 1.32.1.
I added custom repository aqua temp in hacs integrations.
I added integration Aqua Temp in HA integrations.
I entered my credentials. They are correct and I can see my heat pump device in mobil App online.
The integration in HA was created but did not recognize any device.
in the log there is

2023-05-28 12:08:44.940 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Aqua Temp for select
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/select/init.py", line 112, in async_setup_entry
return await component.async_setup_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 179, in async_setup_entry
raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup!
2023-05-28 12:08:44.982 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Aqua Temp for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/binary_sensor/init.py", line 169, in async_setup_entry
return await component.async_setup_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 179, in async_setup_entry
raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup!
2023-05-28 12:08:44.994 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Aqua Temp for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 195, in async_setup_entry
return await component.async_setup_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 179, in async_setup_entry
raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup!
2023-05-28 12:08:45.006 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Aqua Temp for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 131, in async_setup_entry
return await component.async_setup_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 179, in async_setup_entry
raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup!_

is there some manual config needed? I hoped that a device and some entities will be automatically created.
what do I wrong? thanks for advice.

@MReuter2203
Copy link

Confirm, same issue for me.

@elad-bar
Copy link
Collaborator

Did you use v1.x / 2.x before?
In case the answer is yes, did you remove the previous integration before installing the new version?

It should work with UI configuration only

If the answer was no, pls post debug level logs with diagnostic file (if available)

Thanks

@hokeson
Copy link
Author

hokeson commented May 30, 2023

Hi, my answer is no. this was first installation of aqua temp.
required files here:
https://drive.google.com/drive/folders/1K0qvhtUvvU1-XWg5ZyIIPIDXjmODmzY4?usp=share_link

@MReuter2203
Copy link

Hi, my answer is yes but I remove the old version in a second try.

@dieterlechner
Copy link

Confirm, same issue for me.
First Installation v3.0.2 no old version
Logging:
2023-05-31 10:54:58.671 DEBUG (MainThread) [custom_components.aqua_temp.managers.aqua_temp_api] Request to /cloudservice/api/app/device/deviceList.json, Result: {'error_code': '0', 'error_msg': 'Success', 'error_msg_code': '', 'object_result': [], 'is_reuslt_suc': True}
2023-05-31 10:54:58.671 DEBUG (MainThread) [custom_components.aqua_temp.managers.aqua_temp_api] Finished discovering devices, Data: {}
2023-05-31 10:54:58.671 DEBUG (MainThread) [custom_components.aqua_temp.managers.aqua_temp_coordinator] Finished fetching Aqua Temp data in 0.000 seconds (success: True)
2023-05-31 10:54:58.671 INFO (MainThread) [custom_components.aqua_temp] Finished loading integration
2023-05-31 10:54:58.671 DEBUG (MainThread) [custom_components.aqua_temp] Loading platforms: [<Platform.SELECT: 'select'>, <Platform.BINARY_SENSOR: 'binary_sensor'>, <Platform.CLIMATE: 'climate'>, <Platform.SENSOR: 'sensor'>]
2023-05-31 10:54:59.024 DEBUG (MainThread) [custom_components.aqua_temp.select] Setting up sensor entities: []
2023-05-31 10:54:59.025 DEBUG (MainThread) [custom_components.aqua_temp.binary_sensor] Setting up binary sensor entities: []
2023-05-31 10:54:59.025 DEBUG (MainThread) [custom_components.aqua_temp.climate] Setting up climate entities: []
2023-05-31 10:54:59.029 DEBUG (MainThread) [custom_components.aqua_temp.sensor] Setting up sensor entities: []
2023-05-31 10:54:59.032 INFO (MainThread) [custom_components.aqua_temp] Finished loading components

Dieter

@dieterlechner
Copy link

Diagnostics:
{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2023.5.4",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.10.11",
"docker": true,
"arch": "x86_64",
"timezone": "Europe/Vienna",
"os_name": "Linux",
"os_version": "6.1.29",
"supervisor": "2023.04.1",
"host_os": "Home Assistant OS 10.2",
"docker_version": "23.0.6",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {
"wattpilot": {
"version": "0.1.7",
"requirements": [
"wattpilot>=0.1",
"pyyaml>=5.3.0",
"importlib_metadata>=4.0.0"
]
},
"hacs": {
"version": "1.32.1",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"sonoff": {
"version": "3.5.1",
"requirements": [
"pycryptodome>=3.6.6"
]
},
"aqua_temp": {
"version": "3.0.2",
"requirements": []
}
},
"integration_manifest": {
"domain": "aqua_temp",
"name": "Aqua Temp",
"codeowners": [
"@radical-squared",
"@elad-bar"
],
"config_flow": true,
"dependencies": [],
"documentation": "https://github.com/radical-squared/aquatemp",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/radical-squared/aquatemp/issues",
"requirements": [],
"version": "3.0.2",
"is_built_in": false
},
"data": {
"config": {
"username": "[email protected]",
"temperature_unit": {}
},
"disabled_by": null,
"disabled_polling": false,
"devices": []
}
}

@elad-bar
Copy link
Collaborator

elad-bar commented Jun 1, 2023

@hokeson according to the logs you have provided, the entity is configured and it tries to reconfigure it, pls try to delete the integration, restart and reinstall.
logs you have provided are not in debug level, pls follow the troubleshooting section in readme to define it correctly and repost them.

@MReuter2203 can you pls provide logs in debug level?

@dieterlechner the issue being described by your logs is the no device was found, integration was loaded successfuly, it might be related to PR #25 and if that's the case, issue will be resolved with v3.0.3 (hopefully).

thanks

@MReuter2203
Copy link

2023-05-31 16:52:16.090 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Aqua Temp for select
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/select/init.py", line 112, in async_setup_entry
return await component.async_setup_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 179, in async_setup_entry
raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup!
2023-05-31 16:52:16.096 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Aqua Temp for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/binary_sensor/init.py", line 169, in async_setup_entry
return await component.async_setup_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 179, in async_setup_entry
raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup!
2023-05-31 16:52:16.100 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Aqua Temp for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 195, in async_setup_entry
return await component.async_setup_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 179, in async_setup_entry
raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup!
2023-05-31 16:52:16.106 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Aqua Temp for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 131, in async_setup_entry
return await component.async_setup_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 179, in async_setup_entry
raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup!
2023-05-31 16:52:18.490 WARNING (MainThread) [asyncio] socket.send() raised exception.
2023-05-31 16:52:19.564 WARNING (MainThread) [asyncio] socket.send() raised exception.
2023-05-31 16:52:29.421 WARNING (MainThread) [asyncio] socket.send() raised exception.
2023-05-31 16:52:29.571 WARNING (MainThread) [asyncio] socket.send() raised exception.
2023-05-31 16:52:30.986 WARNING (MainThread) [asyncio] socket.send() raised exception.
2023-05-31 16:52:33.497 WARNING (MainThread) [asyncio] socket.send() raised exception.
2023-05-31 16:52:44.564 WARNING (MainThread) [asyncio] socket.send() raised exception.
2023-05-31 16:52:44.592 WARNING (MainThread) [asyncio] socket.send() raised exception.
2023-05-31 16:52:45.993 WARNING (MainThread) [asyncio] socket.send() raised exception.
2023-05-31 16:52:48.504 WARNING (MainThread) [asyncio] socket.send() raised exception.
2023-05-31 16:52:54.597 WARNING (MainThread) [asyncio] socket.send() raised exception.
2023-05-31 16:52:59.576 WARNING (MainThread) [asyncio] socket.send() raised exception.
2023-05-31 16:53:01.000 WARNING (MainThread) [asyncio] socket.send() raised exception.
2023-05-31 16:53:03.514 WARNING (MainThread) [asyncio] socket.send() raised exception.
2023-05-31 16:53:08.564 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Aqua Temp for select
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/select/init.py", line 112, in async_setup_entry
return await component.async_setup_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 179, in async_setup_entry
raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup!
2023-05-31 16:53:08.567 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Aqua Temp for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/binary_sensor/init.py", line 169, in async_setup_entry
return await component.async_setup_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 179, in async_setup_entry
raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup!
2023-05-31 16:53:08.570 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Aqua Temp for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 195, in async_setup_entry
return await component.async_setup_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 179, in async_setup_entry
raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup!
2023-05-31 16:53:08.573 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Aqua Temp for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 131, in async_setup_entry
return await component.async_setup_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 179, in async_setup_entry
raise ValueError("Config entry has already been setup!")

@MReuter2203
Copy link

"aqua_temp": {
"version": "3.0.2",
"requirements": []
},
"integration_manifest": {
"domain": "aqua_temp",
"name": "Aqua Temp",
"codeowners": [
"@radical-squared",
"@elad-bar"
],
"config_flow": true,
"dependencies": [],
"documentation": "https://github.com/radical-squared/aquatemp",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/radical-squared/aquatemp/issues",
"requirements": [],
"version": "3.0.2",
"is_built_in": false
},

@elad-bar
Copy link
Collaborator

elad-bar commented Jun 4, 2023

please update to v3.0.4 and update if it is / is not working

thanks

@hokeson
Copy link
Author

hokeson commented Jun 4, 2023

I deleted the previous version. I installed the version 3.0.4
one device and 26 entities disappeared.
I uninstalled the version. restarted the HA. installed 3.0.4 again.
I see one device and 26 entities but off an unknown values.
Logs are here https://drive.google.com/file/d/1L6BR33Q9pd0gJSUpxTK2YVlf_cS71whL/view?usp=sharing
any advice?

@MReuter2203
Copy link

Exact the same issue for me, like @hokeson have

@elad-bar
Copy link
Collaborator

elad-bar commented Jun 5, 2023

it seems that values of Set_Temp, T01-T14 (represents temperature reading values) are empty which is unclear and most will need additional assistance to solve it

I released new version of v3.0.5 to handle empty values as None, it should not fail the other components, please try and send me again logs and diagnostic details - this will not solve the issue, just make the component getting loaded correctly.

to solve it, I will need to identitfy where the mobile app is extracting the details for current temperature and set temperature (using packet sniffer - I use NetCapture on Android).

thanks,
Elad

@hokeson
Copy link
Author

hokeson commented Jun 5, 2023

updated to 3.0.5, restarted, device looks to be off and entities are unknown.
logs and diag here
https://drive.google.com/file/d/1qLGa8Q4Av4IdGzlu65lvWNxZGN996XKo/view?usp=sharing
https://drive.google.com/file/d/1Hof0cvICDqA0C9-bcp3WDEszJnrdsEms/view?usp=sharing

@elad-bar
Copy link
Collaborator

elad-bar commented Jun 5, 2023

didn't handle fully the parameters, released v3.0.6

can you please use the packet sniffer to extract list of request being sent from your device (including request body and response after cleaning them from sensitive information)?

@MReuter2203
Copy link

MReuter2203 commented Jun 5, 2023

same issue like before with v3.06
I also can not change the hvac mode.
Error:
set havac_mode: could not convert string to float.

Here is my log:
2023-06-05 10:15:34.173 DEBUG (MainThread) [custom_components.aqua_temp.diagnostics] Starting diagnostic tool
2023-06-05 10:15:34.174 DEBUG (MainThread) [custom_components.aqua_temp.diagnostics] Getting diagnostic information
2023-06-05 10:15:34.174 DEBUG (MainThread) [custom_components.aqua_temp.diagnostics] Getting diagnostic information for all devices
2023-06-05 10:15:37.662 WARNING (MainThread) [asyncio] socket.send() raised exception.
.
.
.
2023-06-05 10:15:45.295 WARNING (MainThread) [asyncio] socket.send() raised exception.
2023-06-05 10:15:46.236 DEBUG (MainThread) [custom_components.aqua_temp.managers.aqua_temp_api] Starting to update device: 289C6E813CEA
2023-06-05 10:15:46.406 DEBUG (MainThread) [custom_components.aqua_temp.managers.aqua_temp_api] Request to device/sendDevicePassthroughInstruction.json, Result: {'error_code': '0', 'error_msg': 'Success', 'error_msg_code': '', 'is_reuslt_suc': True}
2023-06-05 10:15:46.699 DEBUG (MainThread) [custom_components.aqua_temp.managers.aqua_temp_api] Request to app/device/getDataByCode.json, Result: {'error_code': '0', 'error_msg': 'Success', 'error_msg_code': '', 'object_result': [{'code': 'Power', 'value': '1'}, {'code': 'Mode', 'value': '1'}, {'code': 'Manual-mute', 'value': ''}, {'code': '2074', 'value': ''}, {'code': '2075', 'value': ''}, {'code': '2076', 'value': ''}, {'code': '2077', 'value': ''}, {'code': 'Set_Temp', 'value': ''}, {'code': '1158', 'value': ''}, {'code': '1159', 'value': ''}, {'code': '/01', 'value': ''}, {'code': '/02', 'value': ''}, {'code': '/03', 'value': ''}, {'code': '/04', 'value': ''}, {'code': '/05', 'value': ''}, {'code': '/06', 'value': ''}, {'code': '/07', 'value': ''}, {'code': '/08', 'value': ''}, {'code': '/09', 'value': ''}, {'code': '/10', 'value': ''}, {'code': '/11', 'value': ''}, {'code': '/12', 'value': ''}, {'code': '/13', 'value': ''}, {'code': '/14', 'value': ''}, {'code': '/15', 'value': ''}, {'code': '/16', 'value': ''}, {'code': '/17', 'value': ''}, {'code': '/18', 'value': ''}, {'code': '/19', 'value': ''}, {'code': '/20', 'value': ''}, {'code': '/21', 'value': ''}, {'code': '/22', 'value': ''}, {'code': '/23', 'value': ''}, {'code': '/24', 'value': ''}, {'code': '/25', 'value': ''}, {'code': '/26', 'value': ''}, {'code': '/27', 'value': ''}, {'code': '/28', 'value': ''}, {'code': 'A01', 'value': ''}, {'code': 'A02', 'value': ''}, {'code': 'A03', 'value': ''}, {'code': 'A04', 'value': ''}, {'code': 'A05', 'value': ''}, {'code': 'A06', 'value': ''}, {'code': 'A07', 'value': ''}, {'code': 'A08', 'value': ''}, {'code': 'A09', 'value': ''}, {'code': 'C01', 'value': ''}, {'code': 'C02', 'value': ''}, {'code': 'C03', 'value': ''}, {'code': 'C04', 'value': ''}, {'code': 'D01', 'value': '-7.0'}, {'code': 'D02', 'value': '18.0'}, {'code': 'D03', 'value': '45.0'}, {'code': 'D04', 'value': '8.0'}, {'code': 'D05', 'value': '3.0'}, {'code': 'D06', 'value': '0'}, {'code': 'D07', 'value': ''}, {'code': 'D08', 'value': ''}, {'code': 'E01', 'value': '1'}, {'code': 'E02', 'value': '5.0'}, {'code': 'E03', 'value': '350'}, {'code': 'E04', 'value': '100'}, {'code': 'E05', 'value': '350'}, {'code': 'E06', 'value': '350'}, {'code': 'E07', 'value': '60.0'}, {'code': 'E08', 'value': '0'}, {'code': 'E09', 'value': ''}, {'code': 'E10', 'value': ''}, {'code': 'E11', 'value': ''}, {'code': 'F01', 'value': '1'}, {'code': 'F02', 'value': '40.0'}, {'code': 'F03', 'value': '15.0'}, {'code': 'F04', 'value': '10.0'}, {'code': 'F05', 'value': '10.0'}, {'code': 'F06', 'value': '20.0'}, {'code': 'F07', 'value': '30.0'}, {'code': 'F08', 'value': '0'}, {'code': 'F09', 'value': '6'}, {'code': 'F10', 'value': '0'}, {'code': 'F11', 'value': '0'}, {'code': 'H01', 'value': '1'}, {'code': 'H02', 'value': '1'}, {'code': 'H03', 'value': ''}, {'code': 'H04', 'value': '-5.0'}, {'code': 'H05', 'value': '0'}, {'code': 'H06', 'value': ''}, {'code': 'H07', 'value': ''}, {'code': 'H08', 'value': ''}, {'code': 'H09', 'value': ''}, {'code': 'H10', 'value': ''}, {'code': 'H11', 'value': ''}, {'code': 'H12', 'value': ''}, {'code': 'H13', 'value': ''}, {'code': 'P01', 'value': '2'}, {'code': 'P02', 'value': '15'}, {'code': 'P03', 'value': '2'}, {'code': 'P04', 'value': '1'}, {'code': 'P05', 'value': ''}, {'code': 'P06', 'value': ''}, {'code': 'P07', 'value': ''}, {'code': 'P08', 'value': ''}, {'code': 'P09', 'value': ''}, {'code': 'R01', 'value': '27.0'}, {'code': 'R02', 'value': '30.0'}, {'code': 'R03', 'value': '30.0'}, {'code': 'R04', 'value': '0.5'}, {'code': 'R05', 'value': '0.5'}, {'code': 'R06', 'value': '0.5'}, {'code': 'R07', 'value': '0.5'}, {'code': 'R08', 'value': '8.0'}, {'code': 'R09', 'value': '35.0'}, {'code': 'R10', 'value': '15.0'}, {'code': 'R11', 'value': '40.0'}, {'code': 'R12', 'value': ''}, {'code': 'R13', 'value': ''}, {'code': 'R14', 'value': ''}, {'code': 'R15', 'value': ''}, {'code': 'R16', 'value': ''}, {'code': 'R17', 'value': ''}, {'code': 'R18', 'value': ''}, {'code': 'R19', 'value': ''}, {'code': 'R20', 'value': ''}, {'code': 'R21', 'value': ''}, {'code': 'R22', 'value': ''}, {'code': 'R23', 'value': ''}, {'code': 'R24', 'value': ''}, {'code': 'R25', 'value': ''}, {'code': 'R26', 'value': ''}, {'code': 'R27', 'value': ''}, {'code': 'R28', 'value': ''}, {'code': 'U01', 'value': ''}, {'code': 'U02', 'value': ''}, {'code': 'U03', 'value': ''}, {'code': 'U04', 'value': ''}, {'code': 'S01', 'value': ''}, {'code': 'S02', 'value': ''}, {'code': 'S03', 'value': ''}, {'code': 'S04', 'value': ''}, {'code': 'S05', 'value': ''}, {'code': 'S06', 'value': ''}, {'code': 'S07', 'value': ''}, {'code': 'S08', 'value': ''}, {'code': 'S09', 'value': ''}, {'code': 'S10', 'value': ''}, {'code': 'S11', 'value': ''}, {'code': 'S12', 'value': ''}, {'code': 'S13', 'value': ''}, {'code': 'T01', 'value': ''}, {'code': 'T02', 'value': ''}, {'code': 'T03', 'value': ''}, {'code': 'T04', 'value': ''}, {'code': 'T05', 'value': ''}, {'code': 'T06', 'value': ''}, {'code': 'T07', 'value': ''}, {'code': 'T08', 'value': ''}, {'code': 'T09', 'value': ''}, {'code': 'T10', 'value': ''}, {'code': 'T11', 'value': ''}, {'code': 'T12', 'value': ''}, {'code': 'T14', 'value': ''}, {'code': 'O01', 'value': ''}, {'code': 'O02', 'value': ''}, {'code': 'O03', 'value': ''}, {'code': 'O04', 'value': ''}, {'code': 'O05', 'value': ''}, {'code': 'O06', 'value': ''}, {'code': 'O07', 'value': ''}, {'code': 'O08', 'value': ''}, {'code': 'O09', 'value': ''}, {'code': 'O10', 'value': ''}, {'code': 'O11', 'value': ''}], 'is_reuslt_suc': True}
2023-06-05 10:15:46.741 DEBUG (MainThread) [custom_components.aqua_temp.managers.aqua_temp_api] Request to app/device/getDeviceStatus.json, Result: {'error_code': '0', 'error_msg': 'Success', 'error_msg_code': '', 'object_result': {'is_fault': False, 'status': 'ONLINE'}, 'is_reuslt_suc': True}
2023-06-05 10:15:46.741 DEBUG (MainThread) [custom_components.aqua_temp.managers.aqua_temp_coordinator] Finished fetching Aqua Temp data in 0.505 seconds (success: True)
2023-06-05 10:15:46.742 DEBUG (MainThread) [custom_components.aqua_temp.managers.aqua_temp_api] Target temp PC R02, HA Mode: heat
2023-06-05 10:15:46.743 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners
update_callback()
File "/config/custom_components/aqua_temp/climate.py", line 166, in _handle_coordinator_update
self._attr_current_temperature = float(str(current_temperature))
ValueError: could not convert string to float: ''

@elad-bar
Copy link
Collaborator

elad-bar commented Jun 5, 2023

I will fix it, but that's not the issue, as you can see in the:
Request to app/device/getDataByCode.json, Result:
values of parameters T01-T12 are empty, that information is being provided by Aqua Temp, what I would like to understand, is where your app is extracting the information, without that, I cannot assist.

please close this issue as the installation issue resolved, please open a new one - current temp. are not available

btw, about message WARNING (MainThread) [asyncio] socket.send() raised exception. - i guess you are using Local Tuya, if that's correct, component has that issue since last version of it, not related to this integration (already checked whether it's related to this component or not, also there is an open issue for Local Tuya repo).

@elad-bar
Copy link
Collaborator

elad-bar commented Jun 6, 2023

anyone can provide details of how your mobile app is extracting the details for current temperature and set temperature using packet sniffer (I use NetCapture on Android)?

thanks

@hokeson
Copy link
Author

hokeson commented Jun 6, 2023 via email

@elad-bar
Copy link
Collaborator

elad-bar commented Jun 9, 2023

@hokeson can you pls close the issue?

Thanks

@elad-bar
Copy link
Collaborator

is this issue still relevant?

thanks

@MReuter2203
Copy link

For me, it works.
Thank you so much for this great work.
I love it!

@elad-bar
Copy link
Collaborator

very happy to hear (or read) :)

@hokeson is it working for you as well?

@hokeson
Copy link
Author

hokeson commented Jun 13, 2023 via email

@elad-bar
Copy link
Collaborator

Great!

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