Skip to content

Fix #1552: Publish ActiveSocLimit in KeepCharged state#22

Open
drurew wants to merge 2 commits intovictronenergy:masterfrom
drurew:fix/issue-1552
Open

Fix #1552: Publish ActiveSocLimit in KeepCharged state#22
drurew wants to merge 2 commits intovictronenergy:masterfrom
drurew:fix/issue-1552

Conversation

@drurew
Copy link

@drurew drurew commented Feb 15, 2026

This PR fixes issue #1552 where 'Peak shaving' was ignored when 'self-consumption from battery' is set to 'only critical loads' (Keep Batteries Charged mode).

The issue was that in 'KeepCharged' state, the 'ActiveSocLimit' was being set to 'None', preventing the ESS logic from knowing the effective limit. This change ensures 'ActiveSocLimit' is published as 'minsoclimit' in this state, consistent with other states.

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

Successfully merging this pull request may close these issues.

1 participant