MickMake / GoSungrow

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

Cant log in from windows laptop #41

Open scraja69 opened 1 year ago

scraja69 commented 1 year ago

Hi I have installed go sungrow APP and it is asking for psid. how do i obtain ps id from sungrow tool . I have windows laptop and it is asking to run sungrow app from cmd app. I cant login.Can you please explain how to log in. I think I am missing .when I copy following it idid not go through.

I modified user name and password but not succesfull Following is the log from homeassistant

Thank you ..

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 [01:53:42] INFO: Setting up GoSungrow config ... [01:53:44] 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. | scrajapakse@gmail.com | | --password | -p | GOSUNGROW_PASSWORD | SunGrow: api password. | Scr4152# | | --appkey | | GOSUNGROW_APPKEY | SunGrow: api application key. | 93D72E60331ABDCDC7B39ADC2D1F32B3 | | | | | | | | --host | | GOSUNGROW_HOST | SunGrow: Provider API URL. | https://augateway.isolarcloud.com | | | | | | | | --token-expiry | | GOSUNGROW_TOKEN_EXPIRY | SunGrow: last login. | 2023-03-09T09:43:26 | | --save | -s | GOSUNGROW_SAVE | Save output as a file. | false * | | --mqtt-user | | GOSUNGROW_MQTT_USER | HASSIO: mqtt username. | mqttscr | | --mqtt-password | | GOSUNGROW_MQTT_PASSWORD | HASSIO: mqtt password. | mqttscr | | --mqtt-host | | GOSUNGROW_MQTT_HOST | HASSIO: mqtt host. | core-mosquitto | | --mqtt-port | | GOSUNGROW_MQTT_PORT | HASSIO: mqtt port. | 1883 | +-----------------+------------+-------------------------+--------------------------------+-----------------------------------+ [01:53:44] INFO: Login to iSolarCloud using gateway https://augateway.isolarcloud.com ... Email: Scrajapakse@gmail.com Create Date: Wed Dec 23 16:37:22 CST 2020 Login Last Date: 2023-03-09 09:43:26 Login Last IP:
Login State: 1 User Account: hxdb6m5x User Id: 183472 User Name: Chanaka Is Online: false Token: 183472_549aa6945f74498288cf3b79c7db022b Token File: /data/.GoSungrow/AppService_login.json Email: Scrajapakse@gmail.com Create Date: Wed Dec 23 16:37:22 CST 2020 Login Last Date: 2023-03-09 09:53:44 Login Last IP:
Login State: 1 User Account: hxdb6m5x User Id: 183472 User Name: Chanaka Is Online: false Token: 183472_6f71bcc469d24f4da669c90e4eb87ca9 Token File: /data/.GoSungrow/AppService_login.json [01:53:44] INFO: Syncing data from gateway https://augateway.isolarcloud.com ... 2023/03/09 01:53:44 INFO: Connecting to MQTT HASSIO Service... 2023/03/09 01:53:44 INFO: Connecting to SunGrow... Email: Scrajapakse@gmail.com Create Date: Wed Dec 23 16:37:22 CST 2020 Login Last Date: 2023-03-09 09:53:44 Login Last IP:
Login State: 1 User Account: hxdb6m5x User Id: 183472 User Name: Chanaka Is Online: false Token: 183472_6f71bcc469d24f4da669c90e4eb87ca9 Token File: /data/.GoSungrow/AppService_login.json 2023/03/09 01:53:45 INFO: Found SunGrow 2 devices 2023/03/09 01:53:45 INFO: Caching Sungrow metadata... 2023/03/09 01:53:45 INFO: Cached 681 Sungrow data points... 2023/03/09 01:53:45 ERROR: strconv.Atoi: parsing "1382562_1382563": invalid syntax Error: strconv.Atoi: parsing "1382562_1382563": invalid syntax PsId: required JSON request: {"ps_id":1204183} Usage: GoSungrow mqtt run [flags] Aliases: run, Examples: GoSungrow mqtt run
Flags: Use "GoSungrow help flags" for more info. Additional help topics: ERROR: strconv.Atoi: parsing "1382562_1382563": invalid syntax 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