-
-
Notifications
You must be signed in to change notification settings - Fork 941
Add battery mode api #20455
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
Add battery mode api #20455
Conversation
@andig what do you think about it? |
Moin, die Funktion steht im Vordergrund. Da ist eine gewisse coole Code-Evolution passiert. Ich erkenne noch die Idee ;-) Heute Abend teste ich die Funktion mal durch! Vorweggenommen sieht das für mich sehr schlüssig aus. Spannend, danke! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mit den Anpassungen macht es per MQTT was es soll; die REST-API klappt auch
Wir sollten |
ich hab das publishing mal mit eingebaut, primär aber die Änderungen, die nötig sind, damit es robust ist. Die Sperren sind jetzt wirksam und nicht blockierend, da die watchdog-Schleife endet. Schaut mal, ob das so in Ordnung ist. |
Schau' ich mir später an. Die Logs brauchte ich gestern zur Fehlersuche, waren nützlich - können aber natürlich raus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getestet, zurücksetzen per externem BatteryUnknown ohne Anpassung nicht stabil
Der aktuelle Stand passt! Lass' uns gerne abschließen. |
work in progress for feature
The externally set battery mode is valid for a fixed interval of 60s. After this period and no new external trigger, the external battery mode is invalid. The external mode is embedded in internal functions for calculating the battery modes for mains charge or hold.
At first glance, the user interface seems to be consistent with the externally set battery mode and the function is working as expected. Maybe it's confusing if gridchargelimit is set.
TODO
Out of scope