pyze icon indicating copy to clipboard operation
pyze copied to clipboard

New "engine status" endpoint

Open jamesremuscat opened this issue 4 years ago • 7 comments

/commerce/v1/accounts/{id}/kamereon/kca/car-adapter/v1/cars/{vin}/res-state (GET)

Theoretically returns an object with code and details, where code is one of:

STOPPED_READY_FOR_KEY(11),
STOPPED_READY_FOR_RES(10),
RUNNING_BY_KEY(21),
RUNNING_BY_RES(42),
NOT_AVAILABLE(1),
INTERNAL_ERROR(0),
NOT_ENABLED(2),
NOT_YET_READY(3),
ERROR_CODE(9223372036854775808)

I don't know what "RES" is meant to mean.

Trying this endpoint on my ZE40 results in an HTTP 403; might be a ZE50-only thing, might be as inconsistent as some of the other endpoints, might not even be relevant to the Zoe (though the use of "engine" might just be force of habit).

Anyone else get anything useful here?

jamesremuscat avatar Apr 24 '20 10:04 jamesremuscat

Maybe "RES" means "reservation" (for car sharing?). Who knows...

premultiply avatar Apr 24 '20 10:04 premultiply

Ah, think I figured it out: Remote Engine Start.

jamesremuscat avatar Apr 24 '20 10:04 jamesremuscat

On ze50 : {'type': 'FUNCTIONAL', 'messages': [{'code': 'err.func.403', 'message': '{"errors":[{"status":"403","code":"security.access","detail":"Access is denied for this resource"}]}'}], 'errors': [{'errorCode': 'err.func.403', 'errorMessage': '{"errors":[{"status":"403","code":"security.access","detail":"Access is denied for this resource"}]}'}], 'error_reference': 'FUNCTIONAL'}

Le ven. 24 avr. 2020 à 12:22, premultiply [email protected] a écrit :

Maybe "RES" means "reservation" (for car sharing?). Who knows...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jamesremuscat/pyze/issues/56#issuecomment-618929688, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRSUF2PMJWGIVMKSY3CN5DROFR5DANCNFSM4MP64EZA .

neutrino85 avatar Apr 24 '20 10:04 neutrino85

Remote Engine Start :-) Hehe, a little bit useless on electric car, isn't it? Maybe for remote sound module start :-D

premultiply avatar Apr 24 '20 10:04 premultiply

Has anyone tried the app or the pyze module on a non-electric recent Renault model? I know pyze is directed at the the ZE models, but maybe Renault has it planned for non-ZE models...

epenet avatar Apr 24 '20 10:04 epenet

In Renault's own Kamereon resource they use it for getEngineStatus

mfonville avatar Nov 28 '20 22:11 mfonville

I did setup an user friendly page for easy testing:

http://jumpjack.altervista.org/myrenault

On my Plugin Captur I get a "forbidden" error too for res-status (and for actions/engine-start)

jumpjack avatar Oct 08 '21 19:10 jumpjack