solaredge_modbus icon indicating copy to clipboard operation
solaredge_modbus copied to clipboard

Incomplete information example.py

Open artur5236 opened this issue 3 years ago • 4 comments

Hello, I used example.py script and get only below information: ` python3 example.py 192.168.1.80 1502 Inverter(192.168.1.80:1502, connectionType.TCP: timeout=1, retries=3, unit=0x1):

Registers: Manufacturer: SolarEdge Model: SE6K-RW0TEBNN4 Type: Three Phase Inverter Version: 0004.0014.0107 Serial: ###### Status: Producing Temperature: 19.79°C Current: 2.71A Traceback (most recent call last): File "/home/pi/solaredge_modbus/example.py", line 57, in print(f"\tPhase 1 Current: {(values['l1_current'] * (10 ** values['current_scale'])):.2f}{inverter.registers['l1_current'][6]}") KeyError: 'l1_current' `

artur5236 avatar Feb 02 '22 09:02 artur5236

Issue resolveed

artur5236 avatar Feb 02 '22 12:02 artur5236

Hey Artur, was there an issue that needs to be fixed?

nmakel avatar Feb 02 '22 18:02 nmakel

It was my mistake, I used old version solaredge_modbus package and newest example.py file. When I upgraded solardge_modbus to new version, issue was reselved.

artur5236 avatar Feb 03 '22 07:02 artur5236

this issue may be closed. Thanks.

mqu avatar Jan 18 '23 10:01 mqu