I was hoping I could use $SH X to override an active delay timer (openevse sleeping), but it returns $NK^21 even though the state is in "B" (connected) {"cmd":"$G0","ret":"$OK 1^31"}%. Seems the reference to the delay timer is only for preventing delay timer from causing the evse to enter sleep mode, not to override a sleeping EVSE.
It also appears that $SH will not work in "sleeping" mode, nor will it pull the evse out of sleep, so conditions for use appear to be:
EVSE enabled
EVSE state B or C
I assume this applies to $S3 as well (but I have not confirmed.
With the current state of things, the only way I found to "activate" the charger with a kWh limit when a sleep timer is active is:
get and store current timer settings: $GT
clear timer: $ST+0+0+0+0
enable evse (as clearing timer leaves in sleep mode): $FE
set kWh limit: $SH+1
wait until charge is done
re-set timer (with values from first step): $ST+13+0+16+0
Attempting to set the timer while actively charging and a kWh limit value set will sleep the EVSE. Getting that timing right makes me nervous.
Seems there has to be a better way to override the timer, but $FE does not override it (goes immediately back to sleep). I can use $F1 to override the sleep timer (for the current session?), but for some reason I am uncomfortable with the non-explicit command of "simulate a button".
There is also no way to clear a kWh limit value when not in a good "state" (to prepare for when state is "good" to start session).
Proposals:
$FE equivalent option to override timer sleep mode
Prevent $ST from activating sleep mode when actively charging and kWh limit value set
Setting '$SH' when EV connected and sleep state pulls EVSE into enabled state
Bonus: Ability modify kWh limit value regardless of "state"
https://github.com/lincomatic/open_evse/blob/51f71ed7ac5e2b339ca54c1a18caaf7930916a02/firmware/open_evse/rapi_proc.h#L190
I was hoping I could use
$SH X
to override an active delay timer (openevse sleeping), but it returns$NK^21
even though the state is in "B" (connected){"cmd":"$G0","ret":"$OK 1^31"}%
. Seems the reference to the delay timer is only for preventing delay timer from causing the evse to enter sleep mode, not to override a sleeping EVSE.It also appears that
$SH
will not work in "sleeping" mode, nor will it pull the evse out of sleep, so conditions for use appear to be:I assume this applies to
$S3
as well (but I have not confirmed.With the current state of things, the only way I found to "activate" the charger with a kWh limit when a sleep timer is active is:
$GT
$ST+0+0+0+0
$FE
$SH+1
$ST+13+0+16+0
Attempting to set the timer while actively charging and a kWh limit value set will sleep the EVSE. Getting that timing right makes me nervous.
Seems there has to be a better way to override the timer, but
$FE
does not override it (goes immediately back to sleep). I can use$F1
to override the sleep timer (for the current session?), but for some reason I am uncomfortable with the non-explicit command of "simulate a button".There is also no way to clear a kWh limit value when not in a good "state" (to prepare for when state is "good" to start session).
Proposals:
$FE
equivalent option to override timer sleep mode$ST
from activating sleep mode when actively charging and kWh limit value setAside: I assume this setting will use "cumulative" value now (comments use the term "total"), despite references to "additional" in https://github.com/lincomatic/open_evse/issues/96