Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incomplete information example.py #49

Open
artur5236 opened this issue Feb 2, 2022 · 4 comments
Open

Incomplete information example.py #49

artur5236 opened this issue Feb 2, 2022 · 4 comments

Comments

@artur5236
Copy link

artur5236 commented Feb 2, 2022

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
Copy link
Author

Issue resolveed

@nmakel
Copy link
Owner

nmakel commented Feb 2, 2022

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

@artur5236
Copy link
Author

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.

@mqu
Copy link

mqu commented Jan 18, 2023

this issue may be closed. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants