MickMake / GoSungrow

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

Any command I run say "Error: option 'PsKey' is empty" #8

Closed hdymling closed 1 year ago

hdymling commented 1 year ago

I cannot see that we can write a PsKey in the config file and also how to find the plants PsKey. We have a setup with four inverters added to our account as a plant.

Any ideas how to solve this?

MickMake commented 1 year ago

I only have one inverter, so it resolves on the first one found. I'll be updating this next week and give the ability to perform some dumps so I can do debugging.

hdymling commented 1 year ago

If you create code that will dump data, I will run it and also see what I can do. I have not done any work in Go language earlier, I have experience in other programing languages.

hdymling commented 1 year ago

Hi,

GoSungrow api get getPsList < I removed the logon info > { "pageList": null, "rowCount": 0 }

MickMake commented 1 year ago

Hi, I'm just about to push a major release that fixes this issue.

My inverter actually died and they replaced it with a completely new system. So I got a chance to debug multi-inverter setups.