Closed fbijma2 closed 3 years ago
To clarify, do you mean that there are multiple Samil Power inverters in the network and you would like to only upload the data of the inverter at IP address 192.168.50.2?
Assuming you meant as above, the following configuration should probably work:
[DEFAULT]
Status interval = 5
API key = ***
System ID = 70928
[System1]
IP address = 192.168.50.2
Admittedly, this is not very intuitive, see here for an explanation.
I have read all that, but 192.168.50.2 is the interface of my NUC that is communicating to my network. 192.168.50.7 is the address of my convertor.
Op do 24 okt. 2019 17:47 schreef Maarten Visscher <notifications@github.com
:
Assuming you meant as above, the following configuration should probably work:
[DEFAULT] Status interval = 5
API key = *** System ID = 70928
[System1] IP address = 192.168.50.2
Admittedly, this is not very intuitive, see here https://github.com/mhvis/solar#multiple-inverters-configuration for an explanation.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mhvis/solar/issues/13?email_source=notifications&email_token=ANSHOCQZQILGS443KSJUVXTQQG7SNA5CNFSM4JD6PNY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECFQE2I#issuecomment-545981033, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANSHOCTTEYSSPKHTUANXO4DQQG7SNANCNFSM4JD6PNYQ .
Okay interesting :+1:. There seems to be some other program which is using the server listening port, which is 1200. You could try to find out what that is using a command like lsof -i :1200
. If you have another instance of the script running (on the same interface or all interfaces) than that is the problem. If nothing shows up for port 1200 it might have something to do with the SO_REUSEADDR
option.
You might need to do sudo lsof -i :1200
to see all processes and look for LISTEN
If you're still interested in this, you could try the new version.
Hi Maarten, I keep getting adddress already in use. I have multiple interfaces in my system and would like te script to search at only 192.168.50.2 interface. But it does not seam to work:
this is my ini:
I assumed the API key is the hex key. Hope you can help. Maybe missing some python modules? Regards Frans