Skip to content

OCPP 2.1 enums are incomplete #774

Closed

Description

@astrand

The enums for OCPP 2.1 are incomplete. The file v21/enums.py is much smaller than v201/enums.py . Some enums are missing, like ControllerComponentName.AlignedDataCtrlr . It is present in the standard CSV in both versions:

OCPP-2.0.1_Edition4/OCPP-2.0.1_Edition4_all_files/Appendices_CSV_v1.5/components.csv:AlignedDataCtrlr; Logical Component responsible for configuration relating to the reporting of clock-aligned meter data.
OCPP-2.1_Edition2/OCPP-2.1_edition2_all_files/Appendices_CSV_v2.1/components.csv:AlignedDataCtrlr; Logical Component responsible for configuration relating to the reporting of clock-aligned meter data.

But only present in v201 enum:
$ grep -r AlignedDataCtrlr
v201/enums.py: aligned_data_ctrlr = "AlignedDataCtrlr"

Not present in v21/enums.py .

A large number of classes are now missing:

$ diff -bu v201/enums.py v21/enums.py | grep ^-class | wc
110 220 4800

Activity

  1. added
    bug
    on Sep 3, 2026
  2. github-actions commented on Oct 4, 2026

    @github-actions

    This issue is stale because it has been open for 30 days with no activity.

  3. github-actions commented on Oct 19, 2026

    @github-actions

    This issue was closed because it has been inactive for 14 days since being marked as stale.

  4. astrand commented on Oct 19, 2026

    @astrand
    ContributorAuthor

    I think this auto closing due to short inactivity does not make sense. An issue does not automatically go away just because time passes. Please stop that.

  5. a-alak commented on Oct 19, 2026

    @a-alak
    Contributor

    I totally agree!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions