Add Sungrow to build system

This commit is contained in:
Daniel Öster 2025-01-13 09:55:49 +02:00
parent 7191931544
commit fd67021fa1
2 changed files with 5 additions and 0 deletions

View file

@ -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.

View file

@ -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;