Closed stenrose closed 3 years ago
Hi @stenrose Guess the wallbox didn't like when you changed the mode while it was connected... Have you tried doing the same from the web UI? I've fixed the missing UNAVAILABLE status in v1.0.5, so the integration shouldn't fail if the connector becomes unavailable.
@sockless-coding yes, I tried changing through web UI as well as manually with cURL. The web UI changes to "Charging paused(Master)" from "Vehicle connected".
Here's a diff on the output from the REST API when setting mode
to ALWAYS_OFF
while connector is connected.
--- - 2021-02-21 20:10:44.401310985 +0100
+++ /dev/fd/63 2021-02-21 20:10:44.343600195 +0100
@@ -3,17 +3,17 @@
"connectedToInternet": true,
"freeCharging": false,
"ocppConnectionState": null,
- "connector": "CONNECTED",
- "mode": "ALWAYS_ON",
+ "connector": "UNAVAILABLE",
+ "mode": "ALWAYS_OFF",
"currentLimit": 25,
"factoryCurrentLimit": 32,
"switchCurrentLimit": 25,
- "powerMode": "ON",
+ "powerMode": "UNAVAILABLE",
"currentChargingCurrent": 0,
"currentChargingPower": 0,
"accSessionEnergy": 0,
"latestReading": 1161700,
- "chargeStatus": 48,
+ "chargeStatus": 144,
"updateStatus": {
"serialsToUpdate": [],
"serialsUpdated": [],
Thanks for the quick fix. For future reference, fixed by 11aa19605811a0d7617b1124855025d72eee0728.
I set mode to
ALWAYS_OFF
(through Home Assistant, using thegaro_wallbox.set_mode
service) while the connector was still plugged in the vehicle after a completed charge. The charge was thus paused from the vehicle. When I changed mode, some values changed such as to"connector": "UNAVAILABLE"
,"powerMode": "UNAVAILABLE"
and"chargeStatus": 144
(previously"chargeStatus": 48
).Noticed the following exceptions in the logs:
Here is how the output from
/rest/chargebox/status
looks before and after changingmode
.