From b1a8f04617cc9af3fe9432ed892cda8f7a28ed9f Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Sun, 2 Jun 2024 13:56:13 +0200 Subject: [PATCH] Fix: Wrong divider in gridprofile RVHF Fixes #2021 The result may look wrong for some profiles (e.g. 502 Hz) but it seems to be correct as the Hoymiles parser also outputs 502 Hz. See #1606 --- lib/Hoymiles/src/parser/GridProfileParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Hoymiles/src/parser/GridProfileParser.cpp b/lib/Hoymiles/src/parser/GridProfileParser.cpp index 74fcf6531..489565e19 100644 --- a/lib/Hoymiles/src/parser/GridProfileParser.cpp +++ b/lib/Hoymiles/src/parser/GridProfileParser.cpp @@ -99,7 +99,7 @@ constexpr frozen::map itemDefinition { 0x1f, make_value("Start of Frequency Watt Droop (Fstart)", "Hz", 100) }, { 0x20, make_value("FW Droop Slope (Kpower_Freq)", "Pn%/Hz", 10) }, { 0x21, make_value("Recovery Ramp Rate (RRR)", "Pn%/s", 100) }, - { 0x22, make_value("Recovery High Frequency (RVHF)", "Hz", 100) }, + { 0x22, make_value("Recovery High Frequency (RVHF)", "Hz", 10) }, { 0x23, make_value("Recovery Low Frequency (RVLF)", "Hz", 100) }, { 0x24, make_value("VW Function Activated", "bool", 1) }, { 0x25, make_value("Start of Voltage Watt Droop (Vstart)", "V", 10) },