Frankkkkk / python-daikin-altherma

Interfaces with Daikin Altherma heat pumps via LAN adapter BRP069A61/BRP069A62
11 stars 1 forks source link

Problem with heat pumps without domestic hot water #8

Open remy-lavabre opened 11 months ago

remy-lavabre commented 11 months ago

Good morning, Executing the python file unfortunately poses a problem each time if the heat pump is not equipped with the domestic hot water tank. The best would perhaps be to provide an exception checking the error if the heat pump is only used for central heating...?

ERROR:root:Could not get data. Maybe the unit is starting up? Traceback (most recent call last): File "/home/remy/Téléchargements/ESSAI2.py", line 4, in d.print_all_status() File "/home/remy/.local/lib/python3.10/site-packages/daikin_altherma/init.py", line 385, in print_all_status Current: {self.tank_temperature}°C (target {self.tank_setpoint_temperature}°C) File "/home/remy/.local/lib/python3.10/site-packages/daikin_altherma/init.py", line 189, in tank_temperature return self._requestValueHP( File "/home/remy/.local/lib/python3.10/site-packages/daikin_altherma/init.py", line 100, in _requestValueHP return self._requestValue(f"MNAE/{item}", output_path, payload) File "/home/remy/.local/lib/python3.10/site-packages/daikin_altherma/init.py", line 94, in _requestValue return dpath.util.get(result, output_path) File "/home/remy/.local/lib/python3.10/site-packages/dpath/util.py", line 14, in wrapper return func(*args, **kwargs) File "/home/remy/.local/lib/python3.10/site-packages/dpath/util.py", line 36, in get return dpath.get(obj, glob, separator, default) File "/home/remy/.local/lib/python3.10/site-packages/dpath/init.py", line 189, in get raise KeyError(glob) KeyError: '/m2m:rsp/pc/m2m:cin/con'