Hello. First of all thanks for this library.
I'm a basic user of Python (thus not an expert). I'm trying to run the example provided here but I don't find where I have to define the IP, password and login of my SMA inverter.
Excuse-me for this basic question but I'm trying for hours without any results and still get this message:
usage: SMA retrieve.py [-h] ip user password
SMA retrieve.py: error: the following arguments are required: ip, user, password
Should I add some variable definition in the header like this?
ip = "192.168.1.160"
user = "istl"
password = "1234"
OK. I've found. We have to use the program with a command line followed by the parameters like eg. python3 example.py http://192.168.1.160 installer 1234
Hello. First of all thanks for this library. I'm a basic user of Python (thus not an expert). I'm trying to run the example provided here but I don't find where I have to define the IP, password and login of my SMA inverter. Excuse-me for this basic question but I'm trying for hours without any results and still get this message: usage: SMA retrieve.py [-h] ip user password SMA retrieve.py: error: the following arguments are required: ip, user, password
Should I add some variable definition in the header like this? ip = "192.168.1.160" user = "istl" password = "1234"
Anyway, it doesn't seem to work.
Thanks by advance for reply.