Sungrow Winet-S addon for newer inverters

I have been using this addon for a month and it has been fantastic - until a remote firmware update of the Winet-S2 from WINET-SV300.001.03.P006 to WINET-SV300.001.03.P012 killed the connection. Now I only get a similar “Unhandled ‘error’ event” socket hang up.

Tried to roll back to the previous firmware but the app won’t allow a downgrade.

Node.js v20.15.1
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
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started

> cli
> node build/src/index.js

2024-09-04 07:40:04 info: Connected to MQTT broker 
node:events:497
      throw er; // Unhandled 'error' event
      ^

Error: socket hang up
    at Socket.socketOnEnd (node:_http_client:524:23)
    at Socket.emit (node:events:531:35)
    at endReadableNT (node:internal/streams/readable:1696:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ClientRequest instance at:
    at Socket.socketOnEnd (node:_http_client:524:9)
    at Socket.emit (node:events:531:35)
    at endReadableNT (node:internal/streams/readable:1696:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'ECONNRESET'
}

Node.js v20.15.1
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 Nick S

I recently discovered this addon. Login was successful, all the parameters of the inverter are visible, but the parameters of the smart meter are not visible. Is it possible to change the configuration to see the smartmeter parameters? Inverter SG15RT, smartmeter parameters are visible through iSolarCloud.

thanks

Hi Nick,

Thanks so much for this great addon.

I’m new to HA and networking more generally so apologies for the very basic questions.

I’m having some issues setting the MQTT URL. I originally assumed it was the iSolarCloud login credentials but this doesn’t seem to be the case. Can you point me to where to find the Winet username and password? I don’t recall ever setting them.

Thanks

Matt