Looks like some great work here, any chance you could help me get this add on containerized I am a bit new to docker and struggling but really want this intergration.
Good afternoon Mikemake , I ended up switching to supervised and have it installed but I belive I need to gather the MQTT setting as the log is erroring with the below… Any idea what I am doing wrong
Token File: /root/.GoSungrow/AppService_login.json
2022-04-26 17:05:17 Found SunGrow device 1134571_11_0_0 id:(edited out ID ) serial:(edited out serial number)
2022-04-26 17:05:17 Connecting to MQTT HASSIO Service…
Error: network Error : dial tcp 127.0.0.1:1883: connect: connection refused
Usage:
GoSungrow mqtt sync [flags]
Aliases:
I just installed the GoSungrow addon but cannot get it to connect to the EU server. I probably don’t have the right URL though, just tested a couple. Any chance somebody have got this to work on EU servers and can share the link? I have tested with: hxxps://eugateway.isolarcloud.com and hxxps://www.isolarcloud.eu but no luck. Log:
[21:50:08] INFO: Login to iSolarCloud using gateway hxxps://eugateway.isolarcloud.com …
ERROR: Post “hxxps://eugateway.isolarcloud.com/v1/userService/login”: x509: certificate is valid for *.isolarcloud.eu, isolarcloud.eu, not eugateway.isolarcloud. com
[21:50:09] INFO: Syncing data from gateway hxxps://eugateway.isolarcloud.com …
2022-05-08 21:50:09 Connecting to SunGrow…
Error: Post “hxxps://eugateway.isolarcloud.com/v1/userService/login”: x509: certificate is valid for *.isolarcloud.eu, isolarcloud.eu, not eugateway.isolarcloud. com
Usage:
GoSungrow mqtt sync [flags]
Aliases:
sync,
Examples:
GoSungrow mqtt sync
GoSungrow mqtt sync all
Flags: Use “GoSungrow help-all” for more info.
Additional help topics:
ERROR: Post “hxxps://eugateway.isolarcloud.com/v1/userService/login”: x509: certificate is valid for *.isolarcloud.eu, isolarcloud.eu, not eugateway.isolarcloud.com
[cmd] /usr/local/bin/run.sh exited 0
Summary
This text will be hidden
[cont-finish.d] executing container finish scripts…
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
For EU server make sure that you use https://gateway.isolarcloud.eu
The four servers that should work are:
Australian
https://augateway.isolarcloud.com
European
https://gateway.isolarcloud.eu
Chinese
https://gateway.isolarcloud.com
International
https:/gateway.isolarcloud.com.hk
Good afternoon Mikemake , I ended up switching to supervised and have it installed but I belive I need to gather the MQTT setting as the log is erroring with the below… Any idea what I am doing wrong
I believe you should be able to point just the MQTT server IP address at your local IP address that you use for your HA instance.
The person that developed the add-on just has to follow the simple instructions on the site that I posted previously. That’s the solution. It must be executed by the add-on developer.
Looking at the two forks that have been created to try and solve this I’m not sure its necessarily just that. Though I may have something not setup right my end as I’m a newbie on this stuff so apologies if thats the case:
I get the same issue on each fork which has implemented the fix to test it:
[05:52:26] INFO: Setting up GoSungrow config ...
**parse error: Expected string key before ':' at line 1, column 4**
**[05:52:26] ERROR: Unknown HTTP error occured**
**[05:52:27] INFO: Writing GoSungrow config ...**
**ERROR: $HOME is not defined**
**[05:52:27] INFO: Login to iSolarCloud using gateway null ...**
**ERROR: $HOME is not defined**
**[05:52:27] INFO: Syncing data from gateway null ...**
**ERROR: $HOME is not defined**
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
Well there seems to be another issue when starting the add-on, however the following original error seems to be solved: s6-overlay-suexec: fatal: can only run as pid 1.
The current error doesn’t seems to be s6-overlay related, it seems like an add-on configuration file error.
Im getting the eaxct same log results as D0cker5:…
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
[04:21:10] INFO: Setting up GoSungrow config ...
parse error: Expected string key before ':' at line 1, column 4
[04:21:10] ERROR: Unknown HTTP error occured
[04:21:11] INFO: Writing GoSungrow config ...
ERROR: $HOME is not defined
[04:21:11] INFO: Login to iSolarCloud using gateway null ...
ERROR: $HOME is not defined
[04:21:11] INFO: Syncing data from gateway null ...
ERROR: $HOME is not defined
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
Has there been any progress on a fix or what was done to fix?