garo_wallbox icon indicating copy to clipboard operation
garo_wallbox copied to clipboard

Unexpected error creating device

Open albatorsk opened this issue 4 years ago • 5 comments

I have been using this integration successfully for several months, but today I made the fatal mistake of upgrading my GLBDC-T222WO-A to the latest firmware (from 6.9 I believe, to 1.2.2 (must be a new version numbering scheme)). After doing so, I could still control my wallbox from Home Assistant, up until that I rebooted Home Assistant. Then it would no longer communicate with my wallbox. I decided to remove the integration and set it up again, but now it will not accept the wallbox when trying to add it. A popup is shown with the text: "Aborted. Unexpected error creating device."

The URLs http://xxx.xxx.xxx.xxx:2222/rest/chargebox/status and http://xxx.xxx.xxx.xxx:2222/rest/chargebox/config are accessible and gives me JSON output that can be easily parsed with jq without any errors.

I'm using the Garo integration version 1.0.6 with Home Assistant 2021.3.1.

albatorsk avatar Mar 05 '21 20:03 albatorsk

The error seems to be related to the connector state. When I tried to add the wallbox to the integration in HASS, it was disabled. The state was DISABLED. So I enabled the charger, and it's now set to CHARGING (as my car is connected and charging), and I could now once again add the wallbox to the HASS integration.

albatorsk avatar Mar 05 '21 21:03 albatorsk

This should be solved by #13 Testing this weekend. Got a garo wallbox Modell: GLBDCWM-T222FC Mjukvaruversion: 1.2.2

maccan-tech avatar Mar 26 '21 08:03 maccan-tech

Can we expect a release soon with the fix? As soon as I disable the charger throug web GUI it kills the integration.

best regards!

daunjo avatar Mar 31 '21 15:03 daunjo

I haven't had the time to verify the merge changes more than that they didn't break anything. But they are included in the v1.0.7

sockless-coding avatar Mar 31 '21 18:03 sockless-coding

Seems to work, I could add the integration with the charger disabled, and the sensor keeps reacting when changing modes. Fingers crossed, good work!

daunjo avatar Mar 31 '21 22:03 daunjo