Skip to content

Commit d0b0313

Browse files
authored
Add files via upload
add scripts for MSunPV power router (https://ard-tek.com/) thanks to https://github.com/Thierry43
1 parent 0117888 commit d0b0313

2 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)