luxtronik icon indicating copy to clipboard operation
luxtronik copied to clipboard

Implemented power limitation,

Open Codectory opened this issue 1 year ago • 39 comments

visibilities.Unknown_Parameter_357 is related to power limitation, not silent mode, added undefined_24 & 25 in switch off reasons

Codectory avatar Dec 17 '24 23:12 Codectory

Great implementation! I Hope BenPru finds the time soon to approve this commit! Did you find out, whether another Parameter is related to silent mode? Also the power_limitation is only available/working when smart grid is active. Do you think integrating the smart grid switch in this commit makes sense?

stefanovich1 avatar Dec 18 '24 13:12 stefanovich1

I can only control the settings, power limitation does not work for me. When I open EVU, the heat pump is locked and will not start heating, whether power limitation is on or off. When I bridge EVU2 and enable smart grid, power limitation will be ignored

Codectory avatar Dec 18 '24 13:12 Codectory

Sorry I can't follow. My EVU is open, as it should be from stock. I activate smart grid in the Luxtronik interface. Afterwards I can activate power limitation and set a value.

So you wrote this without having the benefit from it?

stefanovich1 avatar Dec 18 '24 13:12 stefanovich1

What to you mean with "open"? Bridged? When EVU is bridged and I activate power limitation, the heat pump will not be limited, it is not working.

Codectory avatar Dec 18 '24 13:12 Codectory

