Giter Club home page Giter Club logo

Comments (9)

matth-x avatar matth-x commented on May 31, 2024

Hi @rccess,

Have you had a chance to check the logs of your OCPP backend system? It looks like the backend has blocked the idTag. From that point on, the EVSE cannot start a transaction. In SteVe, that's most often due to a previous transaction which still counts as active and therefore occupies the idTag. You can probably delete obsolete transactions by hand in the backend (in SteVe, you can for sure).

The debug messages here are not too helpful here, admittedly. From f925f1b on, the library also prints the reason for the denial of the idTag.

from microocpp.

rccess avatar rccess commented on May 31, 2024

Hello @matth-x

There is another issue at the moment
image

image

"stack": "Error: OCPP Command 'RemoteStartTransaction' has failed

  "error": "Error: Timeout after 10 secs for Message ID 'f3b713f4-a655-4886-8b36-cdae54e57b78' with content '[2,\"f3b713f4-a655-4886-8b36-cdae54e57b78\",\"RemoteStartTransaction\",{\"connectorId\":1,\"idTag\":\"KH1675768958\"}] (app)

other charging station starting with same idTag

Please do advise

from microocpp.

matth-x avatar matth-x commented on May 31, 2024

RemoteStartTransaction is available when you configure it with

https://github.com/matth-x/ArduinoOcpp/blob/e742bc760950731309c9c9ce1e4391a69ac2da82/src/ArduinoOcpp.h#L91

Inside the callback, you must decide whether to actually start a transaction (e.g. you might not if no cable is plugged) and call startTransaction() if yes.

from microocpp.

rccess avatar rccess commented on May 31, 2024

image

image

i have disable that line but still same issue

from microocpp.

matth-x avatar matth-x commented on May 31, 2024

Oh that line must remain in ArduinoOcpp.h.

You can implement RemoteStartTransaction like that:

https://github.com/matth-x/ArduinoOcpp/blob/e742bc760950731309c9c9ce1e4391a69ac2da82/examples/SECC/main.cpp#L273-L280

from microocpp.

rccess avatar rccess commented on May 31, 2024

image

i have defined setOnRemoteStartTransactionSendConf and setOnRemoteStopTransactionSendConf in setup

But issue is still same,

Transaction got rejected with error

image

from microocpp.

matth-x avatar matth-x commented on May 31, 2024

My guess is that the BootNotification has never succeeded in the latest run. Without the BootNotification, the EVSE remains silent and doesn't react on RemoteStartTransactions. Can you maybe roll back the changes to the code in the first post above (there it worked).

If you add the following lines to platformio.ini and post the full debug output, the problem will become much more apparent:

https://github.com/matth-x/ArduinoOcpp/blob/e742bc760950731309c9c9ce1e4391a69ac2da82/platformio.ini#L21-L23

from microocpp.

rccess avatar rccess commented on May 31, 2024

BootNotification is calling in lastest version

image

can you please advise on the same

Thanks in advance !

from microocpp.

matth-x avatar matth-x commented on May 31, 2024

Closed due to inactivity

from microocpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.