Skip to content

Commit b3c8efa

Browse files
authored
Merge pull request #199 from reserve85/reserve85-DirectoryTidyUp
Reserve85 directory tidy up
2 parents 57b8584 + d0b0313 commit b3c8efa

4 files changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#! /bin/sh
2+
3+
# Script to read powermeter values from a MSunPV (ard-tek.com)
4+
IFS=";"
5+
#Grid power
6+
AC_GRID=$(curl -s http://MSunPV_IP/status.xml | tail -n 3 | (read var1 var2 var3; echo ${var1:7:20}))
7+
echo ${AC_GRID%%,*}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#! /bin/sh
2+
3+
# Script to read PV Solar power values from a MSunPV (ard-tek.com)
4+
IFS=";"
5+
#PV Solar power
6+
AC_PV=$(curl -s http://MSunPV_IP/status.xml | tail -n 3 | (read var1 var2 var3; echo ${var2}))
7+
echo ${AC_PV%%,*}

0 commit comments

Comments
 (0)