Sol-Ark - Inverter Monitoring

mano

New Member
Joined
Nov 3, 2021
Messages
3
If your inverter is reading your battery via the RS485 then yes a splitter won't work for you. Even if the inverter is just set to read from RS485 and you connect SolarAssistant to the port it can't read from it. That leaves you with only one monitoring port, the WiFi/RS232 port. Some of the other Sol-Ark models has multiple RS485 ports.
The Sol-Ark-12L-P model does have additional ports, one specifically mentioned "Modbus". However, the manual does mention it being not active or cannot be used for battery. I guess it is worth a try, which I will consider some time.
 

robby

Solar Addict
Joined
May 1, 2021
Messages
762
Mine has Canbus and Modbus. The batteries are connected to the Canbus,
Since the Modbus port is RS-485 I would imagine it would work with Solar-Assistant but no one has said if that is true.
Everyone seems to be giving up one thing to get another.
 

mano

New Member
Joined
Nov 3, 2021
Messages
3
As shown in the image, there are (4) RJ45 ports on the Sol-Ark-12K-P (Outdoor) model. Left most two ports marked "Parallel" are for hooking up several units in parallel, and the manual explains it with connection diagrams. The one on the right most is the battery comm port. The only one not discussed in the manual is the Modbus port "MODBUS RS-485" in the middle. There is a brief mention that the port is not implemented.... I feel there may be hope and only way to find is to poll it to get serial number etc. There is yet another mention of obtaining Modbus map that can be acquired by asking Sol-ark, and perhaps is the manual attached by OP in the beginning of this thread... or not, idk (second attachment).
 

Attachments

  • IMG_3266.jpg
    IMG_3266.jpg
    801.6 KB · Views: 16
  • Screen Shot 2021-11-08 at 9.19.26 PM.png
    Screen Shot 2021-11-08 at 9.19.26 PM.png
    188.2 KB · Views: 16

robby

Solar Addict
Joined
May 1, 2021
Messages
762
As shown in the image, there are (4) RJ45 ports on the Sol-Ark-12K-P (Outdoor) model. Left most two ports marked "Parallel" are for hooking up several units in parallel, and the manual explains it with connection diagrams. The one on the right most is the battery comm port. The only one not discussed in the manual is the Modbus port "MODBUS RS-485" in the middle. There is a brief mention that the port is not implemented.... I feel there may be hope and only way to find is to poll it to get serial number etc. There is yet another mention of obtaining Modbus map that can be acquired by asking Sol-ark, and perhaps is the manual attached by OP in the beginning of this thread... or not, idk (second attachment).
We have the same unit. I think the Modbus is active but I have no idea how it interacts with the RS232 and Canbus.
I say that because the creator of solar assistant mentioned something about the Canbus needing to be set to "0" because closed loop could not work with Solar Assistant connected.
 

solardad

Solar Addict
Joined
Apr 13, 2020
Messages
304
As shown in the image, there are (4) RJ45 ports on the Sol-Ark-12K-P (Outdoor) model. Left most two ports marked "Parallel" are for hooking up several units in parallel, and the manual explains it with connection diagrams. The one on the right most is the battery comm port. The only one not discussed in the manual is the Modbus port "MODBUS RS-485" in the middle. There is a brief mention that the port is not implemented.... I feel there may be hope and only way to find is to poll it to get serial number etc. There is yet another mention of obtaining Modbus map that can be acquired by asking Sol-ark, and perhaps is the manual attached by OP in the beginning of this thread... or not, idk (second attachment).
@mano see 1st post for attachments, modbus details from Sol-Ark are there.
 

44R0N

New Member
Joined
Jul 15, 2021
Messages
3
Special thanks to Solardad for beginning this topic and offthehook for paving the way with the pymodbus code. I had enough time over the holidays to begin my own monitoring project and I'm sharing what I have so it can be added to this body of knowledge for the next solar addict.

I wrote a Python script to collect the memory registers and dump them into a MySQL database. I hope to continue by build a dashboard (Grafana?) or integrate it into Home Assistant in the future.

My code is up on GitHub: https://github.com/aaronmelton/solark_monitor
 

bixelps

New Member
Joined
Jan 12, 2021
Messages
16
Special thanks to Solardad for beginning this topic and offthehook for paving the way with the pymodbus code. I had enough time over the holidays to begin my own monitoring project and I'm sharing what I have so it can be added to this body of knowledge for the next solar addict.

I wrote a Python script to collect the memory registers and dump them into a MySQL database. I hope to continue by build a dashboard (Grafana?) or integrate it into Home Assistant in the future.

My code is up on GitHub: https://github.com/aaronmelton/solark_monitor
Home Assistant integration already available here:
https://github.com/pbix/HA-solark-PV
 

robby

Solar Addict
Joined
May 1, 2021
Messages
762
The Canbus/RS485 port on the solark has Pins 123 and 678 as RS485 ports. Are these two seperate ports or just one port using mirrored pins? I also thought its possible they are set to the same address. I aks because I am wondering if somone has gotten data from the port while setting the BMS battery mode on the Sol-Ark to something other than 00?
 

44R0N

New Member
Joined
Jul 15, 2021
Messages
3
Home Assistant integration already available here:
https://github.com/pbix/HA-solark-PV
Thanks for the heads-up.

I decided to go the route of storing the data in an independent database in part because I'm a control freak and also because I'm assuming, at least, that it'd make it "easier" to use that data elsewhere for other purposes rather than have it locked up somewhere like in Home Assistant, or Solar Assistant, or what have you.
 

bixelps

New Member
Joined
Jan 12, 2021
Messages
16
Thanks for the heads-up.

I decided to go the route of storing the data in an independent database in part because I'm a control freak and also because I'm assuming, at least, that it'd make it "easier" to use that data elsewhere for other purposes rather than have it locked up somewhere like in Home Assistant, or Solar Assistant, or what have you.

I hear you regarding the control freak part. It sounds like me. This is why I too was drawn to Home Assistant.

The SolArk integration does not involve any data flow outside of your local network. It uses the configured Home Assistant database. In my case I use the default SQL database that resides on my Raspberry Pi as well as an Influx database on a local NAS. You can disconnect your Dongle so that none of your data goes to SolArk's server and just view your data in Home Assistant. You do NOT need any internet to use this integration.
 

44R0N

New Member
Joined
Jul 15, 2021
Messages
3
I hear you regarding the control freak part. It sounds like me. This is why I too was drawn to Home Assistant.

The SolArk integration does not involve any data flow outside of your local network. It uses the configured Home Assistant database. In my case I use the default SQL database that resides on my Raspberry Pi as well as an Influx database on a local NAS. You can disconnect your Dongle so that none of your data goes to SolArk's server and just view your data in Home Assistant. You do NOT need any internet to use this integration.
I owe you another thanks.

I'm new to Modbus as a protocol so once I discovered (from reading through the HA Repo you linked) that you could operate it over TCP I've gone that route and updated my code.

I'll take some time to integrate it into HA and see if I can just short-cut myself the effort of building a Grafana dashboard. Still messing with it...
 
Top