MicroOcpp icon indicating copy to clipboard operation
MicroOcpp copied to clipboard

Plugged connector check

Open Wert137-dsp opened this issue 1 year ago • 2 comments

Hello @matth-x

I want to check when the charger is plugged into the vehicle, there is the setConnectorPluggedInput function, but I didn't find anything within the lib to retrieve this information, I wrote a code to resolve this issue but I would like to know if there is already a solution.

Wert137-dsp avatar Jul 02 '24 15:07 Wert137-dsp

Hi @Wert137-dsp, there is no method to read back those values. When I work on firmware and need the connector status somewhere else, I usually store the status in a separate variable which I can fully access before reporting it to MicroOcpp.

matth-x avatar Jul 05 '24 09:07 matth-x

Hi @matth-x , do you have any example code for implementing this part that you can provide?

Wert137-dsp avatar Jul 11 '24 11:07 Wert137-dsp