From 5212ed78ecac3632a95e955d681830562c8340e7 Mon Sep 17 00:00:00 2001 From: kaliko Date: Tue, 30 May 2017 21:16:43 +0200 Subject: [PATCH] Set upper/lower limit for humidity and wind direction --- plugins/weather/openweather_ | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/weather/openweather_ b/plugins/weather/openweather_ index 1aa3b7e4..1eef9bd8 100755 --- a/plugins/weather/openweather_ +++ b/plugins/weather/openweather_ @@ -49,6 +49,7 @@ then graph_title Humidity in ${CITY} graph_vlabel % graph_category sensors + graph_args --upper-limit 100 --lower-limit 0 graph_info This graph show the humidity in ${CITY} humidity.label humidity @@ -70,8 +71,10 @@ then graph_title Wind direction in ${CITY} graph_vlabel direction graph_category sensors + graph_args --upper-limit 360 --lower-limit 0 graph_info This graph show the wind direction in ${CITY} direction.label wind direction + EOF # Continue if dirty config is enabled