SAIC-iSmart-API / saic-python-client

MIT License
12 stars 4 forks source link

Observations on charging start #14

Open kaischmitz opened 10 months ago

kaischmitz commented 10 months ago

I recently had a situation where I tried to start charging wia the MQTT gateway, which did not work. I then took a trace of how the original app was subsequently able to successfully start charging.

I have observed the original app making four failed calls every 2 seconds with message id 7, there was an error message returned "The remote control instruction failed, please try again later." and the result code was 4.

The fifth call then succeeded. The returned application data was

$ convert OTAChrgCtrlStsResp F030100000000020 otachrgctrlstsresp OTAChrgCtrlStsResp ::= { chrgCtrlDspCmd 6, chrgCtrlResp 2, bmsDsChrgCtrlDspCmd 0, bmsDsChrgCtrlResp 0, ccuEleccLckCtrlDspCmd 0, ccuEleccLckCtrlResp 0 }

In another situation where charging was blocked by the Wallbox chrgCtrlResp has a value of 0. The result code was also 0.

otachrgctrlstsresp OTAChrgCtrlStsResp ::= { chrgCtrlDspCmd 6, chrgCtrlResp 0, bmsDsChrgCtrlDspCmd 0, bmsDsChrgCtrlResp 0, ccuEleccLckCtrlDspCmd 0, ccuEleccLckCtrlResp 0 }