Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion simpleAPI/src/ParameterHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,8 @@ private function getChargepointAll($id)
$instantChargingSoc = $template['chargemode']['instant_charging']['limit']['soc'] ?? 0;

// ECO Charging max_price extrahieren
$maxPriceEco = isset($template['chargemode']['eco_charging']['max_price']) ? number_format((float)$template['chargemode']['eco_charging']['max_price'], 4, '.', '') : '0.0000';
$maxPriceEco = isset($template['chargemode']['eco_charging']['max_price']) ? number_format((float)$template['chargemode']['eco_charging']['max_price'], 6, '.', '') : '0.0000';
$maxPriceEco = $maxPriceEco * 100000;

// SoC und Range aus connected_vehicle extrahieren
$connectedVehicleSocTopic = "openWB/chargepoint/{$id}/get/connected_vehicle/soc";
Expand Down