Skip to content

Commit

Permalink
Data is in INPUT registers.
Browse files Browse the repository at this point in the history
I wonder how the heck this could ever have worked.
  • Loading branch information
smurfix committed Feb 8, 2024
1 parent df18449 commit b62a1d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Eastron_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def read_data_regs(self, regs, d):
start = regs[0].base
count = regs[-1].base + regs[-1].count - start

rr = self.modbus.read_holding_registers(start, count, unit=self.unit)
rr = self.modbus.read_input_registers(start, count, unit=self.unit)

latency = time.time() - now

Expand Down

0 comments on commit b62a1d8

Please sign in to comment.