Closed kitzler-walli closed 2 years ago
added the code necessary to extract these values:
VoltageL1 = to_bytes("01.0.32.7.0.255") VoltageL2 = to_bytes("01.0.52.7.0.255") VoltageL3 = to_bytes("01.0.72.7.0.255") CurrentL1 = to_bytes("1.0.31.7.0.255") CurrentL2 = to_bytes("1.0.51.7.0.255") CurrentL3 = to_bytes("1.0.71.7.0.255") RealPowerIn = to_bytes("1.0.1.7.0.255") RealPowerOut = to_bytes("1.0.2.7.0.255") RealEnergyIn = to_bytes("1.0.1.8.0.255") RealEnergyOut = to_bytes("1.0.2.8.0.255") ReactiveEnergyIn = to_bytes("1.0.3.8.0.255") ReactiveEnergyOut = to_bytes("1.0.4.8.0.255") Factor = to_bytes("01.0.13.7.0.255")
thx to @dbeinder for providing a good example.
I had to modify the start index and the max length till the loop stops to ignore the serial number of the meter.
added the code necessary to extract these values:
VoltageL1 = to_bytes("01.0.32.7.0.255") VoltageL2 = to_bytes("01.0.52.7.0.255") VoltageL3 = to_bytes("01.0.72.7.0.255") CurrentL1 = to_bytes("1.0.31.7.0.255") CurrentL2 = to_bytes("1.0.51.7.0.255") CurrentL3 = to_bytes("1.0.71.7.0.255") RealPowerIn = to_bytes("1.0.1.7.0.255") RealPowerOut = to_bytes("1.0.2.7.0.255") RealEnergyIn = to_bytes("1.0.1.8.0.255") RealEnergyOut = to_bytes("1.0.2.8.0.255") ReactiveEnergyIn = to_bytes("1.0.3.8.0.255") ReactiveEnergyOut = to_bytes("1.0.4.8.0.255") Factor = to_bytes("01.0.13.7.0.255")
thx to @dbeinder for providing a good example.
I had to modify the start index and the max length till the loop stops to ignore the serial number of the meter.