MickMake / GoSungrow

GoLang implementation to access the iSolarCloud API updated by SunGrow inverters.
https://mickmake.com/
GNU General Public License v2.0
149 stars 43 forks source link

Using European Server? #5

Closed hopfi2k closed 1 year ago

hopfi2k commented 2 years ago

Does GoSungrow support access via European Server as well? If so, how to specify EU-Server?

Using the default server (host) gives me a

ERROR: Account does not exist '账号不存在'

hopfi2k commented 1 year ago

Playing a little more I have reached the following point (using gateway.isolarcloud.eu as host):

./GoSungrow api login

ERROR: Post "gateway.isolarcloud.eu/v1/userService/login": unsupported protocol scheme ""
MickMake commented 1 year ago

Could you try the latest version just released? v3.0.0

hopfi2k commented 1 year ago

Tried latest release and getting:

./GoSungrow api login                                                                                       
Error: API httpResponse is 404 Not Found
Usage:
  GoSungrow api login [flags]

Examples:
    GoSungrow api login  

Flags: Use "GoSungrow help flags" for more info.

Additional help topics:

ERROR: API httpResponse is 404 Not Found

host is correctly set to: https://api.isolarcloud.eu

Created the config file before of course...

Any idea?

DrLEEi commented 1 year ago

I myself use a European server. It didn't work for me with the previous version either, but the current version (Current version: 3.0.1) started and works! In my Home Assistant configuration: https://gateway.isolarcloud.eu

I can extract real-time and daily data.

I am very grateful for the work, because until now I have not been able to do this with anything else. Unfortunately, the ModbusTCP communication did not work either.

hopfi2k commented 1 year ago

Changing host to https://gateway.isolarcloud.eu did the trick. Many thanks!

MickMake commented 1 year ago

Fantastic! Great to hear it's working well.