Dala's Battery-Emulator


ALL NEW - Battery Finder Search for 12/24/36/48v or by capacity www.batteryfinder.net
New & used Batteries, Solar, accessories, LifePo4 cells & more 5% Coupon "Powerwalls" www.batteryhookup.com
Dala, I love your contribution/project! I looked through your links and videos, especially the tested hybrid inverters. I couldn't find any North American / Japan AC Hybrid inverters. Everything seemed to be 220v (European?) Any suggestions for 100v (Japanese) 110v-120v (North American) Hybrid Inverters. (Just saw you may have answered this in your reply to lagmoner )

Has anyone got this working for 100v - 120v ouput?
I checked on my Discord, there are many US users there. Here are some US options available that do split phase. Solis S6 11.4k US, Fronius Gen24 (US version), Deye (You can get the US model split phase ones from China - they are not sold to the US but to latin america mainly where they also use 120/240 split phase). etc. Basically lots of options! But you have to do research on a suitable and approved inverter for your grid operator.
 
I checked on my Discord, there are many US users there. Here are some US options available that do split phase. Solis S6 11.4k US, Fronius Gen24 (US version), Deye (You can get the US model split phase ones from China - they are not sold to the US but to latin america mainly where they also use 120/240 split phase). etc. Basically lots of options! But you have to do research on a suitable and approved inverter for your grid operator.
Thanks for responding! : ) I had only checked the inverters/links you listed on github and only found the 220v versions. I'll look into the the ones you listed. (Thanks again!) Apologies if the info was obviously out there. : )
 
Last edited:
New week, new version! v7.6.0 adds support for Renault Twizy (48V!), Cellpower BMS, and Afore inverters. Plus a whole lot of bugfixes. Checkout the release notes below! 🥳

 
Dala, thank you for your contribution.

I currently have an Atto 3 battery and am looking to implement a 10kW Sungrow single phase inverter. I noticed you had No BYD support for the Sungrow AU inverter (I am based in Australia). I just wanted to confirm, before making the purchase, that I can still use the Atto 3 battery but I need to emulate the SUNGROW_CAN instead? Excuse my ignorance, although I have electrical/electronics experience, I am not familiar with this combination, hence the question.

Happy to report back my experience with this combination, I just want to ensure that the battery and inverter can communicate together.

Thank you once again!
 
Dala, thank you for your contribution.

I currently have an Atto 3 battery and am looking to implement a 10kW Sungrow single phase inverter. I noticed you had No BYD support for the Sungrow AU inverter (I am based in Australia). I just wanted to confirm, before making the purchase, that I can still use the Atto 3 battery but I need to emulate the SUNGROW_CAN instead? Excuse my ignorance, although I have electrical/electronics experience, I am not familiar with this combination, hence the question.

Happy to report back my experience with this combination, I just want to ensure that the battery and inverter can communicate together.

Thank you once again!
Go to the pull request for Sungrow SBR support on github. It's been coded but not tested. Message me if you want as I'm headed down a similar path.
 
Currently trying to troubleshoot communication between the SH10RS inverter and the Atto 3 battery. What I have tried:

1st try
- Start up Sungrow inverter on PV and then activate battery as below
- Connected single Lilygo with SUNGROW_CAN and BYD_ATTO 3_BATTERY selected on code.
- Upon activating the ATTO 3- 12V pins (inc wake up) and starting Lilygo, the contactor closes which is a good start.
- After sometime the Lilygo just goes RED but keeps ATTO 3 contactor closed (420VDC on output).

I have checked termination resistance and I am around 64 ohms which is about right (after removing onboard resistor)

- Tried BYD_CAN instead of the SUNGROW_CAN to see if anything would happen. The Sungrow inverter had a E 714 error which was a BMS communication error. This led me to believe that the SUNGROW_CAN is doing something right at least!

2nd try
- Used two Lilygo's with RS terminals interconnected. One Lilygo with SUNGROW_CAN and setup as receiver and the other Lilygo setup as Transmitter with BYD_ATTO_3 BATTERY code. This seems to keep the battery Lily go (transmitter) with green light active but the Inverter lilygo (receiver) maintains RED but makes some attempts by pulsing green initially but eventually just ends with RED.

I have set the inverter to the appropriate settings (Microgrid)/ Off Grid and made appropriate battery parameter settings (kWh size etc).

I am a little stumped with what to try next. Would be happy to get some feedback from the more experienced people?

Thank you!
 
Currently trying to troubleshoot communication between the SH10RS inverter and the Atto 3 battery. What I have tried:

