Bouni / python-luxtronik

python-luxtronik is a library that allow you to interact with a Luxtronik heatpump controller.
MIT License
37 stars 20 forks source link

Calculation 259 and Cooling #112

Open gerw opened 1 year ago

gerw commented 1 year ago

I would like to guess that calculation 259 is related to cooling:

Today, I turned on cooling and I was surprised that calculation 80 stayed at "no request" and did not turn to "cooling". However, calculation 259 switched from 0 to 1.

Btw: for me, calculations 117-119 always give a 0 for me. (Even if I go to the heat pump and select the screen where these three lines pop up at the display.)

gerw commented 1 year ago

This is the setting for calculation 259:

DAT_003d6a0c = (uint)Signal_CoolingClearance;

Hence, it might not indicate that the cooling is running, but at least that the cooling is allowed?

kbabioch commented 1 year ago

Btw: for me, calculations 117-119 always give a 0 for me. (Even if I go to the heat pump and select the screen where these three lines pop up at the display.)

At least for me those three calculations are currently:

Number: 117 Name: ID_WEB_HauptMenuStatus_Zeile1 Type: MainMenuStatusLine1 Value: heatpump running Number: 118 Name: ID_WEB_HauptMenuStatus_Zeile2 Type: MainMenuStatusLine2 Value: since Number: 119 Name: ID_WEB_HauptMenuStatus_Zeile3 Type: MainMenuStatusLine3 Value: heating

I'm running V3.85.8.

gerw commented 1 year ago

Btw: for me, calculations 117-119 always give a 0 for me. (Even if I go to the heat pump and select the screen where these three lines pop up at the display.)

At least for me those three calculations are currently:

Number: 117 Name: ID_WEB_HauptMenuStatus_Zeile1 Type: MainMenuStatusLine1 Value: heatpump running Number: 118 Name: ID_WEB_HauptMenuStatus_Zeile2 Type: MainMenuStatusLine2 Value: since Number: 119 Name: ID_WEB_HauptMenuStatus_Zeile3 Type: MainMenuStatusLine3 Value: heating

Yes, but these are exactly the transformed values of the raw value 0.

I'm running V3.85.8.

I am at V3.85.6.

@all: Does anybody get a value of 7 aka cooling for the calculation 80 ID_WEB_WP_BZ_akt? My heatpump is cooling and this calculation is still at 5 aka no request.

kbabioch commented 1 year ago

For me the values currently are:

Number: 80    Name: ID_WEB_WP_BZ_akt                                             Type: OperationMode        Value: cooling

So, yeah, it is cooling.

However the other values (117-119) are still "wrong":

Number: 117   Name: ID_WEB_HauptMenuStatus_Zeile1                                Type: MainMenuStatusLine1  Value: heatpump running
Number: 118   Name: ID_WEB_HauptMenuStatus_Zeile2                                Type: MainMenuStatusLine2  Value: since
Number: 119   Name: ID_WEB_HauptMenuStatus_Zeile3                                Type: MainMenuStatusLine3  Value: heating

The display on the controller itself is showing Kühlbetrieb.

So probably this is another case for something that needs to be corrected on a "higher level" (similar to #84).

RobinFlikkema commented 1 year ago

@ALL: Does anybody get a value of 7 aka cooling for the calculation 80 ID_WEB_WP_BZ_akt? My heatpump is cooling and this calculation is still at 5 aka no request.

Nope, Value 80 is 5; Eventhough the RBE shows it is actively cooling and the screen of the heatpump shows Koelbedrijf. 117-119:

Value 117: 0
Value 118: 0
Value 119: 0

This is using V3.85.8

gerw commented 1 year ago

@kbabioch @RobinFlikkema : Which kind of heat pump do you have? Does your heat pump uses the compressor for cooling?

I have a brine/water heat pump which does not use the compressor for cooling. Looking at the firmware, it might be the case that calculation 80 can only turn 7 if the compressor is used for cooling...?

kbabioch commented 1 year ago

@kbabioch @RobinFlikkema : Which kind of heat pump do you have? Does your heat pump uses the compressor for cooling?

I have a LWAV 82R1/3, which is an air to water heat pump. It uses the compressor to cool down the water running through the heating system.

So your assumption might be correct. Potentially this is something that should be reported to Alpha Innotec. On the other hand the parameters are not an official feature anyway. Maybe we can reproduce this in some other interface (BACNet, Modbus)?

gerw commented 1 year ago

In the "offical" web server of the heat pump, there is Betriebszustand (operation mode) under Anlagenstatus (status of the machine). If my heat pump is cooling (without using the actual heat pump), it does not display anything; for you it shows "cooling". So this is not a real bug for AIT, since the actual heat pump is not cooling. (If we understand Betriebszustand as the operation mode of the compressor).

However, Betriebszustand also displays EVU, if the power is interrupted; and this is also not an operation mode of the compressor.

kbabioch commented 1 year ago

However, Betriebszustand also displays EVU, if the power is interrupted; and this is also not an operation mode of the compressor.

Okay, haven't noticed, since my heat pump is not installed as "steuerbarer Verbraucher".

In the "offical" web server of the heat pump, there is Betriebszustand (operation mode) under Anlagenstatus (status of the machine). If my heat pump is cooling (without using the actual heat pump), it does not display anything; for you it shows "cooling". So this is not a real bug for AIT, since the actual heat pump is not cooling. (If we understand Betriebszustand as the operation mode of the compressor).

From my point of view that is another case that could be handled on a "higher level", i.e. we should not try to be too clever with those low level parameters / calcaulations / visibilities, but do any kind of conversion in a different layer.

I will prepare an issue for that to collect currently known glitches and requirements for the "high level interface".

gerw commented 1 year ago

I do not see any easy way to check whether the (passive) cooling (i.e., without the heat pump) is running. The safest way seems to be to check whether the calculation 66 ID_WEB_Zaehler_BetrZeitKue increases over time.

kbabioch commented 1 year ago

I do not see any easy way to check whether the (passive) cooling (i.e., without the heat pump) is running. The safest way seems to be to check whether the calculation 66 ID_WEB_Zaehler_BetrZeitKue increases over time.

Which might be a valid approach for the high level interface. A function / property like get_operation_mode could return the currently interpreted operation mode. Considering the runtime of calculation 66 could be handled internally by storing the last known value and comparing it, etc.

RobinFlikkema commented 1 year ago

@kbabioch @RobinFlikkema : Which kind of heat pump do you have? Does your heat pump uses the compressor for cooling?

Brine/Water. That would explain it. It's an Alpha Innotec 62K3M