Skip to content

strconv.Atoi: parsing "null" #141

@paytah232

Description

@paytah232

Hi,

Just got ownership of these (from my installer), and now the integration picks up the devices I have (over 2 plants). It gets the ps_id of my first plant (confirmed on the webpage), but then I immediately get the parsing "null" error, and that's as far as I get.

I'd really like any inclination into what I need to check or fix to get this working. It's the closest I've been in months, and I'm very keen to get there! Any help would be greatly appeciated!

Relevant logs below:

2026/01/30 03:49:38 INFO: Found SunGrow 6 devices
2026/01/30 03:49:38 INFO: Caching Sungrow metadata...
2026/01/30 03:49:38 INFO: Cached 1230 Sungrow data points...
PsId: required
JSON request:	{"ps_id":REDACTED}
2026/01/30 03:49:38 ERROR: strconv.Atoi: parsing "null": invalid syntax
Error: strconv.Atoi: parsing "null": invalid syntax
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 "null": 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions