From 1370bcdb43337d2f7b5e6d54207048d00fe684f0 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 2 Mar 2023 23:16:48 +0100 Subject: [PATCH] unfiy labels --- plugins/solar/deye | 10 ++++++---- plugins/solar/solarman_api_inverter | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/plugins/solar/deye b/plugins/solar/deye index e69392d2..c5483ad2 100644 --- a/plugins/solar/deye +++ b/plugins/solar/deye @@ -23,6 +23,8 @@ plugin config: env.user env.password env.ip + env.serial_number 2XXXXXXXXX6-1 + =head1 AUTHOR @@ -82,7 +84,7 @@ fi if [ "$1" = "config" ]; then # setze optionen echo "multigraph current_power" - echo "graph_title Deye current Power" + echo "graph_title Current Power - Local - SN: ${serial_number}" echo "graph_vlabel watt" echo "graph_category sensors" echo "graph_args -l 0" @@ -90,7 +92,7 @@ if [ "$1" = "config" ]; then echo "current_power.label watt" echo "multigraph daily_yield" - echo "graph_title Deye daily Yield" + echo "graph_title Daily Yield - Local - SN: ${serial_number}" echo "graph_vlabel kWh" echo "graph_category sensors" echo "graph_args -l 0" @@ -99,7 +101,7 @@ if [ "$1" = "config" ]; then echo "daily_yield.draw AREA" echo "multigraph total_yield" - echo "graph_title Deye Total Yield" + echo "graph_title Total Yield - Local - SN: ${serial_number}" echo "graph_vlabel kWh" echo "graph_category sensors" echo "graph_args -l 0" @@ -108,7 +110,7 @@ if [ "$1" = "config" ]; then echo "total_yield.draw AREA" echo "multigraph reachable" - echo "graph_title Deye inverter reachable" + echo "graph_title Inverter reachable - Local - SN: ${serial_number}" echo "graph_vlabel on/off" echo "graph_category sensors" echo "graph_args -l 0" diff --git a/plugins/solar/solarman_api_inverter b/plugins/solar/solarman_api_inverter index 1cd39039..a7863b85 100644 --- a/plugins/solar/solarman_api_inverter +++ b/plugins/solar/solarman_api_inverter @@ -72,7 +72,7 @@ fi if [ "$1" = "config" ]; then # setze optionen echo "multigraph production_total" - echo "graph_title Production Total - SN: $SLRM_DEVICE_SN" + echo "graph_title Total Yield- SN: $SLRM_DEVICE_SN" echo "graph_vlabel kWh" echo "graph_category sensors" echo "graph_args -l 0" @@ -83,7 +83,7 @@ if [ "$1" = "config" ]; then echo "total_inverter.draw AREA" echo "multigraph production_daily" - echo "graph_title Production Daily - SN: $SLRM_DEVICE_SN" + echo "graph_title Daily Yield- SN: $SLRM_DEVICE_SN" echo "graph_vlabel kWh" echo "graph_category sensors" echo "graph_args -l 0"