sockless-coding / garo_wallbox

Garo wallbox - Home Assistant Component
MIT License
20 stars 39 forks source link

Set mode and limit doesn't work #5

Closed andreasropel closed 3 years ago

andreasropel commented 3 years ago

Cannot set neither mode or charging limit. I have the latest version installed through HACS.

I have a Garo box with P/N GLBDCW-T222FC

image
sockless-coding commented 3 years ago

@andreasropel Hi, do you get any log entries when you try to change the mode / limit? Also, there is a 30s delay between sensor updates.

Does the GLBDCW-T222FC have built in WIFI or did you have to get the WIFI module, I cant find the GLBDCW model on garo.se though I see that is a supported model in web-ui of my GLBDCM...

andreasropel commented 3 years ago

@sockless-coding I have in my configuration.yaml following line in order to debug: custom_components.garo_wallbox: debug

Nothing in log shown regarding the Wallbox. The thing is, that it all works but the set mode and set current service.

I do have a wifi module installed in the box, can communicate perfectly and it seems that it is the same commands to set mode and current.

I guess the Wallbox is a fork of the GLBDCM-T222FC.

When I try to run the service, I get this (I know, it's in Swedish):

image
sockless-coding commented 3 years ago

@andreasropel I wonder if it might just be a bit too picky with the modes try calling it with the following: entity_id: sensor.garoglb mode: On

It might not like the ' and the modes are On, Off, Schema

andreasropel commented 3 years ago

@sockless-coding That did the trick! How about setting the current.

Trying this: entity_id: sensor.garoglb limit: 10

Nothing happens. Where can I verify the limit if not in the status json readout from the box? "currentLimit": 16

sockless-coding commented 3 years ago

@andreasropel Ah good that the mode thing got sorted :)

There can be a delay when setting the limit but only a few seconds, do you have a fixed limit or schema set on the box itself? If you are looking at the json the limit is set by the reducedCurrentIntervals

andreasropel commented 3 years ago

@sockless-coding Sorted this one as well.

I needed to set a time period with the limitation in the wallbox GUI first. Now I can change in Home Assistant :) Thanks for support.

Closing this issue.