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

Added charging schedules definition #582

Merged
merged 9 commits into from
Apr 10, 2024

Commits on Mar 13, 2024

  1. feat: create YAML/JSON definition for charging schedule

    Note this is an API breaking change. Originally charging schedules were
    published:
    
    { "0": {...}, "1": {...}}
    
    using the connector number as the key. This is not supported
    in the YAML interface or type definitions.
    Instead an array is used with an additional key added:
    
    [ { "connector": 0, ...}, { "connector": 1, ...} ... ]
    
    Note is should not be assumed that the array index will match the connector
    number.
    
    The existing types in libocpp have not been changed. A new mapping
    has been created in the OCPP module.
    (OCPP201 doesn't publish schedules at the moment)
    
    Signed-off-by: James Chapman <[email protected]>
    james-ctc committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    adeb7f2 View commit details
    Browse the repository at this point in the history
  2. fix: Arrays not supported by the autogenerated code

    The autogenerated code doesn't support a module var being an array
    (of a specific object type)
    
    [{},{}]
    
    Instead the array is now wrapped in an object:
    
    {"schedules": [{},{}]}
    
    Signed-off-by: James Chapman <[email protected]>
    james-ctc committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    f86d526 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. feat: add optional EVSE id for OCPP 2.0.1

    Signed-off-by: James Chapman <[email protected]>
    james-ctc committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    bfe1aa6 View commit details
    Browse the repository at this point in the history
  2. fix: addressed PR comments on use of snake_case

    fix: moved conversions to separate file
    
    Signed-off-by: James Chapman <[email protected]>
    james-ctc committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    fa3f464 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    66af61f View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Configuration menu
    Copy the full SHA
    755ac65 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. Configuration menu
    Copy the full SHA
    472ab02 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. Configuration menu
    Copy the full SHA
    a45217a View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. Configuration menu
    Copy the full SHA
    497bfd5 View commit details
    Browse the repository at this point in the history