From 51dbfef201b4360e73edaf1e3c7fe35e33a66ef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20=C3=96ster?= Date: Sun, 12 Jan 2025 22:35:19 +0200 Subject: [PATCH] Add Gorwatt HV to build system --- .../compile-all-combinations-part1-batteries-A-to-M.yml | 1 + .github/workflows/compile-all-inverters.yml | 1 + Software/src/inverter/GROWATT-HV-CAN.cpp | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/compile-all-combinations-part1-batteries-A-to-M.yml b/.github/workflows/compile-all-combinations-part1-batteries-A-to-M.yml index 2926e091..14381ea3 100644 --- a/.github/workflows/compile-all-combinations-part1-batteries-A-to-M.yml +++ b/.github/workflows/compile-all-combinations-part1-batteries-A-to-M.yml @@ -73,6 +73,7 @@ jobs: - BYD_KOSTAL_RS485 - BYD_MODBUS - FOXESS_CAN + - GROWATT_HV_CAN - GROWATT_LV_CAN - PYLON_CAN - PYLON_LV_CAN diff --git a/.github/workflows/compile-all-inverters.yml b/.github/workflows/compile-all-inverters.yml index 24b9f846..38d320c2 100644 --- a/.github/workflows/compile-all-inverters.yml +++ b/.github/workflows/compile-all-inverters.yml @@ -59,6 +59,7 @@ jobs: - BYD_KOSTAL_RS485 - BYD_MODBUS - FOXESS_CAN + - GROWATT_HV_CAN - GROWATT_LV_CAN - PYLON_CAN - PYLON_LV_CAN diff --git a/Software/src/inverter/GROWATT-HV-CAN.cpp b/Software/src/inverter/GROWATT-HV-CAN.cpp index d7a9d665..674af2f8 100644 --- a/Software/src/inverter/GROWATT-HV-CAN.cpp +++ b/Software/src/inverter/GROWATT-HV-CAN.cpp @@ -3,6 +3,10 @@ #include "../datalayer/datalayer.h" #include "GROWATT-HV-CAN.h" +/* TODO: +This protocol has not been tested with any inverter. Proceed with extreme caution. +Search the file for "TODO" to see all the places that might require work /* + /* Growatt BMS CAN-Bus-protocol High Voltage V1.10 2023-11-06 29-bit identifier 500kBit/sec