OK I double checked and you are right. The EVU must be bridged, since I had no EVU limitations prior to my activation of smart grid. On the hardware wiring part of view, my machine is stock. EVU = bridged (no EVU smart grid = on power limitation = on power limitation value = set to 1.2kW (can't be too little)

stefanovich1 avatar Dec 18 '24 13:12 stefanovich1

And this is working for you?

Codectory avatar Dec 18 '24 13:12 Codectory

Well in the controler it says: EVU = "Ein" Smart Grid = "1" EVU 2 = "Aus"

And with this setting power limitation is working

stefanovich1 avatar Dec 18 '24 14:12 stefanovich1

But than you also have reduced target temperature right?

Codectory avatar Dec 18 '24 14:12 Codectory

Nope, regular target temperature. But my machine is oversized for my house. Therefore I only need those 1.2kW (electrical) in rare conditions.

stefanovich1 avatar Dec 18 '24 14:12 stefanovich1

So with my setup I get the smart grid working condition "EVU locked". (out of the 4 possible conditions) https://www.novelan.com/download/18.6d7c19c518cfe26c3038e52/1709107004949/Betriebsanleitung_WPR-NET-2-1.pdf (page 37) But due to activation of power limitation, it does not lock the machine completely but is respecting the limitation.

stefanovich1 avatar Dec 18 '24 14:12 stefanovich1

And it is really heating?

Codectory avatar Dec 18 '24 16:12 Codectory

@blue-bean Is the power limitation working for you? When it's enable while EVU is not bridged or Smart Grid is enabled, the status message "power limitation" will show up, but the heat pump never starts heating.

Codectory avatar Dec 19 '24 12:12 Codectory

@blue-bean Is the power limitation working for you? When it's enable while EVU is not bridged or Smart Grid is enabled, the status message "power limitation" will show up, but the heat pump never starts heating.

It's working for me like @stefanovich1 mentioned. Activating Smart Grid to 'On' without activated power limit gives me a blocked WP: Zwischenablage08

If power limit is 'on' when i activate Smart Grid, the WP is working respecting the power limit (see the marked symbol in the screenshots): Zwischenablage07 and Zwischenablage06

If Smart Grid is 'off' and i activate the power limit, nothing happens, the WP is working as usual.

blue-bean avatar Dec 19 '24 16:12 blue-bean

I see the symbol, but when I enable Smart Grid, the heat pump immediatley stops heating and won't start again, although power limitation is enabled.

Codectory avatar Dec 19 '24 21:12 Codectory

Did you try to increase the power limit in several steps?

blue-bean avatar Dec 19 '24 21:12 blue-bean

Status was always blocked image

When I set ist to 30kW it changed to No Limit. I lowered the value step by step and it changed to blocked at 1,5kW, but not changed back to no limit, when I increased the value.

Codectory avatar Dec 19 '24 21:12 Codectory

And when status is not blocked - was the external flow out temperature really lower than (flow out temperature target - hysteresis)? How long did you wait after setting a new limit?

blue-bean avatar Dec 19 '24 21:12 blue-bean

Yes of course. Now, I managed to get power limitation activated while it is heating. After the start phase, (I don't know how long it takes), is shows "REDUCED", then I lowered the limit step by step from 1,5 to 0,6kW and it stops heating on 0,6kW, but the consumption was all the time above the limit. This feature feels a little bit buggy for me

Codectory avatar Dec 19 '24 21:12 Codectory

Now, I managed to get power limitation activated while it is heating.

In another forum, a user wrote that the heat pump does not start when the power limit is activated. The power limit can only be activated when the pump is already running. This is probably to prevent the pump from exceeding the limit when starting up, as the pump always has to start at medium power. I don't know whether this applies to all power limits or just to the values ​​that are in the lower power range of the pump.

blue-bean avatar Dec 20 '24 07:12 blue-bean

This happend with me when the Limit is too low. Especially during Start or water heating a too little value can cause Problems. Here comes your commit into play. Now you can adjust the Limitaccording Status, time or some Thing else

stefanovich1 avatar Dec 20 '24 08:12 stefanovich1

But then, this feature is completely useless or buggy. The heat pump should ignore the limit on start up.

stefanovich1 @.***> schrieb am Fr. 20. Dez. 2024 um 09:07:

This happend with me when the Limit is too low. Especially during Start or water heating a too little value can cause Problems. Here comes your commit into play. Now you can adjust the Limitaccording Status, time or some Thing else

— Reply to this email directly, view it on GitHub https://github.com/BenPru/luxtronik/pull/306#issuecomment-2556484762, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOWXFIOOLCHL7IY2UGZPRLT2GPF5PAVCNFSM6AAAAABTZPEIMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJWGQ4DINZWGI . You are receiving this because you authored the thread.Message ID: @.***>

Codectory avatar Dec 20 '24 08:12 Codectory

I can confirm your commit working.... Cool job! Although the namens are little mixed up.... It does not Show up as "Leistungslimit". Any idea to fix this minor cosmetical issue?

stefanovich1 avatar Dec 20 '24 08:12 stefanovich1

Why should it?

stefanovich1 @.***> schrieb am Fr. 20. Dez. 2024 um 09:10:

I can confirm your commit working.... Cool job! Although the namens are little mixed up.... It does not Show up as "Leistungslimit". Any idea to fix this minor cosmetical issue?

— Reply to this email directly, view it on GitHub https://github.com/BenPru/luxtronik/pull/306#issuecomment-2556487899, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOWXFIN32WPFUCOS77RBQL32GPGFXAVCNFSM6AAAAABTZPEIMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJWGQ4DOOBZHE . You are receiving this because you authored the thread.Message ID: @.***>

Codectory avatar Dec 20 '24 08:12 Codectory

It does not Show up as "Leistungslimit".

It does for me - did you have the changes in de.json?

blue-bean avatar Dec 20 '24 08:12 blue-bean

It does not Show up as "Leistungslimit".

It does for me - did you have the changes in de.json?

Sorry, my bad. By manually copying the files to the HA I missed the translations folder. Everything works and translates fine. Thanks for the great work.

But then, this feature is completely useless or buggy. The heat pump should ignore the limit on start up. stefanovich1 @.> schrieb am Fr. 20. Dez. 2024 um 09:07: This happend with me when the Limit is too low. Especially during Start or water heating a too little value can cause Problems. Here comes your commit into play. Now you can adjust the Limitaccording Status, time or some Thing else — Reply to this email directly, view it on GitHub <#306 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOWXFIOOLCHL7IY2UGZPRLT2GPF5PAVCNFSM6AAAAABTZPEIMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJWGQ4DINZWGI . You are receiving this because you authored the thread.Message ID: @.>

I think the original implementation was to meet a goverment requirement. You must be able to limit big electrical machines to 4,2kW. With this limit 99% of the heat pumps are not impaired in any way. I had a limit earlier at 0,9kW and heating worked fine...even the start up. But at low temperatures the heat pump aborted the hot water cycle. I am currently at a steday limit of 1,3kW and have no implications at all. I have the benefit, that with this limit I can flatten the ramp up at start up. I also read about users having problems with deicing at a too low limit.

btw: The Limit IS ignored during deicing

stefanovich1 avatar Dec 20 '24 11:12 stefanovich1

Hi guys. Thank you for working on this topic. As I understood, we can use the power limitation then out of HA. Right? Great! I would like to install it on my test system. But unfortunately I have no idea how GitHub works. So I don't know how to "copy" the modified girls to my HA config. Any easy tip? :)

Mehli12 avatar Dec 22 '24 15:12 Mehli12

Reading the comments so far, it seems this functionality needs good documentation. If I understand correctly:

  1. the power limit only has effect if smart grid is turned on.
  2. power limit will set the maximum amount of power the heatpump is allowed to use.
  3. in some cases, hot water will not work if the power limit is set to low.
  4. in some cases, the heatpump doesn't start I'd the power limit and/or smart grid is turned on.

I'm not about to test this at this moment, but I'll check how my heat pump reacts next week. Please correct/confirm.

AJediIAm avatar Dec 22 '24 16:12 AJediIAm

I'm not about to test this at this moment, but I'll check how my heat pump reacts next week. Please correct/confirm.

I would like to test it. But don#t know how to implement the changes in my HA system

Mehli12 avatar Dec 22 '24 17:12 Mehli12

Reading the comments so far, it seems this functionality needs good documentation. If I understand correctly:

1. the power limit only has effect if smart grid is turned on.

2. power limit will set the maximum amount of power the heatpump is allowed to use.

3. in some cases, hot water will not work if the power limit is set to low.

4. in some cases, the heatpump doesn't start I'd the power limit and/or smart grid is turned on.

I'm not about to test this at this moment, but I'll check how my heat pump reacts next week. Please correct/confirm.

I can confirm this behavior. Tested with changing between hot water and heating and it works flawless so far.

Hi guys. Thank you for working on this topic. As I understood, we can use the power limitation then out of HA. Right? Great! I would like to install it on my test system. But unfortunately I have no idea how GitHub works. So I don't know how to "copy" the modified girls to my HA config. Any easy tip? :)

[cudos to blue-bean aka Frogman] Download the git desktop app. Copy BenPru's code to your lokal machine. Then on the top --> current branch --> main --> Pull requests --> Choose a branch to merge into main (on the bottom) I merged all open pull requests and all of them work ideal Then you have to replace the changed files on the HomeAssistant with the new files on your lokal machine. I did that by installing SmabaShare AddOn on HomeAssistant. You can then replacy all files on your Home assistant (dont forget the translation folder) Restart Home Assistant and done

If you are german speaking, have a look to the following threads: https://www.haustechnikdialog.de/Forum/t/260333/Luxtronik-Anbindung-mit-HomeAssistant?page=5 https://www.haustechnikdialog.de/Forum/t/272274/Alpha-Innotec-Firmware?page=22

stefanovich1 avatar Dec 23 '24 18:12 stefanovich1

I can confirm this behavior. Tested with changing between hot water and heating and it works flawless so far.

I can confirm as well. After turning on Smart Grid, the heat pump stoped, and just start running again, when I set the power limit above 1,2 kW or so. Afterwards I'm able to set the power limit as low as I like to and the pump runs. Maybe warm water is not going to reach the set temperature. For now, I just set the power limit up to 1,3 kW to reach warm water set temp. Now the heat pump starts even with a power limit as low as 0,9 kW. I can confirm the heat pump is ignoring the power limit during start up.

Bildschirmfoto 2024-12-25 um 16 40 36

It's great work, now I'm able to adjust the heat pump according to PV Überschuss at a certain time.

Apart from this, I realized, that the heat pump is running much more smooth. Like more or less on the same power level (below the power limit). Before my heat pump was pulsing up and down. For example between 0,5 kW and 1,4 kW within 30 minutes. I guess this is not very efficent.

Another strange thing I realized, after installing the "updated" files to custom components in my HA test system and switching Smart Grid to on, some sensors disappeared in my working system. Even after a restart they did not appear again until I copied the "updated" files also to my working system. Now it works and all sensors are online.

[cudos to blue-bean aka Frogman] Download the git desktop app. Copy BenPru's code to your lokal machine. Then on the top --> current branch --> main --> Pull requests --> Choose a branch to merge into main (on the bottom) I merged all open pull requests and all of them work ideal Then you have to replace the changed files on the HomeAssistant with the new files on your lokal machine. I did that by installing SmabaShare AddOn on HomeAssistant. You can then replacy all files on your Home assistant (dont forget the translation folder) Restart Home Assistant and done

If you are german speaking, have a look to the following threads: https://www.haustechnikdialog.de/Forum/t/260333/Luxtronik-Anbindung-mit-HomeAssistant?page=5 https://www.haustechnikdialog.de/Forum/t/272274/Alpha-Innotec-Firmware?page=22

Thank you for your information regarding merging the different branches. I works as described! Great!

Mehli12 avatar Dec 25 '24 15:12 Mehli12