Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugged connector check #333

Open
Wert137-dsp opened this issue Jul 2, 2024 · 2 comments
Open

Plugged connector check #333

Wert137-dsp opened this issue Jul 2, 2024 · 2 comments

Comments

@Wert137-dsp
Copy link

Wert137-dsp commented Jul 2, 2024

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.

@matth-x
Copy link
Owner

matth-x commented Jul 5, 2024

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.

@Wert137-dsp
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants