Skip to content

Commit

Permalink
Merge pull request #552 from dalathegreat/feature/sungrow-can
Browse files Browse the repository at this point in the history
New inverter protocol:  Sungrow CAN
  • Loading branch information
dalathegreat authored Jan 13, 2025
2 parents c88c49a + c94aebd commit cad8fe6
Show file tree
Hide file tree
Showing 5 changed files with 622 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/compile-all-inverters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
- SMA_TRIPOWER_CAN
- SOFAR_CAN
- SOLAX_CAN
- SUNGROW_CAN
- SERIAL_LINK_TRANSMITTER
- NISSANLEAF_CHARGER # Last element is not an inverter, but good to also test if the charger compiles
# These are the supported hardware platforms for which the code will be compiled.
Expand Down
1 change: 1 addition & 0 deletions Software/USER_SETTINGS.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,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

/* Select hardware used for Battery-Emulator */
//#define HW_LILYGO
Expand Down
4 changes: 4 additions & 0 deletions Software/src/inverter/INVERTERS.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@
#include "SOLAX-CAN.h"
#endif

#ifdef SUNGROW_CAN
#include "SUNGROW-CAN.h"
#endif

#ifdef SERIAL_LINK_TRANSMITTER
#include "SERIAL-LINK-TRANSMITTER-INVERTER.h"
#endif
Expand Down
Loading

0 comments on commit cad8fe6

Please sign in to comment.