From e473583a5536b4f8ffb7099d3510912db84928a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Jonas=20S=C3=A4mann?= Date: Mon, 16 May 2022 13:10:09 +0200 Subject: [PATCH] Change alarm code 2 Seems that alarm code 2 appears on failed commands --- tools/rpi/hoymiles/decoders/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rpi/hoymiles/decoders/__init__.py b/tools/rpi/hoymiles/decoders/__init__.py index 59bc2292..677d5a65 100644 --- a/tools/rpi/hoymiles/decoders/__init__.py +++ b/tools/rpi/hoymiles/decoders/__init__.py @@ -261,7 +261,7 @@ class EventsResponse(UnknownResponse): alarm_codes = { 1: 'Inverter start', - 2: 'Producing power', + 2: 'DTU command failed', 121: 'Over temperature protection', 125: 'Grid configuration parameter error', 126: 'Software error code 126',