Thought I'd share my £12 off the shelf setup, no soldering required!
I wrote a Solax battery emulator almost 2 years ago now and have been using that code to use unmodified Renault EV batteries on Solax and FoxESS kit. Over the years this was adapted for 65V Victron kit (BYD emulation) and so on. Originally I used ESP32 as the dev platform but I am still skeptical about reliability. Later I moved to STM32 and found that to be much more reliable, cheaper for dual CAN too and so that stuck.
Just recently there's been a call for more HVDC emulation for high powered Deye/Sunsynk 3ph (30kW) kit so I've provisionally added the Pylontech Force H2 protocol which will be tested in the next week.
For those who have been struggling with the Solax protocol, especially the newer G4 kit, this solution should resolve that headache.
There's a lot more features running on the custom builds such as UDP syslog client, NTP+RTC, web portal, and TCP can bus feed but this was all done for development. As standard these releases offer a TCP modbus service on port 502 and will translate to/from RTU on the built in RS485 port.
If anyone is interested I will build custom firmware based on the current libraries in return for testing feedback.
- Battery compatibility:
Renault Kangoo, Zoe 22->44kWh, Zoe 52kWh
Tesla Model 3 (2020) (needs more testing)
- Emulation:
Pylontech LV, HVDC, and Force H2 (new)
Goodwe
BYD
Solax Triple Power
FoxESS
- Supported inverters:
Solax
FoxESS
GoodWe
Victron (BYD)
Deye/Sunsynk
Solis (needs testing)
Downloads (ELF binaries): https://github.com/rand12345/toucan_stm ... ag/release
Note to moderators, this isn't a commercial venture and I'm not selling anything.