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

Not Authorised #94

Open stan6911 opened 8 months ago

stan6911 commented 8 months ago

Hi I'm really stuck. I get the following error "User Account: efrx606ave User Id: 317758 User Name: Metevägen 15, Vallda 2023/10/26 17:51:47 INFO: Connecting to MQTT HASSIO Service... Is Online: false Token: 317758_c2934e823dd34324b3bd3cf3b0656faf Token File: /data/.GoSungrow/AppService_login.json 2023/10/26 17:51:47 INFO: Connecting to SunGrow... 2023/10/26 17:51:47 INFO: Found SunGrow 3 devices Error: not Authorized Usage: GoSungrow mqtt run [flags]"

What am I doing wrong?

iamnotralphy commented 8 months ago

First thing you do is take down your login details from a public website :)

second of all it seems that this is an MQTT issue rather than an issue logging into the Sungrow service. Have you installed a MQTT broker? Second if you have can you connect to it with a MQTT explorer?