Skip to content

Mennekes-Compact: Fix reboot and phase switching #20579

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

premultiply
Copy link
Member

@premultiply premultiply added bug Something isn't working devices Specific device support labels Apr 13, 2025
@@ -280,7 +281,14 @@ func (wb *MennekesCompact) phases1p3p(phases int) error {
u = 1
}

// temporarily disable charger during phase switching
if en, err := wb.Enabled(); err == nil && en {
wb.Enable(false)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error handling wäre gut

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ist das denn so einfach? Hier würde ja immerhalb von Millisekunden aus/ein geschaltet? Da ist eine Phasenumschaltung vmtl. noch nicht erfolgt?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Das weiss ich auch nicht.
Hab erstmal stumpf das gemacht was in der Anleitung bzw. Discussion steht.

@andig
Copy link
Member

andig commented Apr 22, 2025

Was machen wir hier? Issue ist stale ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working devices Specific device support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mennekes Amtron 4You/Compact: Recover from error state via ModBus
2 participants