diff --git a/packages/control/ev/charge_template.py b/packages/control/ev/charge_template.py index 66c7b94661..333874a1ba 100644 --- a/packages/control/ev/charge_template.py +++ b/packages/control/ev/charge_template.py @@ -237,7 +237,7 @@ def pv_charging(self, phases = pv_charging.phases_to_use min_pv_current = (pv_charging.min_current if charging_type == ChargingType.AC.value else pv_charging.dc_min_current) - if pv_charging.limit.selected == "soc" and soc and soc > pv_charging.limit.soc: + if pv_charging.limit.selected == "soc" and soc and soc >= pv_charging.limit.soc: current = 0 sub_mode = "stop" message = self.SOC_REACHED diff --git a/packages/modules/chargepoints/openwb_series2_satellit/chargepoint_module.py b/packages/modules/chargepoints/openwb_series2_satellit/chargepoint_module.py index 0e24638ac0..d366d62a06 100644 --- a/packages/modules/chargepoints/openwb_series2_satellit/chargepoint_module.py +++ b/packages/modules/chargepoints/openwb_series2_satellit/chargepoint_module.py @@ -120,7 +120,9 @@ def set_current(self, current: float) -> None: self.delay_second_cp(self.CP1_DELAY) with self._client.client: if self.version: - self._client.evse_client.set_current(int(current)) + formatted_current = round(current*100) if self._client.evse_client._precise_current else round(current) + self._client.evse_client.set_current(formatted_current) + log.debug("Current Set to EVSE(Satelite): %s", formatted_current) else: self._client.evse_client.set_current(0) except AttributeError: