1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-08-06 14:15:05 +00:00

deye: fix production calculation

This commit is contained in:
Michael Grote 2023-03-02 12:19:11 +01:00
parent e70e5320f1
commit 418ae8e160

View file

@ -15,6 +15,7 @@ Dependencies:
- wget
- awk
- sed
- bc
plugin config:
@ -122,10 +123,10 @@ echo multigraph current_power
echo "current_power.value $current_power"
echo multigraph daily_yield
echo "daily_yield.value $daily_yield"
echo "daily_yield.value $(echo "scale=2 ; $daily_yield / 100" | bc | sed 's/^\./0./')"
echo multigraph total_yield
echo "total_yield.value $total_yield"
echo "total_yield.value $(echo "scale=2 ; $total_yield / 10" | bc | sed 's/^\./0./')"
echo multigraph reachable
echo "reachable.value $reachable"