Hi I'm from Brisbane Australia and I'm Planning a Tesla Model 3 home battery project using a "Fronius Primo Gen 24 Plus" hybrid inverter and a Lilygo, running Dala's battery emulator.
I want the setup to be accessed through Home assistant and able to be used for full backup using a Microgrid in the event of a black out.
I have been going for a while with the project and I would like to share my journey from the beginning with the hope that others can learn from any issues i have along the way as the project progresses.
So first up I found a 2 year old Fronius Gen 24 Plus 5.0 inverter on marketplace and ordered a Lilygo from Aliexpress. I made a test box to allow me to communicate with the CAN data from the Tesla battery before purchasing it.
For the test box I used a
- Motorcycle battery
- Lilygo ESP32 board
- A car USBC phone charger for the Lilygo power supply from 12v battery
- A plastic electrical box, power switch and fuse from Jaycar
-And some Jumper pins and wires I had laying around as my X098 plug hadn't arrived yet
I followed Dala's Battery Emulator software installation information using the following page
-
github.com
This was very easy to follow with video instructions and all the information needed to install Arduino software to the computer and flash the battery emulator firmware to the Lilygo board.
Next I was off to the wreckers to test and buy a Tesla Model 3 battery. The battery I purchased was from a 2022 model 3, with 33200k's. It had been sitting at the wrecker for about 2 weeks.
With the test box plugged in I was able to look at overall battery voltage, individual cell voltage, cell voltage deviation, cell temp, overall charges and discharges the battery has had and many other parameters.
When I hooked the test box up all the cells were below the minimum level, but I was told that the battery had only been removed form the car a couple of weeks prior and had photos of the car with 8% battery. Also it was cheap so I took the risk and now I own a Model 3 battery ;-).
NOTE: To read the information from the Tesla battery all that is needed is:
- Lilygo with Battery emulator and 5v power supply
- 12v dc + to pins 8 and 18
- 12v dc - to pin 9
- CAN H to pin 16
- CAN L to pin 15
As stated earlier see - "https://github.com/dalathegreat/Battery-Emulator" for full details.









I want the setup to be accessed through Home assistant and able to be used for full backup using a Microgrid in the event of a black out.
I have been going for a while with the project and I would like to share my journey from the beginning with the hope that others can learn from any issues i have along the way as the project progresses.
So first up I found a 2 year old Fronius Gen 24 Plus 5.0 inverter on marketplace and ordered a Lilygo from Aliexpress. I made a test box to allow me to communicate with the CAN data from the Tesla battery before purchasing it.
For the test box I used a
- Motorcycle battery
- Lilygo ESP32 board
- A car USBC phone charger for the Lilygo power supply from 12v battery
- A plastic electrical box, power switch and fuse from Jaycar
-And some Jumper pins and wires I had laying around as my X098 plug hadn't arrived yet
I followed Dala's Battery Emulator software installation information using the following page
-
GitHub - dalathegreat/Battery-Emulator: This revolutionary software enables EV battery packs to be easily reused for stationary storage in combination with solar inverters
This revolutionary software enables EV battery packs to be easily reused for stationary storage in combination with solar inverters - dalathegreat/Battery-Emulator
This was very easy to follow with video instructions and all the information needed to install Arduino software to the computer and flash the battery emulator firmware to the Lilygo board.
Next I was off to the wreckers to test and buy a Tesla Model 3 battery. The battery I purchased was from a 2022 model 3, with 33200k's. It had been sitting at the wrecker for about 2 weeks.
With the test box plugged in I was able to look at overall battery voltage, individual cell voltage, cell voltage deviation, cell temp, overall charges and discharges the battery has had and many other parameters.
When I hooked the test box up all the cells were below the minimum level, but I was told that the battery had only been removed form the car a couple of weeks prior and had photos of the car with 8% battery. Also it was cheap so I took the risk and now I own a Model 3 battery ;-).
NOTE: To read the information from the Tesla battery all that is needed is:
- Lilygo with Battery emulator and 5v power supply
- 12v dc + to pins 8 and 18
- 12v dc - to pin 9
- CAN H to pin 16
- CAN L to pin 15
As stated earlier see - "https://github.com/dalathegreat/Battery-Emulator" for full details.









Attachments
Last edited:


















































