-
-
Notifications
You must be signed in to change notification settings - Fork 731
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
Allow fixed phase configuration #3714
Conversation
8ad92cd
to
f89979e
Compare
@@ -112,6 +112,7 @@ type LoadPoint struct { | |||
GuardDuration time.Duration // charger enable/disable minimum holding time | |||
|
|||
enabled bool // Charger enabled state | |||
phases int // Charger active phases, guarded by mutex |
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.
Enabled, not active
Great feature! Thanks! It could be even more useful if you could set the setting via the UI and change between 1, 3 or auto on a need basis by setting a switch per loadpoint |
Yeah, that's in the backlog. |
Would it be possible to set this parameter through MQTT then? |
Currently you can only set the current phases. I feel it would be better though, if the semantic of the |
@Hoelli4C ist umgesetzt |
Nice thing. For the cloudy days when 1P3P keeps switching, a manual button to remain in one mode may make sense. |
For time being only per API call, button is in discussion. |
Fix #3482
This PR allows configuring fixed phases for switchable chargers. Using
will fix the charger's phases. Phase switching is disabled in this mode. evcc will try to establish this setting once in case it has been modified externally.
will put a switchable charger in "auto" which is today's default. The
/api/phases
allows to specify all three values now:where
0
will release the lock and switch back toauto
mode. If1/3
are specified, phases are immediately switched and lock established.Note: The phase lock is also maintained for any "fast" charging modes, i.e. "Now" will stick to 1p if fixed by config or api.
Todo: