sockless-coding / garo_wallbox

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

enhancement: Possibility of changing the "Charge Mode" and "Charge Current". #4

Closed maccan-tech closed 3 years ago

maccan-tech commented 3 years ago

Hi.

I am looking to buy a Garo wallbox and using this excellent custom component. I would love to see the possibility of changing the "Charge Mode" and "Charge Current" from inside Home Assistant, maybe with 2 services.

Found this in a forum , but dont have a Garo yet to test on.

curl 'http://192.168.0.138:2222/rest/chargebox/mode' -H 'Content-Type: application/json; charset=UTF-8' --data-binary 'ALWAYS_ON'

curl 'http://192.168.0.138:2222/rest/chargebox/mode' -H 'Content-Type: application/json; charset=UTF-8' --data-binary 'ALWAYS_OFF'

curl 'http://192.168.0.138:2222/rest/chargebox/mode' -H 'Content-Type: application/json; charset=UTF-8' --data-binary 'SCHEMA'

curl 'http://192.168.0.138:2222/rest/chargebox/config' -H 'Content-Type: application/json; charset=UTF-8' --data-binary '{"reducedCurrentInterval":{"chargeLimit":"28"},"master":true}'

Med Vänliga Hälsningar Marcus

sockless-coding commented 3 years ago

Hi,

I've had that on my ToDo list, for a long time maybe it's time to do something about it... :)

sockless-coding commented 3 years ago

I haven't released a new version but it's now possible to set the Mode of the EVSE and the current limit. I'm going to see if I can consolidate the pull request first.

maccan-tech commented 3 years ago

Excellent work 👍 Coffee is on its way

sockless-coding commented 3 years ago

Cheers ☕ I was about time I got around implementing it :)