From cebb1a38690a1283b4a9a6e40c45b7ea776d61f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Bo=CC=88hm?= Date: Thu, 23 Jan 2025 15:11:02 +0100 Subject: [PATCH] fix: change relative non-persistent type to 0x0003 --- lib/Hoymiles/src/commands/ActivePowerControlCommand.h | 2 +- webapp/src/views/HomeView.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Hoymiles/src/commands/ActivePowerControlCommand.h b/lib/Hoymiles/src/commands/ActivePowerControlCommand.h index 8425d248f..5aea81828 100644 --- a/lib/Hoymiles/src/commands/ActivePowerControlCommand.h +++ b/lib/Hoymiles/src/commands/ActivePowerControlCommand.h @@ -5,7 +5,7 @@ typedef enum { // ToDo: to be verified by field tests AbsolutNonPersistent = 0x0000, // 0 - RelativNonPersistent = 0x0001, // 1 + RelativNonPersistent = 0x0003, // 3 TODO(andreasboehm): not sure why this is now 3 instead of 1. Probably only works for inverters that support PDL AbsolutPersistent = 0x0100, // 256 RelativPersistent = 0x0101 // 257 } PowerLimitControlType; diff --git a/webapp/src/views/HomeView.vue b/webapp/src/views/HomeView.vue index 0d1380869..a6906a531 100644 --- a/webapp/src/views/HomeView.vue +++ b/webapp/src/views/HomeView.vue @@ -448,7 +448,7 @@