openevse_esp32_firmware icon indicating copy to clipboard operation
openevse_esp32_firmware copied to clipboard

TransactionMessageAttempts and TransactionMessageRetryInterval is get status "Not Supported"

Open flyrobot opened this issue 1 year ago • 5 comments

"key":"TransactionMessageAttempts","value":"0" "status":"NotSupported"

"key":"TransactionMessageAttempts","value":"3" "status":"NotSupported"

"key":"TransactionMessageRetryInterval","value":"60" "status":"NotSupported"

is any specific value needed ?

flyrobot avatar Jan 15 '24 13:01 flyrobot

The OCPP library does not support these configs, that's true. Currently, the MessageAttempts are unlimited and the RetryInterval is a constant. Does this affect the compatibility with your backend?

matth-x avatar Jan 15 '24 17:01 matth-x

Yes this is a mandatory to comply in backend. they also have some charger and i see they do not have this issue.

flyrobot avatar Jan 16 '24 01:01 flyrobot

Add custom configs like this:

https://github.com/OpenEVSE/openevse_esp32_firmware/blob/f4a3d3114b5d1e37c1d66568bd710d024b4a90e3/src/ocpp.cpp#L107-L112

After these lines, add new declareConfiguration instructions. Change <bool> to int and pass any factory default values.

The OCPP lib will ignore these configs, but I assume that the tests won't verify the behavior.

matth-x avatar Jan 16 '24 15:01 matth-x

githubcapture

do you mean become like this ?

flyrobot avatar Jan 17 '24 05:01 flyrobot

i try this config above, still doesn't work. may be im wrong add a new declareConfiguration, please advice.

flyrobot avatar Jan 18 '24 15:01 flyrobot