Dala's Battery-Emulator

Hi again Dala, in your experience, out of the Leaf and Tesla batteries, which one is most popular/easier to wire up/configure/use ?

That's enough newbie questions for me and it is late here in Oz so I should try and head off despite all the interesting info in this forum and the GitHub/Wiki pages
 
Hi again Dala, in your experience, out of the Leaf and Tesla batteries, which one is most popular/easier to wire up/configure/use ?

That's enough newbie questions for me and it is late here in Oz so I should try and head off despite all the interesting info in this forum and the GitHub/Wiki pages
The automatic contactor closing is optional, a nice feature. I'll add a better wiring diagram later

Tesla packs are more popular, due to better price per kWh. LEAF batteries are easier to install.
 
Thank you Dala. If the pre charge option is optional for Leaf batteries (with the increased risk of welding relay contacts shut!) then I agree the process looks simpler to modify a Leaf compared to a Tesla battery. Plus given the Leaf was the first to be supported and you are actively working on the code, it might have fewer bugs and more active support. The Tesla price and availability is still attractive though, especially to DIY 'ers !
 
Thanks to all the testers and feedback, we now have a new minor update out! This version mostly fixes bugs related to charging batteries below freezing 🥶

 
You're unfortunately gonna have to do some research, check for inverters that take BYD HVS/HVM, Pylontech, BYD Battery-Box H , Sofar , Solax batteries, and you should be good!
Sorry if I'm missing something obvious here. I'm still working my way through how to find that out, but for example would this unit work? I've spent quite a bit of time looking now but I think I must be using the wrong keywords or something, I'm really having trouble finding where these companies post the compatibility of their inverters. E.g. on the first datasheet under the "Documentation" tab for the one I linked it just says "See SMA List of Approved Batteries", and then I can't find that list.

Thanks for your patience!
 
Sorry if I'm missing something obvious here. I'm still working my way through how to find that out, but for example would this unit work? I've spent quite a bit of time looking now but I think I must be using the wrong keywords or something, I'm really having trouble finding where these companies post the compatibility of their inverters. E.g. on the first datasheet under the "Documentation" tab for the one I linked it just says "See SMA List of Approved Batteries", and then I can't find that list.

Thanks for your patience!
There is unfortunately no info available on the "SMA - Sunny Boy Smart Energy 3.8-US", it might use SMA-CAN, which *should* be compatible, but if it requires the SMA Tripower-CAN, we do not yet have any log files from a working system. I'd stay clear of SMA devices, unless you want to be the first to ever try one with the emulator!
 
There is unfortunately no info available on the "SMA - Sunny Boy Smart Energy 3.8-US", it might use SMA-CAN, which *should* be compatible, but if it requires the SMA Tripower-CAN, we do not yet have any log files from a working system. I'd stay clear of SMA devices, unless you want to be the first to ever try one with the emulator!
Thanks!
 
Hello Dala,
we have moved one step further.
I have a connected battery, 2x lilygo, and Solax X3.
Battery OK, everything works.
I think that the second lilygo also works correctly, because I can see the data there on the website.
I can see the battery voltage on Solax, but it says BMS lost and IE19.
We tried:
Add a 120R resistor, (even if according to measurements it is on Lilygo and Solax)
Flip L,H to Can.
GND is connected.
We have Solax CAN on RJ45 pin 4.5, GND 3 (we also tried 2)
We can't find the problem.
Can you advise what to try? Or do you know someone who uses an emulator and Solax X3?
The Solax was connected to the Solax battery and the system worked.
Version 5.0.1
 
Hello Dala,
we have moved one step further.
I have a connected battery, 2x lilygo, and Solax X3.
Battery OK, everything works.
I think that the second lilygo also works correctly, because I can see the data there on the website.
I can see the battery voltage on Solax, but it says BMS lost and IE19.
We tried:
Add a 120R resistor, (even if according to measurements it is on Lilygo and Solax)
Flip L,H to Can.
GND is connected.
We have Solax CAN on RJ45 pin 4.5, GND 3 (we also tried 2)
We can't find the problem.
Can you advise what to try? Or do you know someone who uses an emulator and Solax X3?
The Solax was connected to the Solax battery and the system worked.
Version 5.0.1
Hello,
the Solax manual says that both CAN and RS485 pin 4,5,7,8 mus be connected between Solax an battery. I am trying to connect Orion BMS to Solax. No success so far
 
Interesting.
Please, where is it written? We have a Solax X3 G4.
So connect to Lilygo (Solax link receiver) CAN and RS485 to Solax?

Is there anyone using the emulator and Solax?
Would he be able to advise me.
 
