mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 17:59:27 +02:00
Add Sungrow to build system
This commit is contained in:
parent
7191931544
commit
fd67021fa1
2 changed files with 5 additions and 0 deletions
1
.github/workflows/compile-all-inverters.yml
vendored
1
.github/workflows/compile-all-inverters.yml
vendored
|
@ -50,6 +50,7 @@ jobs:
|
||||||
- SMA_TRIPOWER_CAN
|
- SMA_TRIPOWER_CAN
|
||||||
- SOFAR_CAN
|
- SOFAR_CAN
|
||||||
- SOLAX_CAN
|
- SOLAX_CAN
|
||||||
|
- SUNGROW_CAN
|
||||||
- SERIAL_LINK_TRANSMITTER
|
- SERIAL_LINK_TRANSMITTER
|
||||||
- NISSANLEAF_CHARGER # Last element is not an inverter, but good to also test if the charger compiles
|
- NISSANLEAF_CHARGER # Last element is not an inverter, but good to also test if the charger compiles
|
||||||
# This is the platform GitHub will use to run our workflow.
|
# This is the platform GitHub will use to run our workflow.
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
#include "../datalayer/datalayer.h"
|
#include "../datalayer/datalayer.h"
|
||||||
#include "SUNGROW-CAN.h"
|
#include "SUNGROW-CAN.h"
|
||||||
|
|
||||||
|
/* TODO:
|
||||||
|
This protocol is still under development. It can not be used yet for Sungrow inverters,
|
||||||
|
see the Wiki for more info on how to use your Sungrow inverter */
|
||||||
|
|
||||||
/* Do not change code below unless you are sure what you are doing */
|
/* Do not change code below unless you are sure what you are doing */
|
||||||
static unsigned long previousMillis500ms = 0;
|
static unsigned long previousMillis500ms = 0;
|
||||||
static bool alternate = false;
|
static bool alternate = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue