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

External control / Start, Stop, Disable #552

Open
ghost opened this issue Jan 29, 2024 · 3 comments
Open

External control / Start, Stop, Disable #552

ghost opened this issue Jan 29, 2024 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 29, 2024

Hello.
First of all, I'm sorry if this not a kinf of an issue.

I'm new to the project and need some help.
I managed to get it running on my Raspberry pi.

Is it possible to externally (by API, MQTT or something) enable or disable charging?
For example, I want to ultilize a rfid card reader, that will enable charging at full current, using a simple python script
to communicate with the TWCmanager.

Is this possible?

Thank you, very much.

@MikeBishop
Copy link
Collaborator

There is an HTTP-based API. If TWCManager is already controlling charging, you can override the offered charge rate with the chargeNow command, giving a current and duration. You can cancel it early with cancelChargeNow.

@ghost
Copy link
Author

ghost commented Feb 16, 2024

Hello @MikeBishop

Thank you for your reply.
I did some testing with Nissan eLeaf today.

FIrst thing is that "Solar Surplus" is always active, which I do not want. I don't have a solar installation.
I searched a bit and found this:

'''
"restrictions":{
"Track Green Energy":{
"match":[""],
"condition":["false"],
"value":[""]

'''

Which was only way, hotwto get the "Do Not Charge" button lit.

Second thing.
Even if setting the TWC to "Do not Charge", the car started charging after plugin it in.

I would like to block any kind of charging, unless I tell the charger to do so.

Here are my settings and config,

settings.json
config.json

Thank you.

@ghost ghost changed the title External controll External control / Start,Stop Feb 26, 2024
@ghost ghost changed the title External control / Start,Stop External control / Start,Stop, Disable Feb 26, 2024
@ghost ghost changed the title External control / Start,Stop, Disable External control / Start, Stop, Disable Feb 26, 2024
@ghost
Copy link
Author

ghost commented Feb 28, 2024

@MikeBishop
Would you know, how to prevent the TWC from charging after connecting the the car?
I mean to be able to charge car only by pressing charge now from the ui, or via api.

I thought about using the offset, but I'm not sure about that?

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

1 participant