any progress
OK. This issue is fixed in v3.0.7. I had to drop out some of the major changes as they weren’t ready for release yet.
Next release will be v3.1.0 - adding direct connection to your inverter!
you are a champion Mick.
and I can confirm the fix in the field
perfect. many thanks.
direct connectiion? sounds really great.
Hi all.
I have the same problem.
¿You solve the issue?.
Thanks.
Hi Mick.
In other Home Assistant supevised, here are no login problems or anything with the integration and mosquitto doesn’t throw any errors either.
But no HA sensor is displayed.
Thanks a lot.
Hello everyone.
I answer myself.
Sungrow’s tenga datalogger the only thing you can squeeze out of it is that it connects to the isolar cloud, and that you can see through their website the data in real time.
But honoring their concern for the user, it does not open modbus or anything with which we can monitor locally.
So you have to use @MickMake integration.
Compilation of my failures in case someone else finds it helpful.
- Using a user created in the HA, not through the MQTT server configuration.
- If it does not connect to the server, check what name the HA gave to the MQTT docker container, it is usually core-mosquitto, but not necessarily.
- The password of the user if it contains the character “{ or }” to give an error that it does not find the host, they fixed in the logs that it does not find the host …{… .
Greetings.
My problem Now.
Hello to all.
I had everything working, I installed a wattmeter to see the consumption.
I can see it from isolar, but now I can’t start the add-on because of the following error.
(I have reinstalled, tried it on another test equipment …
I don’t know where to shoot:
2023/09/13 16:26:01 INFO: Found SunGrow 5 devices
2023/09/13 16:26:01 INFO: Caching Sungrow metadata...
2023/09/13 16:26:02 INFO: Cached 856 Sungrow data points...
PsId: required
JSON request: {"ps_id":5298281}
2023/09/13 16:26:02 ERROR: strconv.Atoi: parsing "null": invalid syntax
Error: strconv.Atoi: parsing "null": invalid syntax
Usage:
GoSungrow mqtt run [flags]
I fixed the last problem by recreating the plant in isolar like installer.
I have installed and start the addon, but get this in the log…any thoughts I what I may have done wrong or missed ?
[23:58:22] INFO: Syncing data from gateway https://augateway.isolarcloud.com …
2023/09/20 23:58:22 INFO: Connecting to MQTT HASSIO Service…
2023/09/20 23:58:22 INFO: Connecting to SunGrow…
2023/09/20 23:58:22 INFO: Found SunGrow 2 devices
2023/09/20 23:58:22 INFO: Caching Sungrow metadata…
2023/09/20 23:58:22 INFO: Cached 260 Sungrow data points…
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0xc8 pc=0x8c633f]
goroutine 1 [running]:
github.com/MickMake/GoSungrow/iSolarCloud/AppService/queryDeviceList.(*EndPoint).SetPvPoints(, {{, , }}, {0xc00040f590, {0xc0002e0967, 0x7}, {0xc13affa7b58c87a0, 0x3cd0f3b, 0x4ba6380}, …})
/Volumes/home/mick/Documents/GoLang/Solar/GoSungrow/iSolarCloud/AppService/queryDeviceList/data.go:419 +0x87f
github.com/MickMake/GoSungrow/iSolarCloud/AppService/queryDeviceList.(*EndPoint).GetEnergyStorageSystem(, {0xc00040f590, {0xc0002e0967, 0x7}, {0xc13affa7b58c87a0, 0x3cd0f3b, 0x4ba6380}, {{0xc000251120, 0x2, 0x2}}, …})
/Volumes/home/mick/Documents/GoLang/Solar/GoSungrow/iSolarCloud/AppService/queryDeviceList/data.go:299 +0x3b5
github.com/MickMake/GoSungrow/iSolarCloud/AppService/queryDeviceList.(*EndPoint).GetData()
/Volumes/home/mick/Documents/GoLang/Solar/GoSungrow/iSolarCloud/AppService/queryDeviceList/data.go:259 +0xb8
github.com/MickMake/GoSungrow/iSolarCloud/AppService/queryDeviceList.EndPoint.GetEndPointData(...)
/Volumes/home/mick/Documents/GoLang/Solar/GoSungrow/iSolarCloud/AppService/queryDeviceList/struct.go:367
github.com/MickMake/GoSungrow/iSolarCloud.(*SunGrowData).CallEndpoint(, {, _}, {{0xc00040eb10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, …}, …})
/Volumes/home/mick/Documents/GoLang/Solar/GoSungrow/iSolarCloud/data.go:160 +0x433
github.com/MickMake/GoSungrow/iSolarCloud.(*SunGrowData).getDataSinglePsIdRequired(0xc000d15478, {0x2f6df70, 0xc000886e00})
/Volumes/home/mick/Documents/GoLang/Solar/GoSungrow/iSolarCloud/data.go:283 +0x325
github.com/MickMake/GoSungrow/iSolarCloud.(*SunGrowData).GetDataSingle(0xc000d15478, {0xc000618c20, 0xf})
/Volumes/home/mick/Documents/GoLang/Solar/GoSungrow/iSolarCloud/data.go:238 +0x14f
github.com/MickMake/GoSungrow/iSolarCloud.(*SunGrowData).GetData(0xc000d15478)
/Volumes/home/mick/Documents/GoLang/Solar/GoSungrow/iSolarCloud/data.go:209 +0x125
github.com/MickMake/GoSungrow/cmd.(*CmdMqtt).Cron(0xc0002f4000)
/Volumes/home/mick/Documents/GoLang/Solar/GoSungrow/cmd/cmd_mqtt.go:375 +0x2b7
github.com/MickMake/GoSungrow/cmd.(*CmdMqtt).CmdMqttRun(0xc0002f4000, 0x0?, {0x0?, 0x0?, 0x0?})
/Volumes/home/mick/Documents/GoLang/Solar/GoSungrow/cmd/cmd_mqtt.go:273 +0x85
github.com/spf13/cobra.(*Command).execute(0xc0002e5b00, {0xc00003e050, 0x0, 0x0})
/Volumes/home/mick/go/pkg/mod/github.com/spf13/[email protected]/command.go:940 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0xc000552300)
/Volumes/home/mick/go/pkg/mod/github.com/spf13/[email protected]/command.go:1068 +0x3bd
github.com/spf13/cobra.(*Command).Execute(…)
/Volumes/home/mick/go/pkg/mod/github.com/spf13/[email protected]/command.go:992
github.com/MickMake/GoUnify/Unify.(*Commands).Execute(…)
/Volumes/home/mick/Documents/GoLang/GoUnify/Unify/struct.go:277
github.com/MickMake/GoUnify/Unify.(*Unify).Execute(0xc0000b1540)
/Volumes/home/mick/Documents/GoLang/GoUnify/Unify/struct.go:216 +0x3bf
github.com/MickMake/GoSungrow/cmd.Execute(...)
/Volumes/home/mick/Documents/GoLang/Solar/GoSungrow/cmd/commands.go:94
main.main()
/Volumes/home/mick/Documents/GoLang/Solar/GoSungrow/main.go:11 +0x6f
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
Hi, can you help me about this:
15:18:57] INFO: Syncing data from gateway https://gateway.isolarcloud.eu …
2023/09/24 15:18:58 INFO: Connecting to MQTT HASSIO Service…
2023/09/24 15:18:58 INFO: Connecting to SunGrow…
2023/09/24 15:18:58 INFO: Found SunGrow 2 devices
Error: network Error : dial tcp: lookup core-mosquitto on 127.0.0.11:53: no such host
Usage:
GoSungrow mqtt run [flags]
Aliases:
run,
Examples:
GoSungrow mqtt run
Flags: Use “GoSungrow help flags” for more info.
Additional help topics:
ERROR: network Error : dial tcp: lookup core-mosquitto on 127.0.0.11:53: no such host
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
Buenas tengo este problema me podriais ayudar
2023/10/02 08:25:57 INFO: Caching Sungrow metadata...
2023/10/02 08:25:58 INFO: Cached 812 Sungrow data points...
PsId: required
JSON request: {"ps_id":5015029}
2023/10/02 08:25:58 ERROR: strconv.Atoi: parsing "56735_56736": invalid syntax
Error: strconv.Atoi: parsing "56735_56736": 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 "56735_56736": 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
When running GoSungrow ha lovelace
I get this error.
Any thoughts on how to sort it?
Can't find DeviceType 22 attached to ps_id XXXXXX
thanks for the updates, is there any timeframe on when we will have the direct connection to the inverter parameters? this will make things much easier instead of getting the data from sungrow cloud.
I also have this error, did you figure it out?
Okay, everything works quiet fine.
I have a bunch of cryptic entities.
Their names say absolute nothing to me.
How can I identify what is what?
Hi MickMake.
Really keen to show the iSolarCloud dashboard in HA and I’ve downloaded and started the Addon.
However, I’m not sure where you need to run the command
“./bin/GoSungrow config write --user=USERNAME --password=PASSWORD”.
When I run it on the HASSOS command line interface, it returns an error “No such file or directory”.
Have I missed something? Any advice?
Cheers, James.
Is there an idiot’s guide to mapping the right entities into the Home Assistant energy dashboard?
Is there a way to use the iSolarCloud app, look for matching values in Home Assistant and then identify the right entities to put for:
- Electricity grid - Grid consumption
- Electiricty grid - Return to grid
- Solar panels - Solar production
Apologies for my noobness at this!
FYI I have the SG Smart Meter in addition to the inverter.
Good evening, everyone.
Everything had been working fine for months without touching anything and today I woke up with this error:
[09:36:41] INFO: Login to iSolarCloud using gateway https://gateway.isolarcloud.eu ...
Error: appkey is incorrect 'er_invalid_appkey'
Usage:
GoSungrow api login [flags]
Can anyone tell me what could be wrong?
Thanks and best regards
I get this error from today morning:
Error handling request
11:46:22 AM – (ERROR) /usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py
Invalid option for select.gosungrow_option_mqtt_loglevel: ‘info’ (valid options: [‘Enabled’, ‘Disabled’])
11:43:05 AM – (ERROR) MQTT
Exception raised when updating state of sensor.gosungrow_getpslist_devices_5141965_valid_flag, topic: ‘homeassistant/sensor/GoSungrow/GoSungrow-getPsList-devices-5141965-valid_flag/state’ with payload: b’{“value”:“true”}’
11:43:05 AM – (ERROR) MQTT - message first occurred at 11:43:04 AM and shows up 28 times
When i try manually start GoSungrow addon it crash after 30 seconds.
Same here. All Fine for months and now this error