Home Assistant Community Add-on: iSolarCloud / Sungrow

1 Like

Same also got the appkey error but I thought it was because I did firmware updates to the inverter and communication device.

Also have the same error:

Error: appkey is incorrect ‘er_invalid_appkey’

Also getting the APPKey error, id say sungrow have updated or done somthing to maybe patch this. im guessing the addon will need to be updated

Has anyone had any luck with their GoSungrow?

I just had a look and saw the appkey option in the config and thought maybe someone has an updated key to use or a way to find our own to see if that fixes things?

No luck. I have been looking at modbus addon versions but they all are also broken due to what looks like pycryptodomex issues.

1 Like

yah, modbus add-on seems broken :frowning:

Did you try to make Python from this?
I also want to have Python code and only need to know how to login successfully and how to get one parameter then I think I can do the rest myself

Has anyone been able to successfully install this recently?

All I get is

Failed to install addon:

 The command '/bin/ash -o pipefail -c chmod a+x /usr/local/bin/setup.sh && /usr/local/bin/setup.sh' returned a non-zero code: 1 

I see this same error message posted twice before, but I haven’t seen a resolution yet.

I also have the same error:
[04:34:52] INFO: Login to iSolarCloud using gateway https://augateway.isolarcloud.com
Error: appkey is incorrect ‘er_invalid_appkey’
Is anyone able to support this add-on?

1 Like

I had the choice of fronius or sungrow.
was talked into sungrow as “IT” had the best online presence.
That was 2019 I WAS SO WRONG
i tell anyone who is getting solar don’t go sun grow

3 Likes

@MickMake any chance you can update the repository for windows with a new appkey for windows? love the app mate and keen to integrate it into HA

1 Like

I managed to fix my integration in less than 10 mins by following the Part 2 instructions here Compiling GoSungrow · GitHub

I thought it was intimidating at first but I followed Part 2 and took like 10 mins to get the add-on up and running again. Thanks so much to the author.

4 Likes

Worked like a charm! Thx

Hi! Any step on how to add this addon using docker? It seems like this steps don’t work for me. I can’t find the addon section in my homeassistant. Any help would be extremely useful.

Sorry if it is a dumb question. I’m new to home assistant. :grimacing:

This also worked for me, now the question how to make sense of all these metrics with 0 idea of what they mean? I am really on interested in how much i am exporting to the grid and setup automation if exporting > 2kW to the grid for more than 15mins then turn on aircon (although the graphs and HA dashboard like Mike has posted on github would be nice to have )

This also worked for me.

A tip for others trying. Hold shift when right clicking in the terminal window to see the paste option.

Much easier being able to copy and paste instead of typing like I was trying.

Thanks for the link guys!

I fixed my integration also using Part 2 instructions. Thank you so much.

Anyone has an idea on how to “get” the daily PV Yield directly from the isolarcloud site to a MySQL database? I was doing this before with the my previous inverter (Solax)…

Hello, I’ve just tried to browse Mick’s project on Github, unfortunately, I must admit I’m a bit lost. Currently, I’m using Home Assistant on a VM on a Synology NAS. In parallel, I also use Docker for other applications on my Synology server.

I’m trying to understand the steps I need to take to activate the Sungrow addon to monitor it in Home Assistant.

Could you please guide me on this?
What are the prerequisites?
Do I need to use Docker (yes/no)?
And how do I then integrate it into Home Assistant?

Thank you in advance.

Hi Does anyone have the same issue as I have:
[20:00:46] INFO: Login to iSolarCloud using gateway https://augateway.isolarcloud.com
Error: unknown error ‘Request is not encrypted’

Ive seen it before in relation to the API-key, but that was solved. Unfortunately I am stuck again in getting GoSungrow to work.

I have included the full log and so hope someone can help me for the next step.

much obliged,
lippes

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[20:00:46] INFO: Setting up GoSungrow config ...
[20:00:46] INFO: Writing GoSungrow config ...
Using config file '/data/.GoSungrow/config.json'
New config:
+-------------------+------------+---------------------------+--------------------------------+-----------------------------------+
|       FLAG        | SHORT FLAG |        ENVIRONMENT        |          DESCRIPTION           |        VALUE (* = DEFAULT)        |
+-------------------+------------+---------------------------+--------------------------------+-----------------------------------+
| --config          |            | GOSUNGROW_CONFIG          | GoSungrow: config file.        | /data/.GoSungrow/config.json      |
| --debug           |            | GOSUNGROW_DEBUG           | GoSungrow: Debug mode.         | true                              |
| --quiet           |            | GOSUNGROW_QUIET           | GoSungrow: Silence all         | false *                           |
|                   |            |                           | messages.                      |                                   |
| --timeout         |            | GOSUNGROW_TIMEOUT         | Web timeout.                   | 1m0s                              |
| --user            | -u         | GOSUNGROW_USER            | SunGrow: api username.         | [email protected]                  |
| --password        | -p         | GOSUNGROW_PASSWORD        | SunGrow: api password.         | xxxxxxx                         |
| --appkey          |            | GOSUNGROW_APPKEY          | SunGrow: api application key.  | B0455FBE7AA0328DB57B59AA729F05D8  |
| --host            |            | GOSUNGROW_HOST            | SunGrow: Provider API URL.     | https://augateway.isolarcloud.com |
|                   |            |                           |                                | *                                 |
| --token-expiry    |            | GOSUNGROW_TOKEN_EXPIRY    | SunGrow: last login.           | 2024-04-16T03:39:40               |
| --save            | -s         | GOSUNGROW_SAVE            | Save output as a file.         | false *                           |
| --dir             |            | GOSUNGROW_DIR             | Save output base directory.    |  *                                |
| --mqtt-user       |            | GOSUNGROW_MQTT_USER       | HASSIO: mqtt username.         | mqtt-user                         |
| --mqtt-password   |            | GOSUNGROW_MQTT_PASSWORD   | HASSIO: mqtt password.         | Datacommunicatie#01               |
| --mqtt-host       |            | GOSUNGROW_MQTT_HOST       | HASSIO: mqtt host.             | core-mosquitto                    |
| --mqtt-port       |            | GOSUNGROW_MQTT_PORT       | HASSIO: mqtt port.             |                              1883 |
| --modbus-user     |            | GOSUNGROW_MODBUS_USER     | Modbus username.               |  *                                |
| --modbus-password |            | GOSUNGROW_MODBUS_PASSWORD | Modbus password.               |  *                                |
| --modbus-host     |            | GOSUNGROW_MODBUS_HOST     | Modbus host.                   |  *                                |
| --modbus-port     |            | GOSUNGROW_MODBUS_PORT     | Modbus port.                   | 502 *                             |
+-------------------+------------+---------------------------+--------------------------------+-----------------------------------+
[20:00:46] INFO: Login to iSolarCloud using gateway https://augateway.isolarcloud.com ...
Error: unknown error 'Request is not encrypted'
Usage:
  GoSungrow api login [flags]

Examples:
	GoSungrow api login  


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

Additional help topics:

ERROR: unknown error 'Request is not encrypted'
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
1 Like