Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMA Sunny Boy Smart Energy #370

Open
alex-military opened this issue Jul 7, 2024 · 16 comments · May be fixed by #641
Open

SMA Sunny Boy Smart Energy #370

alex-military opened this issue Jul 7, 2024 · 16 comments · May be fixed by #641

Comments

@alex-military
Copy link

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?

@dalathegreat
Copy link
Owner

No SMA protocol is 100% tested yet. We might need CAN logs from a functional SMA system before we can get one working!

@alex-military
Copy link
Author

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

@dalathegreat
Copy link
Owner

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

image

Neither does the SMA-Tripower protocol. We need CAN logs to proceed from a working system.

@alex-military
Copy link
Author

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

@dalathegreat
Copy link
Owner

@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

@alex-military
Copy link
Author

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?

@dalathegreat
Copy link
Owner

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!

@dalathegreat
Copy link
Owner

@alex-military
SMA-CAN has been improved in this commit, I got RESU logs that at the same time improved the BYD code

dbab569#diff-18b344f7c221f3d197c188c1d6700b37cb53e455243ca7b9298cc67a2b46497b

Please try dropping in this SMA-CAN.cpp file and restesting

@alex-military
Copy link
Author

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

@dalathegreat
Copy link
Owner

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.

@alex-military
Copy link
Author

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.

@Nokius
Copy link

Nokius commented Sep 14, 2024

@dalathegreat are logs still needed from Storage Boys? Could log from 2.6 and 3.6 with BYD HVS and HVM.

@dalathegreat
Copy link
Owner

@Nokius SMA Sunny Boy support was added a few weeks ago: https://github.com/dalathegreat/Battery-Emulator/wiki/SMA-Sunny-Boy-Storage-inverters

@alex-military
Copy link
Author

Hi, I saw that support for sunny boy storage has been added, but does this protocol also work with sunny boy smart energy and sunny tripower smart energy? Or the sma hybrid inverters? I should buy some soon but I was undecided due to the cost of the batteries between the sunny boy storage and the hybrid deye.

@dalathegreat
Copy link
Owner

@alex-military Most likely they do not, so I'd advise waiting until someone can provide logs from a Tripower / SBSE setup

@KoenM1
Copy link

KoenM1 commented Oct 30, 2024

Hi,
I have an SMA tripower smart energy hybride converter.
I did by the Batrium BMS for a 350v battery.
Now it seems that the BMS is not communicating with the inverter.
Did you find out the can communication?

@lenvm lenvm changed the title SMA SB SE SMA Sunny Boy Smart Energy Dec 12, 2024
@lenvm lenvm linked a pull request Dec 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants