-
Notifications
You must be signed in to change notification settings - Fork 159
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
New inverter protocol: Sungrow CAN #552
base: main
Are you sure you want to change the base?
Conversation
Please! Im dying to impliment this new Sungrow CAN! 👍 |
Hi @itsallanetwork https://github.com/dalathegreat/Battery-Emulator/archive/refs/heads/feature/sungrow-can.zip |
@sm133 Your inverter supports BYD CAN. We can stop discussing anything in this PR related to your troubleshooting, since you will not be able to use Sungrow CAN. Please make a new Issue for troubleshooting your install: https://github.com/dalathegreat/Battery-Emulator/issues I will be deleting all comments from here, since this PR focuses on integrating Sungrow CAN, not on troubleshooting your BYD_CAN install. |
Hi @dalathegreat, I am happy to test this now I have my hardware in place. I am running a Tesla M3 82kwh Battery (penhouse fully intact) with Sungrow SH5.0RS Inverter. I have 10a fuse for capacitor (outside penthouse) and 32a for pos and neg from HV to Inverter. Battery contacters are proven to work. I have not attempted connecting Inverter yet, but I am ready to do so. I have setup a single Lilygo, but I read sungrow and leaf battery do not work well together given sungrow's 'bug'. I am not sure if this would be applicable given the M3 Tesla battery has a penthouse that is the brains for the battery, I would think the penthouse would protect the battery anyhow. Though of course I can install a CAN-FD MCP2518 board. What do you recommend for this test? |
I have tried MCP2518 board, reverted to Dual lillygo, thinking it may be the board (I had 2 lillygo's on hand). Connection to the 2021 Model 3 (M3) Tesla battery is perfect in everyway, I am having troulbe connecting to the Sungrow SH5.0RS inverter. Tesla Battery Situation: Sungrow SH5.0RS situation: Sungrow changed their Support for BYD on June 2024. I am not sure if this effects the inverter's reporting to the Cloud software (isolarcloud.com). I very much doubt it, but it cant be ruled out. Inverter Lillygo (IL) is seeing Battery Data from Tesla Battery and reading it correctly. When Inverter Lilygo starts, in order, the LED:
FAULT Displayed in EVENTS: Then serial output: @i have tried MCP2518 board, reverted to Dual lillygo, thinking it may be the board (I had 2 lillygo's on hand). Connection to the 2021 Model 3 (M3) Tesla battery is perfect in everyway, I am having troulbe connecting to the Sungrow SH5.0RS inverter. Tesla Battery Situation: Sungrow SH5.0RS situation: Sungrow changed their Support for BYD on June 2024. I am not sure if this effects the inverter's reporting to the Cloud software (isolarcloud.com). I very much doubt it, but it cant be ruled out. Inverter Lillygo (IL) is seeing Battery Data from Tesla Battery and reading it correctly. When Inverter Lilygo starts, in order, the LED:
FAULT Displayed in EVENTS: Then serial output: @dalathegreat - Any help would be great! @mathl79 |
Created 'íssues' to follow this here: #670 |
@@ -51,6 +51,7 @@ | |||
//#define SMA_TRIPOWER_CAN //Enable this line to emulate a "SMA Home Storage battery" over CAN bus | |||
//#define SOFAR_CAN //Enable this line to emulate a "Sofar Energy Storage Inverter High Voltage BMS General Protocol (Extended Frame)" over CAN bus | |||
//#define SOLAX_CAN //Enable this line to emulate a "SolaX Triple Power LFP" over CAN bus | |||
//#define SUNGROW_CAN //Enable this line to emulate a "Sungrow SBR064" over CAN bus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dalathegreat, please remember to also add this to the GitHub workflows.
What
This PR implements Sungrow CAN, which emulates a Sungrow SBR064 battery
Why
To increase compatibility with more inverters
How
Massive thanks to Chair_Stealer for the CAN logs, and to mathl® for the reverse engineering! 🙌