Skip to content

Ladeleistung über mqtt "Batterie laden" #7827

Discussion options

You must be logged in to vote

Wenn ich den Code richtig lese, je nachdem ob die Power kleiner oder größer 0 ist.

evcc/core/site.go

Lines 571 to 572 in 3c44d05

batteryDischarge := math.Max(0, site.batteryPower)
batteryCharge := -math.Min(0, site.batteryPower)

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by andig
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bofi99
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants