goecharger / go-eCharger-API-v2

New API specification for V3 and V4 go-eCharger
91 stars 20 forks source link

How to start charging over API if eCharger is set to "Auth" #218

Open eingemaischt opened 4 months ago

eingemaischt commented 4 months ago

I want the charger to not automatically start charging. So I configured it to closed mode.

My old v2 started charging if I set "allow_charging" / alw to 1.

My new Gemini does...nothing. I have to allow charging via app first. Setting allow_charging to 0 works, though.

BBessler commented 4 months ago

wie setzt du die Farben der LEDs über die API? Immer wenn ich dies versuche bekomme ich die Fehlermeldung "cch: tried to set api key with invalid json EmptyInput ()"

erxbout commented 3 months ago

You could achieve the start of charging by changing the mode to basic? This would be the api-key "lmo" (logic mode) to 3

For debugging you can check modelStatus where u get a reason why charging is allowed/disallowed at that moment

0xFEEDC0DE64 commented 2 months ago

if authentication is set to required, a transaction has to be started to allow the car to charge, use trx=0 for example to start the transaction. The transaction is automatically cleared once the car is disconnected