Skip to content

Commit

Permalink
Innogy ebox: hide apparent power
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Apr 14, 2023
1 parent d6429cd commit be30fa4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charger/innogy.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ var _ api.Meter = (*Innogy)(nil)

// CurrentPower implements the api.Meter interface
func (wb *Innogy) CurrentPower() (float64, error) {
// https://github.com/evcc-io/evcc/issues/6848
if status, err := wb.Status(); status != api.StatusC || err != nil {
return 0, err
}
l1, l2, l3, err := wb.Currents()
return 230 * (l1 + l2 + l3), err
}
Expand Down

0 comments on commit be30fa4

Please sign in to comment.