diy solar

diy solar

Sol-Ark, EG4 Communications Hub/LifePower4 - Solar Assistant configuration

Here's how the two Sol-Ark 12k inverters are displayed in Solar Assistant inverter view, obviously after dark with no incoming PV.

View attachment 168108

I've reached out to Signature Solar about the EG4 Comms Hub to double-check that it can read the older G4LL/GYLL batteries alongside the current EG4s. Per your suggestion, I did try using one of the RS485 USB cables to connect a battery to the SA, but I couldn't get it to work with Narada, Modbus or other protocols. I'm far from being an expert at networking...

You’ll want to update your firmware on your batteries if they’re not the latest.

Afterward, to connect SA you need to make sure your first battery is set to 2 according to the documentation, but in my experience that’s only if you’re connecting SA on the first battery.


In my case my first battery is actually 1, and that is where the HUB connects, then when the cable jumps to the second cabinet my top battery, #7 is where SA connects and reads all 12 batteries.

Besides a few batteries being a little older this should work. If not try removing the RS485 between one set of batteries and see if you can establish connection with a single battery, one that doesn’t use address 0 or 1
 
Last edited:
So using two USB to ethernet cables and a splitter I connect one cable to the spitter and the PI, this gives me all the details from the inverter, then I connect the other cable to my battery #7 in my second cabinet. In solar assistant, I tell it to use the following settings and it works.
Thanks so much for your tinkering and advice, MaikaiLifeDIY! I'm curious about the little cable that connects the splitter to the CANBus port in your Sol-Ark 15K. Did you make that cable using standard RJ45 plugs and ethernet cable? If so, what's you pin pattern? Or would any short ethernet cable work, pinwise?
 
This little guy?
1695081726400.png

I made that, it is a standard patch cable using the standard sequence on both ends.

1695081808454.png
I didn't want a long cable dangling in the Sol-Ark wire compartment so I decided to make a small mini chord to keep things tiddy.
 
Nice work. I'll assume that the cable flips over between one end and the other to achieve the same 1-8 pinout pattern. Seems to me the little 12-inch cables supplied by Signature Solar with each EG4 battery to daisy chain them would also work. RS485 is a higher voltage standard but safe to say that's not an issue over such short distances.

Signature told me today that the EG4 comms hub will not read my older G4LL batteries; I hope they are wrong.
 
Nice work. I'll assume that the cable flips over between one end and the other to achieve the same 1-8 pinout pattern. Seems to me the little 12-inch cables supplied by Signature Solar with each EG4 battery to daisy chain them would also work. RS485 is a higher voltage standard but safe to say that's not an issue over such short distances.

Signature told me today that the EG4 comms hub will not read my older G4LL batteries; I hope they are wrong.


The cable is straight through to avoid any pin out issues.

Have you had any success getting SA to speak with one battery?

Once you do, pushing that data over MQTT to HA allows for some beautiful dashboards.

Check out my mobile view that I’ve been polishing up since my initial post.
 

Attachments

  • Overview – Casa Dashboard.pdf
    880.9 KB · Views: 24
Solar Assistant sells an RS485 splitter similar to the one you've made (though they are out of stock), but they do NOT have the cable that goes from the splitter to the battery, suggesting the battery vendor should have this. (Signature Solar does NOT have this.) So this leaves me with a couple more questions:
  • What is that black cable running between the splitter and your No.7 battery? Where did you get it?
  • Are you saying you run one cable from the EG4 Comms Hub to your No.1 battery and another to your No.7 battery? What are those cables? And where did you get them? (Don't think you posted a picture of your EG4 Comms Hub and its connections.)
Best thanks!
 
Brother, you just made my day! A splitter and comms hub will arrive on the brown truck in coming days, and I'll let you know whether my results are as good as yours. The rub will be how/whether the comms hub processes data from the three older batteries, which are branded G4LL/Lifepower4. Signature Solar says the hub will not read them, but Solar Assistant had no problem reading a daisy chain of three of these back in my Magnum/Midnite system.

Thanks again! I hope others can benefit from this setup as well.

1695154409468.png
 
I wanted to share with the community how I was able to get Solar Assistant to read all my inverter data from my Sol-Ark 15K, AND also read all the individual battery data from my EG4 LifePower4 batteries so I get the best of both worlds, thorough data from "each" of my 12 batteries and all the details from my Sol-Ark while maintaining the PV Pro access also.

In my scenario, I have a Sol-Ark 15K and 12x EG4 LifePower4 batteries. In order to have closed-loop communication with the Sol-Ark and the LifewPower4 batteries, the EG4 Communications hub is required. The hub plugs into the batteries and then plugs into the Sol-Ark and makes them all appear as one giant battery to the Sol-Ark.

View attachment 161171
When connecting Solar Assistant to the inverter and using the Inverter data for the battery, all you get is one giant battery in Solar Assistant also. Having one giant battery isn't very helpful because then I can't track the individual characteristics of my batteries like, the state of charge of each battery, which batteries are supplying current, their temperatures, and their cycles.

So using two USB to ethernet cables and a splitter I connect one cable to the spitter and the PI, this gives me all the details from the inverter, then I connect the other cable to my battery #7 in my second cabinet. In solar assistant, I tell it to use the following settings and it works.

View attachment 161219

View attachment 161678

View attachment 161172
In solar assistant I can now see all my LifePower4 batteries, the Communications Hub sees all the batteries, the Sol-Ark sees one giant battery and PV Pro is still happy and working with the Wifi Dongle.
View attachment 161173

To summarize, what I have is options and both reporting tools Solar Assistant and PV Pro can run simulatneously, plus with Solar Assistnat I get all the added benefits of seeing all the batteries, reports, Home Assistant inegration etc and my system is fully functional with closed loop communication.

Happy to answer any questions, I couldn't find a solution for this on the forums so I figured I would post mine and how I did it.

Cheers and enjoy
I'm definitely going to set my system up the same way. By the way I just submitted my diagram for my system for approval by Sol-Ark for warranty purposes and the tech guy said "I did forget to say this in the previous email, for EG4 batteries we don't support the communication. I know they say they have communication with the inverter but we do not support it so it could fail just warning you about that. " When I got that reply I knew I needed a new solution to monitoring my system. I believe they are going to eventually have "true closed loop communication" but until then I definitely want the same solution you so graciously provided for us. Once question I have the EG4 LL V2 batteries so I would just go from the inverter to the Pi skipping the com hub you have... correct? It looks like you have USB hub attached to your Pi... or am I wrong? If you do I would love to know which one you use. Thanks for the answers in advance.
 
Last edited:
Hi @muaddib721

Forgive me but I think you may have misunderstood what Sol-Ark said. YES, EG4 is not on Sol-Ark's certified/approved/tested battery partners list, however, the RS485 communication used by the EG4 batteries and the Sol-Ark have been an industry standard for low-speed communication since the early 1980s. That said RS485 is a standard that any manufacturer can add to products with a need for this type of communication. However, the way the data within the standard is sent is using a protocol known as MODBUS which is used to read/write. The modbus layer is where manufacturers like EG4 are able to observe and transcribe what is needed to communicate with the Sol-Ark and add it to their product, with/without certification.

In other words, anyone can get their battery to work with Sol-Ark if they choose to, with or without Sol-Ark's official badge of compatibility/partnership.

So what does this mean, closed loop does work with Sol-Ark between the EG4_LL and with the LifePower4 batteries, HUB is required for LifePower4. Best of all the communication from EG4 products to the Sol-Ark behaves the same as the behavior of say KiloVault which is on the Sol-Ark partner list.

I have the EG4 LL V2 batteries so I would just go from the inverter to the Pi skipping the com hub you have.
You don't need the ComHub for closed-loop communication between the EG_LL V2 batteries and the Sol-Ark. Closed loop works natively between these two device types with the correct configuration, see page 18.

It looks like you have USB hub attached to your Pi... or am I wrong?
I don't have a hub, I have two cables, one that connects to the Sol-Ark and one that connects to the battery bank.

See if you can get your batteries talking to the Sol-Ark "closed-loop" following those instructions and then let me know how it goes. (y)
 
Last edited:
Hi @muaddib721

Forgive me but I think you may have misunderstood what Sol-Ark said. YES, EG4 is not on Sol-Ark's certified/approved/tested battery partners list, however, the RS485 communication used by the EG4 batteries and the Sol-Ark have been an industry standard for low-speed communication since the early 1980s. That said RS485 is a standard that any manufacturer can add to products with a need for this type of communication. However, the way the data within the standard is sent is using a protocol known as MODBUS which is used to read/write. The modbus layer is where manufacturers like EG4 are able to observe and transcribe what is needed to communicate with the Sol-Ark and add it to their product, with/without certification.

In other words, anyone can get their battery to work with Sol-Ark if they choose to, with or without Sol-Ark's official badge of compatibility/partnership.

So what does this mean, closed loop does work with Sol-Ark between the EG4_LL and with the LifePower4 batteries, HUB is required for LifePower4. Best of all the communication from EG4 products to the Sol-Ark behaves the same as the behavior of say KiloVault which is on the Sol-Ark partner list.


You don't need the ComHub for closed-loop communication between the EG_LL V2 batteries and the Sol-Ark. Closed loop works natively between these two device types with the correct configuration, see page 18.


I don't have a hub, I have two cables, one that connects to the Sol-Ark and one that connects to the battery bank.

See if you can get your batteries talking to the Sol-Ark "closed-loop" following those instructions and then let me know how it goes. (y)
I do have them talking to each other... but as I've noticed on many post PV Pro and the Sol-Ark basically see my three LL batteries I currently have connected as one bit battery. I already ordered the Solar Assistant orange Pi already loaded and will set things when it gets here so I can see more information about my batteries. On your reply about the USB connections... in the video it looks like you have 4 USB ports. On the PI you have one USB connected to the Sol-Ark Battery com via a splitter, another USB from PI to Battery rack, and another USB from the Pi to the Victron Smart Shunt. It also looks like you still have one USB available. Reason I'm asking is I will need at least 3 maybe 4 USB's on the PI. I will want the first obvious two, 15k to PI, Pi to first battery rack, Pi to Power Pro batteries when they arrive, and Pi to Smart Shunt.
 

Attachments

  • usb pic of PI.png
    usb pic of PI.png
    991.6 KB · Views: 13
  • pv pro battery info.png
    pv pro battery info.png
    170.7 KB · Views: 13
I do have them talking to each other... but as I've noticed on many post PV Pro and the Sol-Ark basically see my three LL batteries I currently have connected as one bit battery. I already ordered the Solar Assistant orange Pi already loaded and will set things when it gets here so I can see more information about my batteries. On your reply about the USB connections... in the video it looks like you have 4 USB ports. On the PI you have one USB connected to the Sol-Ark Battery com via a splitter, another USB from PI to Battery rack, and another USB from the Pi to the Victron Smart Shunt. It also looks like you still have one USB available. Reason I'm asking is I will need at least 3 maybe 4 USB's on the PI. I will want the first obvious two, 15k to PI, Pi to first battery rack, Pi to Power Pro batteries when they arrive, and Pi to Smart Shunt.

A couple points of clarification for consideration.

  1. Solar Assistant (SA) can only communicate with one source at a time for battery information. If I want to view the data from the Victron shunt, I have to stop the connection in SA, and switch the USB input selection to the port the Victron is connected to. Afterward, if I want to flip back to direct communication with the EG4 batteries, I have to repeat the same steps forgoing active communication with the Victron. Basically, it's one or the other, multiple simultaneous battery measurement sources cannot be monitored at the same time (maybe SA will add this in the future, but I have no awareness of whether it could be included in their upcoming development plans).

  2. If you want to see the individual battery data in SA, you can only do this by directly getting the data from each battery. SA cannot parse the aggregate battery data communicated to either the ComHub or the Inverter into individual battery data.
The reason I have the shunt is for validation, if I ever feel like the data from the batteries could be wrong, the shunt is my single source of truth that accurately measures the entire volume of energy in or out of the batteries. I keep it connected to SA so that in a remote situation I can toggle settings in HA and view it remotely, otherwise, if I'm onsite, I use the Victron app with Bluetooth to look at the shunt. Yes, I could purchase a CerboGX and make the shunt data always local and remotely accessible, but I don't need the data bad enough to justify purchasing another $300+ dollar device for this purpose.

If you decide it's a must-have to simultaneously see the individual battery data from all your different types of batteries, "assuming they're supported by SA", then you'll need multiple Pis with SA for each battery type/protocol. If you went down this road, you would have to toggle back and forth between different SA instances. The only way to combine that data into a single location would then be to feed that data from your multiple SA instances using MQTT to Home Assistant and build a dashboard.

Hopefully, that helps, if you want to soundboard your ideas or share your plans I'm always willing to find a quick time for a phone call, private message me if interested.

Cheers!
 
I wanted to share with the community how I was able to get Solar Assistant to read all my inverter data from my Sol-Ark 15K, AND also read all the individual battery data from my EG4 LifePower4 batteries so I get the best of both worlds, thorough data from "each" of my 12 batteries and all the details from my Sol-Ark while maintaining the PV Pro access also.

In my scenario, I have a Sol-Ark 15K and 12x EG4 LifePower4 batteries. In order to have closed-loop communication with the Sol-Ark and the LifewPower4 batteries, the EG4 Communications hub is required. The hub plugs into the batteries and then plugs into the Sol-Ark and makes them all appear as one giant battery to the Sol-Ark.

View attachment 161171
When connecting Solar Assistant to the inverter and using the Inverter data for the battery, all you get is one giant battery in Solar Assistant also. Having one giant battery isn't very helpful because then I can't track the individual characteristics of my batteries like, the state of charge of each battery, which batteries are supplying current, their temperatures, and their cycles.

So using two USB to ethernet cables and a splitter I connect one cable to the spitter and the PI, this gives me all the details from the inverter, then I connect the other cable to my battery #7 in my second cabinet. In solar assistant, I tell it to use the following settings and it works.

View attachment 161219

View attachment 161678

View attachment 161172
In solar assistant I can now see all my LifePower4 batteries, the Communications Hub sees all the batteries, the Sol-Ark sees one giant battery and PV Pro is still happy and working with the Wifi Dongle.
View attachment 161173

To summarize, what I have is options and both reporting tools Solar Assistant and PV Pro can run simulatneously, plus with Solar Assistnat I get all the added benefits of seeing all the batteries, reports, Home Assistant inegration etc and my system is fully functional with closed loop communication.

Happy to answer any questions, I couldn't find a solution for this on the forums so I figured I would post mine and how I did it.

Cheers and enjoy!
I don't understand.

"So using two USB to ethernet cables and a splitter I connect one cable to the spitter and the PI, this gives me all the details from the inverter, then I connect the other cable to my battery #7 in my second cabinet. In solar assistant, I tell it to use the following settings and it works."

You're using a splitter and have a cable plugged into the splitter to the raspberry pi. But then you connect an Ethernet to USB adapter to your battery #7? Ethernet going to battery #7 and then USB end going to the solar assistant pi? Why do you even need the splitter to begin with if you're just connecting 1 cable to the inverter and the other cable to the battery?
 
A couple points of clarification for consideration.

  1. Solar Assistant (SA) can only communicate with one source at a time for battery information. If I want to view the data from the Victron shunt, I have to stop the connection in SA, and switch the USB input selection to the port the Victron is connected to. Afterward, if I want to flip back to direct communication with the EG4 batteries, I have to repeat the same steps forgoing active communication with the Victron. Basically, it's one or the other, multiple simultaneous battery measurement sources cannot be monitored at the same time (maybe SA will add this in the future, but I have no awareness of whether it could be included in their upcoming development plans).

  2. If you want to see the individual battery data in SA, you can only do this by directly getting the data from each battery. SA cannot parse the aggregate battery data communicated to either the ComHub or the Inverter into individual battery data.
The reason I have the shunt is for validation, if I ever feel like the data from the batteries could be wrong, the shunt is my single source of truth that accurately measures the entire volume of energy in or out of the batteries. I keep it connected to SA so that in a remote situation I can toggle settings in HA and view it remotely, otherwise, if I'm onsite, I use the Victron app with Bluetooth to look at the shunt. Yes, I could purchase a CerboGX and make the shunt data always local and remotely accessible, but I don't need the data bad enough to justify purchasing another $300+ dollar device for this purpose.

If you decide it's a must-have to simultaneously see the individual battery data from all your different types of batteries, "assuming they're supported by SA", then you'll need multiple Pis with SA for each battery type/protocol. If you went down this road, you would have to toggle back and forth between different SA instances. The only way to combine that data into a single location would then be to feed that data from your multiple SA instances using MQTT to Home Assistant and build a dashboard.

Hopefully, that helps, if you want to soundboard your ideas or share your plans I'm always willing to find a quick time for a phone call, private message me if interested.

Cheers!
Definitely appreciate the offer for a quick phone conversation... I may take you up on that but I think I'm almost there. I understand that I would have to disconnect and re-connect to each USB connected source of information in the software, not a problem, I'm a nerd from way back. And I also plan to use the smart shunt for the same reasons you are.... You video states that you can see all twelve batteries when you connect the PI to battery 7.... how do they show up in SA? As 12 packs with totals for each pack? That's my understanding from other videos I've seen on SA. If that is true then I'm good. That's all I'm hoping for. And thank you for your time and consideration. Time is the most precious commodity in life. I have attached diagram of my battery setup minus what I'm planning to add with PI & SA. Any advice is appreciated. Also, Sol-Ark has approved my diagram.
 

Attachments

  • Screen Shot 2023-09-27 at 12.06.18 PM.png
    Screen Shot 2023-09-27 at 12.06.18 PM.png
    397.8 KB · Views: 26
I don't understand.

"So using two USB to ethernet cables and a splitter I connect one cable to the spitter and the PI, this gives me all the details from the inverter, then I connect the other cable to my battery #7 in my second cabinet. In solar assistant, I tell it to use the following settings and it works."

You're using a splitter and have a cable plugged into the splitter to the raspberry pi. But then you connect an Ethernet to USB adapter to your battery #7? Ethernet going to battery #7 and then USB end going to the solar assistant pi? Why do you even need the splitter to begin with if you're just connecting 1 cable to the inverter and the other cable to the battery?

The splitter at the Sol-Ark is used so the EG4 CommHub can send aggregate battery information to the Sol-Ark (Closed Loop) and the other side of the splitter is used for Solar Assistant to pull/push settings/readings to and from the Sol-Ark.
 
You video states that you can see all twelve batteries when you connect the PI to battery 7.... how do they show up in SA? As 12 packs with totals for each pack? That's my understanding from other videos I've seen on SA. If that is true then I'm good. That's all I'm hoping for. And thank you for your time and consideration. Time is the most precious commodity in life. I have attached diagram of my battery setup minus what I'm planning to add with PI & SA. Any advice is appreciated. Also, Sol-Ark has approved my diagram.

Each battery is displayed with it's individual data, and Solar Assistant also does an aggregate calculation shown at the top of the page in the green box.

For some reason my scrolling capture is missing the middle part of the image, but you get the point, in my live page there are all 12 batteries listed.

1695834994904.png
 
The splitter at the Sol-Ark is used so the EG4 CommHub can send aggregate battery information to the Sol-Ark (Closed Loop) and the other side of the splitter is used for Solar Assistant to pull/push settings/readings to and from the Sol-Ark.
Yeah I understand what you mean. I don't understand the post I quoted though from you. You didn't say you had the EG4 hub connected to the inverter, you said you had the cable connected to battery #7, didn't mention the hub at all. So you have the other Ethernet in the splitter connected directly to the battery, or the hub? And then the other port of the splitter connected to solar assistant?

I also have the sol-ark inverter and EG4 batteries, solar assistant and a splitter. I have my solar assistant connected to one port and my EG4 hub in other port of the splitter. I can only see my batteries as one big battery. How are you seeing individual battery stats in solar assistant?
 
Definitely appreciate the offer for a quick phone conversation... I may take you up on that but I think I'm almost there. I understand that I would have to disconnect and re-connect to each USB connected source of information in the software, not a problem, I'm a nerd from way back. And I also plan to use the smart shunt for the same reasons you are.... You video states that you can see all twelve batteries when you connect the PI to battery 7.... how do they show up in SA? As 12 packs with totals for each pack? That's my understanding from other videos I've seen on SA. If that is true then I'm good. That's all I'm hoping for. And thank you for your time and consideration. Time is the most precious commodity in life. I have attached diagram of my battery setup minus what I'm planning to add with PI & SA. Any advice is appreciated. Also, Sol-Ark has approved my diagram.
It looks like a relatively complex system. It looks like your 200 amp Nadar breakers are really being used as disconnect switches so you don't have both sets of batteries connected at the same time. Only comment might be that it's my understanding the Sol-Ark 15K (each) unit can pull/push 275 amps maximum. With a 200amp T-fuse you could blow that pretty easily should both inverters kick in and pull more than 200 amps.

In my opinion, I always use the biggest cable available, you have a bunch of 2/0 cable, and I would actually prefer for my taste 4/0.

This is the cable I use, pretty cheap and super heavy/flexible.
 
Yeah I understand what you mean. I don't understand the post I quoted though from you. You didn't say you had the EG4 hub connected to the inverter, you said you had the cable connected to battery #7, didn't mention the hub at all. So you have the other Ethernet in the splitter connected directly to the battery, or the hub? And then the other port of the splitter connected to solar assistant?

I also have the sol-ark inverter and EG4 batteries, solar assistant and a splitter. I have my solar assistant connected to one port and my EG4 hub in other port of the splitter. I can only see my batteries as one big battery. How are you seeing individual battery stats in solar assistant?

This might help to make it easier to understand where everything is connected.

1695856538880.png
 
Last edited:
This might help to make it easier to understand where everything is connected.

View attachment 169700
Ohhhh okay thanks!! Appreciate that. Having solar assistant plugged direct into the battery let's you see them all individual? That's pretty neat. I'll be changing the way my system is set up right away. What dip switch setting do you have on battery #7?
 
Ohhhh okay thanks!! Appreciate that. Having solar assistant plugged direct into the battery let's you see them all individual? That's pretty neat. I'll be changing the way my system is set up right away. What dip switch setting do you have on battery #7?

Batteries are 1-12 so battery 7 is using the dip switch settings (number 7) on page 9 of the LifePower4 48v battery manual.
 
It looks like a relatively complex system. It looks like your 200 amp Nadar breakers are really being used as disconnect switches so you don't have both sets of batteries connected at the same time. Only comment might be that it's my understanding the Sol-Ark 15K (each) unit can pull/push 275 amps maximum. With a 200amp T-fuse you could blow that pretty easily should both inverters kick in and pull more than 200 amps.

In my opinion, I always use the biggest cable available, you have a bunch of 2/0 cable, and I would actually prefer for my taste 4/0.

This is the cable I use, pretty cheap and super heavy/flexible.
My loads in my house will never reach 200amps even in a surge. I notices you posted a pic of you SA with battery info... didn't see the pack info like I've seen on SA videos see image. Heres a link to the video I got that screen shot from.
 

Attachments

  • Screen Shot 2023-09-27 at 2.14.23 PM.png
    Screen Shot 2023-09-27 at 2.14.23 PM.png
    276.9 KB · Views: 5
My loads in my house will never reach 200amps even in a surge. I notices you posted a pic of you SA with battery info... didn't see the pack info like I've seen on SA videos see image. Heres a link to the video I got that screen shot from.
What pack info are you expecting to see? This is all the information available to SA, at least with EG4 batteries.

1695842617987.png
 
My loads in my house will never reach 200amps even in a surge. I notices you posted a pic of you SA with battery info... didn't see the pack info like I've seen on SA videos see image. Heres a link to the video I got that screen shot from.
Here's an interesting video with a way to see individual batteries without multi pi's
 

diy solar

diy solar
Back
Top