Open alex-military opened 1 month ago
No SMA protocol is 100% tested yet. We might need CAN logs from a functional SMA system before we can get one working!
I worked for a year with SMA inverters and they work with BYD batteries but have an automatic recognition mode. I intend to create a system in my home with a sunny boy smart energy or a tripower smart energy to take advantage of full backup. If it is not very complicated to find these registers I will gladly help you if up to then you have not managed to implement them
The current SMA protocol implemented has wrong bits set in some places. We need to emulate a RESU battery, not BYD. Here is a screenshot from a Sunny Boy Storage inverter setup with the Battery-Emulator. It does not work
Neither does the SMA-Tripower protocol. We need CAN logs to proceed from a working system.
OK could you explain to me how I can extract or find these can registers? I still have a few contacts who install those inverters and maybe I can convince them to let me connect to the inverters and try to recover them but that's something I've never done
@alex-military , see this Wiki page I wrote on the subject of logging; https://github.com/dalathegreat/Battery-Emulator/wiki/Data-needed-for-new-inverter-integration
OK, let's see if I understood correctly because the translation doesn't help me. I use Google Translate to understand. in practice with a working system (sma tripower SE inverter or sunny boy SE and BYD battery) I connect a lilygo in parallel on the CAN cables and note down the data (even the time?) of %soc temp charge/discharge status temp etc etc. then by leaving the recording they must simulate sudden battery shutdown sudden shutdown inverter charge discharge and note down the event messages that appear on the inverter dashboard? finally, through a cross comparison, the various values obtained in the register are compared to map them and, if necessary, all the rest of the data is interpreted. should it be right?
Yes. Most important is to get Startup log, and operation log.
This page has more info on how to log: https://github.com/dalathegreat/Battery-Emulator/wiki/CAN-logging
Once you have log files, post them here and we can fix the protocol!
@alex-military SMA-CAN has been improved in this commit, I got RESU logs that at the same time improved the BYD code
Please try dropping in this SMA-CAN.cpp file and restesting
Hi, I tried with some ex-colleagues if I could go and do the data recording but unfortunately no one gave me availability. I was thinking of doing an installation myself but not having the battery I don't know how I could help
Hi, We are working nighlty on adding SMA support on the Patreon Discord server. We have CAN logs, and are working out the pairing process.
great so you already have the communication profile you just have to complete the implementation and then it will be ready? all this is perfect because I can start getting a compatible battery.
Hi, I see that you are implementing a tripower smart energy SMA but will it also be compatible with single-phase ones? i.e. with Sunny Boy Smart Energy? Will this protocol be implemented with batrium BMS?