1st try
- Start up Sungrow inverter on PV and then activate battery as below
- Connected single Lilygo with SUNGROW_CAN and BYD_ATTO 3_BATTERY selected on code.
- Upon activating the ATTO 3- 12V pins (inc wake up) and starting Lilygo, the contactor closes which is a good start.
- After sometime the Lilygo just goes RED but keeps ATTO 3 contactor closed (420VDC on output).

I have checked termination resistance and I am around 64 ohms which is about right (after removing onboard resistor)

- Tried BYD_CAN instead of the SUNGROW_CAN to see if anything would happen. The Sungrow inverter had a E 714 error which was a BMS communication error. This led me to believe that the SUNGROW_CAN is doing something right at least!

2nd try
- Used two Lilygo's with RS terminals interconnected. One Lilygo with SUNGROW_CAN and setup as receiver and the other Lilygo setup as Transmitter with BYD_ATTO_3 BATTERY code. This seems to keep the battery Lily go (transmitter) with green light active but the Inverter lilygo (receiver) maintains RED but makes some attempts by pulsing green initially but eventually just ends with RED.

I have set the inverter to the appropriate settings (Microgrid)/ Off Grid and made appropriate battery parameter settings (kWh size etc).

I am a little stumped with what to try next. Would be happy to get some feedback from the more experienced people?

Thank you!

Perhaps try #define TEST_FAKE_BATTERY and see what the inverter thinks of that

SH10RS does not support BYD batteries so doubt that is worth trying.
 
Last edited:
Version 7.7.0 has just been released! Added support for tons of new batteries, BMW iX and i4-7 platform , Zoe PH2 50kWh and Range Rover PHEV packs! + tons more, release notes below!

 
Dala, thank you for your contribution.

I currently have an Atto 3 battery and am looking to implement a 10kW Sungrow single phase inverter. I noticed you had No BYD support for the Sungrow AU inverter (I am based in Australia). I just wanted to confirm, before making the purchase, that I can still use the Atto 3 battery but I need to emulate the SUNGROW_CAN instead? Excuse my ignorance, although I have electrical/electronics experience, I am not familiar with this combination, hence the question.

Happy to report back my experience with this combination, I just want to ensure that the battery and inverter can communicate together.

Thank you once again!
Also in Australia and looking to use a Sungrow SH15T, SH20T or SH25T with an Atto 3 battery. very interested to follow along.
not sure what the difference is between the RS and the T versions
 
Last edited:
Great news all, version 7.8.0 has just been released! Most notable thing about this release is that it adds 3x new inverter protocols ( Schneider CAN / Kostal RS485 / SMA Low Voltage )

You can read more about the release below!
 
Breaking news! Well I am happy to announce that tonight the first Volkswagen MEB battery was turned ON outside of a vehicle! 🥳 Since the MEB platform is so ubiquitous, this opens up a very affordable path for those interested in building a large DIY powerwall. There is one catch however, the MEB battery relies on an external precharge circuit, so to get the battery to turn on you have to match the high voltage that is inside of the battery before it will enable itself and close the contactors. Nothing a lab PSU cant handle :)

1733088489211.png

Target for this feature is Battery-Emulator v7.9.0 !
 
Hi,

This is my first post in this forum. What a great resource of knowledge.

First, thank you Dala so much for your efforts to enable easy integration of EV packs for home storage! Amazing work!

I want to find a way to use Solax X3 Hybrid G4 with a 800V (max) battery. The inverter is specified to support battery voltages up to 800V. However, what I have understood from the wiki is that the battery "kinds" for the Solax CAN bus protocol have only been identified for battery types up to ~400V. Is there currently any solution to use higher voltage batteries with the Solax Gen4 inverters?

Best regards
 
Very busy weekend! We tagged two software releases, to combat some nasty PWM bugs that were lingering in the source code.


 
Hi @sirhugo ,
Yes it will work, you simply need to change the module amount in the Solax settings (NUMBER_OF_MODULES and BATTERY_TYPE)

This is explained in the wiki, we are still discovering by trial and error what the settings should be for various voltage ranges: https://github.com/dalathegreat/Bat...rs#compiling-the-software-for-solax-inverters

So just have at it!
Ok, so what you means is that the different battery types have different module voltage rating, and any battery type accept any number of modules up to ~800V?

I guess I just have to try it out. The battery I'm planning to integrate communicates over Modbus TCP (and possibly also over Modbus RTU). So it will need some new code.
 
Back
Top