CurtRod / SimpleEVSE-WiFi

Brings EVSE WB/DIN into your WiFi
https://www.evse-wifi.de
78 stars 33 forks source link

Enhancement: Disable/Enable EVSE when using always on-mode #42

Closed rtfmjoey closed 4 years ago

rtfmjoey commented 4 years ago

Is it possible to add a feature to allow enable/disable of EVSE via API when using always-on mode? (or some other form of administrative on/off - allowed/not allowed to charge)

I've integrated with Domoticz to balance charging current and when max current is exceeded the EVSE is disabled so I don't blow the main fuses.

In always-on mode this is not possible atm, the EVSE is not deactivated when setStatus?active=false is used.

CurtRod commented 4 years ago

That is correct. In always active mode EVSE will never be deactivated. This feature may come with version 0.4.0.

CurtRod commented 4 years ago

use the API to set Current to 0: http://YOURIP/setCurrent?current=0

andig commented 4 years ago

@CurtRod coming from https://github.com/andig/evcc I'm confused which API to use. In the past I've used setStatus which still seems to exist but you're recommending setCurrent. When would I use the one or other?