This commit is contained in:
andig 2025-06-18 16:04:58 +02:00
parent 6234521227
commit c3ca633f44

View file

@ -247,7 +247,7 @@ func (wb *DaheimLadenMB) TotalEnergy() (float64, error) {
// getPhaseValues returns 3 sequential register values
func (wb *DaheimLadenMB) getPhaseValues(reg uint16) (float64, float64, float64, error) {
b, err := wb.conn.ReadHoldingRegisters(reg, 6)
b, err := wb.conn.ReadHoldingRegisters(reg, 5)
if err != nil {
return 0, 0, 0, err
}