In the user manual p 64. (in the paper manual p 66) It says note...must be 4,5,7,8. Perhaps it is not relevant because in the manual for bat t58 p 25 it says that only if you use 1-3 extra batteries it is necesary with RS485.
 
Hello Dala,
we have moved one step further.
I have a connected battery, 2x lilygo, and Solax X3.
Battery OK, everything works.
I think that the second lilygo also works correctly, because I can see the data there on the website.
I can see the battery voltage on Solax, but it says BMS lost and IE19.
We tried:
Add a 120R resistor, (even if according to measurements it is on Lilygo and Solax)
Flip L,H to Can.
GND is connected.
We have Solax CAN on RJ45 pin 4.5, GND 3 (we also tried 2)
We can't find the problem.
Can you advise what to try? Or do you know someone who uses an emulator and Solax X3?
The Solax was connected to the Solax battery and the system worked.
Version 5.0.1
I think it is best to create a thread on this forum with your build, instead of using this thread as a support page.

We have >5 people with Solax inverters on the Discord, so they work really well. It needs to use SOLAX CAN, not RS485.

Make a new thread, ping me, and post your config files for both boards!
 
1. How does
#define TEST_FAKE_BATTERY
work ? will that permit me to fake the presence of a real battery connected to the Fronius Gen24+ , for the purpose of testing if certain parts of the emulator are working OK ? I would like a method to test the inexpensive LilyGo, wiring and its software before investing $$ on a large Leaf or Tesla battery.
2. Will the battery emulator permit the use of a lower voltage, low capacity lead acid battery for basic testing purposes ? (either discharge and/or charge, as the user I could ensure minimal power (e.g. 200W ?) is being drawn). e.g. perhaps I could choose an inverter communication protocol supported by a cheap basic charge controller which will work with say a 12V or 24V lead acid battery ?
 
1. How does
#define TEST_FAKE_BATTERY
work ? will that permit me to fake the presence of a real battery connected to the Fronius Gen24+ , for the purpose of testing if certain parts of the emulator are working OK ? I would like a method to test the inexpensive LilyGo, wiring and its software before investing $$ on a large Leaf or Tesla battery.
2. Will the battery emulator permit the use of a lower voltage, low capacity lead acid battery for basic testing purposes ? (either discharge and/or charge, as the user I could ensure minimal power (e.g. 200W ?) is being drawn). e.g. perhaps I could choose an inverter communication protocol supported by a cheap basic charge controller which will work with say a 12V or 24V lead acid battery ?
The test mode is only for development purposes, say you are working on a new type of inverter that is not yet on the supported list. then you can easily fake values sent on CAN/Mobdbus, and see how the protocol works.

For the Gen24, test mode is not required. Just set a battery protocol and go!

2. No
 
.
For the Gen24, test mode is not required. Just set a battery protocol and go!
Thanks Dala, assume Gen24+, I have confidence to modify the software, what is your estimate of the coding effort for a proficient programmer to simulate a connected battery ? (I realise the inverter might complain e.g. if it measures no current)
 
The test mode is only for development purposes, say you are working on a new type of inverter that is not yet on the supported list. then you can easily fake values sent on CAN/Mobdbus, and see how the protocol works.

For the Gen24, test mode is not required. Just set a battery protocol and go!

2. No
Has there Been any work on the

Growatt 11.4kW MIN 11400TL-XH-US Grid-Tie | Battery Storage inverter? It works me a nice addition for people in the US. They're readily available and the price is quite reasonable.​

Thanks for all your hard work on this project it could actually change the world on a positive way.
 
Thanks Dala, assume Gen24+, I have confidence to modify the software, what is your estimate of the coding effort for a proficient programmer to simulate a connected battery ? (I realise the inverter might complain e.g. if it measures no current)
The Gen24 does not detect a battery unless there is 300-400VDC on the battery input. But there is no need to simulate anything, the Gen24 is Stable and works with all battery packs! But I wont stop you from experimenting :)

Has there Been any work on the

Growatt 11.4kW MIN 11400TL-XH-US Grid-Tie | Battery Storage inverter? It works me a nice addition for people in the US. They're readily available and the price is quite reasonable.​

Thanks for all your hard work on this project it could actually change the world on a positive way.
There seems to be a person that has a Growatt+battery willing to take log files here, wating on results! https://github.com/dalathegreat/Battery-Emulator/issues/156
 
Hi Dala,

awesome work!!!
Is it possible to use a Pylon Battery and emulate it as a BYD - as i have a Pylon here but it is not compatible with the GEN24 and i want to use the Lilygo with your software as a converter from Pylon to BYD - is thet possible and what kind of /* Select battery used */ do i have to choose!

Thanks in advance
 
Back
Top