@@ -35,7 +35,9 @@ if [[ $(wc -l <"$outputname") -ge 5 ]]; then
3535 echo " $boolPlugStat " > " $RAMDISKDIR /plugstat"
3636 echo " $boolChargeStat " > " $RAMDISKDIR /chargestat"
3737 soc=$( < " $RAMDISKDIR /soc" )
38+ socEnabled=$( < " $RAMDISKDIR /socvorhanden" )
3839 mosquitto_pub -h " $ip " -r -t " openWB/set/lp/$chargepcp /%Soc" -m " $soc "
40+ mosquitto_pub -h " $ip " -r -t " openWB/set/lp/$chargepcp /boolSocConfigured" -m " $socEnabled "
3941 fi
4042 if (( chargep == "2 " )) ; then
4143 echo " $VPhase1 " > " $RAMDISKDIR /llvs11"
@@ -49,7 +51,9 @@ if [[ $(wc -l <"$outputname") -ge 5 ]]; then
4951 echo " $boolPlugStat " > " $RAMDISKDIR /plugstats1"
5052 echo " $boolChargeStat " > " $RAMDISKDIR /chargestats1"
5153 soc=$( < " $RAMDISKDIR /soc1" )
54+ socEnabled=$( < " $RAMDISKDIR /soc1vorhanden" )
5255 mosquitto_pub -h " $ip " -r -t " openWB/set/lp/$chargepcp /%Soc" -m " $soc "
56+ mosquitto_pub -h " $ip " -r -t " openWB/set/lp/$chargepcp /boolSocConfigured" -m " $socEnabled "
5357 fi
5458 if (( chargep == "3 " )) ; then
5559 echo " $VPhase1 " > " $RAMDISKDIR /llvs21"
@@ -80,6 +84,21 @@ if [[ $(wc -l <"$outputname") -ge 5 ]]; then
8084 mosquitto_pub -h " $ip " -r -t " openWB/set/isss/ClearRfid" -m " 1"
8185 fi
8286
87+ cpEnabled=$( < " $RAMDISKDIR /lp${chargep} enabled" )
88+ etEnabled=$( < " $RAMDISKDIR /mqttetprovideraktiv" )
89+ etPriceList=$( < " $RAMDISKDIR /etprovidergraphlist" )
90+ etGlobalPrice=$( < " $RAMDISKDIR /etprovidermaxprice" )
91+ etCurrentPrice=$( < " $RAMDISKDIR /etproviderprice" )
92+ etMode=$( < " $RAMDISKDIR /mqttlp${chargep} etbasedcharging" )
93+ etLocalPrice=$( < " $RAMDISKDIR /mqttlp${chargep} etchargemaxprice" )
94+ mosquitto_pub -h " $ip " -r -t openWB/set/lp/$chargepcp /ChargePointEnabled -m " $cpEnabled "
95+ mosquitto_pub -h " $ip " -r -t openWB/set/awattar/boolAwattarEnabled -m " $etEnabled "
96+ mosquitto_pub -h " $ip " -r -t openWB/set/awattar/pricelist -m " $etPriceList "
97+ mosquitto_pub -h " $ip " -r -t openWB/set/awattar/MaxPriceForCharging -m " $etGlobalPrice "
98+ mosquitto_pub -h " $ip " -r -t openWB/set/awattar/ActualPriceForCharging -m " $etCurrentPrice "
99+ mosquitto_pub -h " $ip " -r -t openWB/config/set/sofort/lp/$chargepcp /etBasedCharging -m " $etMode "
100+ mosquitto_pub -h " $ip " -r -t openWB/config/set/sofort/lp/$chargepcp /etChargeMaxPrice -m " $etLocalPrice "
101+
83102 mosquitto_pub -h " $ip " -r -t " openWB/set/isss/parentWB" -m " $myipaddress "
84103 if (( chargepcp == "1 " )) ; then
85104 mosquitto_pub -h " $ip " -r -t " openWB/set/isss/parentCPlp1" -m " $chargep "
0 commit comments