goodwe
goodwe copied to clipboard
Question: how it intepret constants like `30103` in the code base?
Hi all,
I'm reading the code and I'm trying to map the constants I'm seeing there to the Modbus documentation I found.
The code defines stuff like this: Voltage("vpv1", 30103, "PV1 Voltage", Kind.PV). I can't correlate the 30103 with what I read in the Modbus documentation. The 3 must be the command. But the remainder isn't clear. From the docs I figured 0500 is the address of the vpv1 value. How does one relate to the other?