Skip to content

Commit

Permalink
Update loadvars.sh
Browse files Browse the repository at this point in the history
fix descriptions
  • Loading branch information
benderl authored Sep 30, 2022
1 parent 2626dd6 commit 0e46b20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loadvars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ run_soc_module() {
openwbDebugLog "MAIN" 2 "Calling SoC-Module: $module_dir/main.sh"
"$module_dir/main.sh" &
elif [[ "$module_dir" =~ ^(.*)((s)([1-9])|(lp)([2-9]))$ ]]; then
# Historically if each SoC-Module applied to a single charge point, only. Thus if multiple charge points were
# Historically each SoC-Module is applied to a single charge point, only. Thus if multiple charge points were
# to be supported the module was copied and got the suffix "s1" or "lp2" for the second charge point.
# With the new structure we call the script for charge point one with the actual charge point number as parameter
if [ "${BASH_REMATCH[3]}" == "s" ]
Expand Down Expand Up @@ -38,7 +38,7 @@ run_inverter_module() {
"$module_dir/main.sh" "$2"
elif [[ "$1" =~ ^wr([0-9]+)_(.*)$ ]]
then
# Historically if each Inverter-Module applied to a single charge point, only. Thus if multiple charge points were
# Historically each Inverter-Module is applied to a single pv slot, only. Thus if multiple inverters were
# to be supported the module was copied and got the prefix "wr2_" instead of "wr_" for the second inverter.
# With the new structure we call the script for inverter one with the actual inverter number as parameter
module_dir_inverter1="modules/wr_${BASH_REMATCH[2]}"
Expand Down

0 comments on commit 0e46b20

Please sign in to comment.