Skip to content

Commit

Permalink
TQ EM420: fix energy (evcc-io#16810)
Browse files Browse the repository at this point in the history
  • Loading branch information
VolkerK62 authored Oct 23, 2024
1 parent 85b6583 commit 40c3d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meter/tq-em420.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ var _ api.MeterEnergy = (*TqEM420)(nil)

func (m *TqEM420) TotalEnergy() (float64, error) {
res, err := m.dataG()
return res.SmartMeter.Values.ActiveEnergyP / 1e3, err
return res.SmartMeter.Values.ActiveEnergyP / 1e6, err
}

var _ api.PhaseCurrents = (*TqEM420)(nil)
Expand Down

0 comments on commit 40c3d67

Please sign in to comment.