I forgot to mention that my heat pump has a Waterkotte remote box, a small Raspberry Pi connected to the same network (with a different IP) so that the Waterkotte service can connect remotely.
I’ll attempt to close all my sessions in the app and the browser, and I’ll update you shortly.
Can you see anything in the logs of HA?
Are you able to capture the traffic to the heatpump from the integration to see what exactly is happening?
The only thing i noticed in your har file that i found odd was that the reply from the heat pump was status code 500 even though it returned the session token.
Because it was not a complete session you recorded I assumed that is the reason, but maybe your heatpump is sending the wrong http status code… I haven’t seen this in others.
Can you try to let the integration talk to your connect box? the Mobile app is using the same protocol, maybe that will work better.
I installed version 0.1.00 via HACS without any problems. I also can see the mixing circuits as hidden sensors. unfortunately the status stays “unknown” for all sensors… Do you have any idea what could be wrong? Thanks so much for your work so far!!!
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: custom_components.waterkotte_heatpump
Source: helpers/update_coordinator.py:300
Integration: Waterkotte Heatpump (documentation, issues)
First occurred: 22:24:56 (19 occurrences)
Last logged: 22:33:56
Unexpected error fetching waterkotte_heatpump data: undefined entity: line 1, column 144
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 “/config/custom_components/waterkotte_heatpump/init.py”, line 223, in _async_update_data
tagdatas = await self.api.async_get_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/waterkotte_heatpump/api.py”, line 82, in async_get_data
ret = await self._client.read_values(self.tags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/pywaterkotte/ecotouch.py”, line 1370, in read_values
e_values, e_status = await self._read_tags(e_tags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/pywaterkotte/easycon.py”, line 86, in _read_tags
tree = ET.fromstring(r)
^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/xml/etree/ElementTree.py”, line 1338, in XML
parser.feed(text)
xml.etree.ElementTree.ParseError: undefined entity: line 1, column 144
I pushed a new version that adds a little more logging.
Unfortunately I don’t have a EasyCon system to test against so I’m not sure what happens there…
Thank you so much for your work! Most of the things work perfectly! WONDERFUL! I was ill for a few days, so I had to delay testing… Here are some minor bugs I found so far:
sensor.waterkotte_heatpump_temperature_mixing1
sensor.waterkotte_heatpump_temperature_mixing2
sensor.waterkotte_heatpump_temperature_mixing3
(I think, these are the actual temperatures in the mixing circuits) status stays “unknown”
number.waterkotte_heatpump_temperature_adjustment_2
number.waterkotte_heatpump_temperature_adjustment_3
number.waterkotte_heatpump_temperature_adjustment_4
(Temperature adjustment in the mixing circuits) the K value is 4 in HA (should be 0.0 in EasyCon), when e.g. changing in EasyCon to 0.5 it changes to 5 in HA or when changing to -0.5 it changes to 3 in HA. Therefore changing the position of the slider in HA produces an error message (slider is - 2 to +2)
I’m struggling to find the sensor with the name you post above…
Did you rename them?
Could you try to completely remove the device and add it again?
If there was a weird numbering due to the update it should be gone… there should not be anything with a “4” at the end.
I just pushed a new release for v0.1.13 that adds more debug logging when you enable the debug log in HA.
Hopefully that will allow a better understanding what happens when something goes wrong!
Anybody who has an issue please update to this version and run it with debugging enabled for a while and then send the log along with the problem description.