OCPI (Open Charge Point Interface) implementation for .Net, built with C#
OCPI Version | Support | Progress |
---|---|---|
2.2.1 | โ๏ธ | |
2.2 | Partial | (#15) |
2.1.1 | Planned | (#16) |
2.1 | Planned | (#17) |
OCPI implementation for .Net
Home Page: https://bitzart.github.io/OCPI.Net/
License: MIT License
OCPI (Open Charge Point Interface) implementation for .Net, built with C#
OCPI Version | Support | Progress |
---|---|---|
2.2.1 | โ๏ธ | |
2.2 | Partial | (#15) |
2.1.1 | Planned | (#16) |
2.1 | Planned | (#17) |
Hi @YuriyDurov,
Did you considered creating a base class for all the OCPI modules objects?
Maybe even only with the common "id", "last_updated" properties.
It might help handling more generically different OCPI modules objects.
Would be happy to hear what you think about this.
Thanks,
Lior
This issue will be used to track progress on achieving backward compatibility for OCPI version 2.1.1
Depends on #15
This issue will be used to track progress on creating package documentation for all features implemented in OCPI.Net 1.0
I think we need a quickstart guide in our documentation explaining how to create a new OCPI-compliant service.
Hi! Appreciate your work very much, thank you!
One little problem that hounds me is that a route for ocpi controller HAS to start from the version id like
[Route("2.2/credentials")]
, for instance.
Because
var route = routes.FirstOrDefault(x => x.StartsWith(version.ToMemberValue()));
(OcpiVersionService.ParseEndpoint)
Could you please change it to something like
var route = routes.FirstOrDefault(x => x.Contains($"{version.ToMemberValue()}/"));
or
var route = routes.FirstOrDefault(x => x.StartsWith(version.ToMemberValue()) || x.Contains($"/{version.ToMemberValue()}/"));
to unblock me?
This issue will be used to track progress on achieving backward compatibility for OCPI version 2.2
Hi @YuriyDurov
1- Can the Nuget be installed in the dot net Maui-style mobile app?
2- Is there an event-driven model to receive endpoint updates?
Hi,
The Country Code serialization strings values that are defined on the library are of lower case.
From what I see on the OCPI protocol (version 2.2.1), the Country Code values should be formatted according to the ISO-3166 alpha-2 protocol:
https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
Meaning, Country Codes values should of upper case.
WDYT?
Did other clients of the library also raised this issue?
Currently, it's a problem for us to use the library OCPI modules objects, since the OCPI parties we are interacting with don't accept the lower case Country Codes.
Would be happy to hear your feedback regarding this.
Thanks,
Lior
Hello,
I'm just curious, how do you test your OCPI implementation?
Are you using any test suite? Or did you write something yourself?
This issue will be used to track progress on achieving backward compatibility for OCPI version 2.1
Depends on #16
Hey,
I want to ask about OCPI as I didn't find any resource over the internet, who implements the OCPI?
There are two parties, the station provider and the mobile app provider. should the station provide the APIs to the provider or the opposite? are there any resources to read from?
hello, I wanted to try a web service with your library, but I am getting the following error, what could be the reason?
Thank you
Can not parse 'Receiver' to enum 'InterfaceRole'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.