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

Error when using GoSungrow API commands #69

Closed PottuGD closed 3 months ago

PottuGD commented 11 months ago

Issue Description:

I'm getting an error while using the GoSungrow api get WebAppService.showPSView '{"ps_id":"xxxxxxx"}' command. The error message displayed is:

ERROR: invalid character 'p' looking for beginning of object key string

This error occurs whenever I attempt to use any API commands.

Steps to Reproduce:

Expected Behavior:

I expected the GoSungrow application to execute the API command (get WebAppService.showPSView) and display the current power stats associated with the provided ps_id.

Actual Behavior:

Instead of executing the command successfully, the application throws an error with the following message:

ERROR: invalid character 'p' looking for beginning of object key string

Additional Information:

Environment:

Reproducibility:

Always