Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local RFID behaviour vs. OCPP is erratic #176

Open
mschmitt opened this issue Sep 2, 2023 · 5 comments
Open

Local RFID behaviour vs. OCPP is erratic #176

mschmitt opened this issue Sep 2, 2023 · 5 comments
Assignees

Comments

@mschmitt
Copy link

mschmitt commented Sep 2, 2023

I'm working on a personal OCPP implementation (not pushed to Github yet) and have observed the following behaviour between Firmware 055.5 and 055.7 Beta when presenting an RFID tag that's locally known to the charger:

  • 055.5: Sends locally known RFID tags to OCPP for authorization. Once authorized, consumption is reported to OCPP (StartTransaction/StopTransaction) and also added to the local RFID slot. The consumption after RemoteStartTransaction for the same RFID tag's ID is also added to the RFID slot.
  • 055.7 BETA: Accepts locally known RFID tags without any OCPP interaction, but adds consumption to the next free (unassigned) RFID configuration slot. (Clarification: In my case, the consumption went towards slot 3, which has no RFID assigned, and the RFID in use was assigned to slot 2, might be an off-by-one situation.)

Is the Beta moving towards a new way of handling of locally known RFIDs where they are handled autonomously without OCPP interaction, or is this behaviour completely unintended?

@mschmitt
Copy link
Author

mschmitt commented Sep 17, 2023

  • 055.7 released. Reproducible as described above. No OCPP interaction on locally known RFID, consumption counts towards wrong RFID.
  • 055.8 BETA, reproducible as described above. No OCPP interaction on locally known RFID, consumption counts towards wrong RFID.
  • Can now confirm that consumption counts towards RFID slot +1:
    • Present RFID 2, consumption counts towards RFID 3. (As observed earlier, 055.7 Beta, 055.7, 055.8 Beta)
    • Present RFID 1, consumption counts towards RFID 2. (Tried on 055.8 Beta only)
  • Unknown RFID is passed to OCCP for authorization. (Tried on 055.8 Beta only)
  • Back to 055.5 for me.

@mschmitt mschmitt changed the title Local RFID behaviour vs. OCPP Local RFID behaviour vs. OCPP is erratic Sep 17, 2023
@0xFEEDC0DE64 0xFEEDC0DE64 self-assigned this Sep 18, 2023
@0xFEEDC0DE64
Copy link
Contributor

thanks for reporting, we will check this and maybe release another beta firmware with fixes applied

@mschmitt
Copy link
Author

  • 56.1 released.
  • Present RFID associated with local slot 1
    • Activation goes through OCPP: no (expected: yes)
    • Consumption counts toward local slot 1: no, to slot 2 (expected: yes, to slot 1)
  • Present RFID associated with local slot 2
    • Activation goes through OCPP: no (expected: yes)
    • Consumption counts toward local slot 2: no, to slot 3 (expected: yes, to slot 2)
  • Present completely unknown RFID
    • Activation goes through OCPP and gets denied: yes (expected: yes)
  • Back to 055.5 for me.

@0xFEEDC0DE64
Copy link
Contributor

Please try to verify or change the configuration values of AllowOfflineTxForUnknownId, LocalAuthorizeOffline, LocalAuthListEnabled

Should we do a short meeting going through the stack? We would enable the go-e ocpp debug mode on your box so we see the incoming and outgoing traffic and all state transitions in between.
You can also always ask the go-e support if you include timestamps and serial numbers, maybe ask them for a direct google meets link together with me, Daniel :)

@mschmitt
Copy link
Author

I'll be glad to help out. Feel free to get in touch with me directly (the "href" link on my github profile).

If you need some sort of paper trail with support, I can also take that path.

In the mean time, the OCPP values you asked about:

    {
      "key": "AllowOfflineTxForUnknownId",
      "readonly": false,
      "value": "0"
    },
    {
      "key": "LocalAuthorizeOffline",
      "readonly": false,
      "value": "0"
    },
    {
      "key": "LocalAuthListEnabled",
      "readonly": false,
      "value": "0"
    },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants