Getting Data from Solis Inverter

Thank you, @0rangutan. I’ll check that link out, and probably circle back to you with a question or two. :slight_smile:

1 Like

Well, this took much longer than I expected. My local solar installer went off on holiday, and when he returned, we found a lot of issues with what I thought was a settled plan. :slight_smile:

I’ve been going through alienatedsec’s notes more carefully. Here’s what I’m unclear on:

  1. (critical) What cable is connecting the inverter to the datalogger? The two waveshare devices are clearly connected to the inverter and datalogger via twisted pair cables pinned into the exceedcon adapters. Is it also twistedpair but just not labeled as such? Is it electrical wire? Is there a standard cable for this, and if so, what am I shopping for? (I’m specifically referencing the +/- 5V Pin 1 & 2 connection in the below diagram)

  2. I assume these cables are being soldered to the exceedcon connectors. Is that correct?

  1. (trivial, but I’m curious) I see the male socket for the datalogger is clearly adfixed to the electrical box in alienatedsec’s 12way box. However, in your photo, @0rangutan, it looks like you just have a cable running to your datalogger. Do you mind sharing how you adfixed it?

Thanks!

  1. Twisted pairs (from a network cable) are fine for this
  2. Yes
  3. My data logger isn’t fixed to anything, it just sits in the box wedged in place by the Waveshares

Excellent. Thank you! Started my assembly today. :slight_smile: Thank you again for all the help and for documenting your experience for the folks who come after!

Happy to help!
Let me know if you run into any issues.

1 Like

Hello,

I’m desperately trying to connect my Solis inverter to the S2-WL-ST and control it via Modbus. I would like to turn the Solis on and off remotely.

I managed to connect to port 502 once and also saw any registers in Modbus Poll (as described here by Solis), but since then communication with the inverter has failed.

I see the web interface but no one responds on the 502. Do I still have to release the port somewhere in the stick?

image

Are you still using Solis Cloud too?
Your S2-WL-ST can only connect to one service at a time - Home Assistant or Solis Cloud.
If you want to continue to use both HA and Solis Cloud simultaneously then you need to look at something like this: GitHub - alienatedsec/solis-ha-modbus-cloud: This repo is a workaround for Solis inverters to connect Solis Cloud and the local Home Assistant regardless of the model of your Solis datalogger

2 Likes

Thank you!

System finally got installed this week after several delays. I’m running headlong into every rookie soldering mistake in the book, including my not so steady hands. :slight_smile:

I’m using a length of CAT7 I had laying around between my exceedcon connectors and have been struggling to get good clean signal through. Up to this point, I’ve been using two twisted pairs for the four pins, but would there be any downside to using a pair per pin?

Like so:

Pin What I’m doing Proposed Change
1 Green Green & Green/White
2 Green/White Orange & Orange/White
3 Orange Blue & Blue/White
4 Orange/White Brown & Brown/White

Got it all working today! :grin:

The big issue was my soldering, though I did need to go carefully back through @alienatedsec’s configuration of the waveshare devices. I thought I’d set them all to spec weeks ago, but I found a few issues that were preventing a connection.

Specifically, I wasn’t using port 502 (though I was specifying my proper port number) and the I’d somehow managed to swap the “Transfer Protocol” to something other than Modbus_TCP. On the client end, the port was automatically updating to 502 and I needed to manually set it to 0 and the Modbus Gateway Type needed to be updated a second time.

2 Likes

Deleted - incorrectly posted

Hi,

I only want one connection. But how can i choose if the stick uses the cloud? How can I only use the modbus?

It shares the same service port for cloud and local communication. Therefore, once local modbus is in operation, the S2-WL-ST datalogger will stop reporting to cloud.