Skip to content

Commit

Permalink
new V1.3.1 for .NET 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dallmann-consulting committed Mar 12, 2024
1 parent 8f505eb commit 8df3fcb
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
10 changes: 5 additions & 5 deletions OCPP.Core.Database/OCPP.Core.Database.csproj
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Version>1.3.0</Version>
<TargetFramework>net8.0</TargetFramework>
<Version>1.3.1</Version>
<Company>dallmann consulting GmbH</Company>
<Product>OCPP.Core</Product>
<Authors>Ulrich Dallmann</Authors>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.13" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.13" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.13" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.2" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions OCPP.Core.Management/OCPP.Core.Management.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Version>1.3.0</Version>
<TargetFramework>net8.0</TargetFramework>
<Version>1.3.1</Version>
<Company>dallmann consulting GmbH</Company>
<Authors>Ulrich Dallmann</Authors>
<Product>OCPP.Core</Product>
Expand Down
4 changes: 2 additions & 2 deletions OCPP.Core.Server/OCPP.Core.Server.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Version>1.3.0</Version>
<TargetFramework>net8.0</TargetFramework>
<Version>1.3.1</Version>
<Company>dallmann consulting GmbH</Company>
<Product>OCPP.Core</Product>
<Authors>Ulrich Dallmann</Authors>
Expand Down
2 changes: 1 addition & 1 deletion OCPP.Core.Server/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"ShowIndexInfo": true, // show status info in root web
"MaxMessageSize": 1048576, // max. allowed message size in bytes
"ValidateMessages": true, // validate incoming messages against schema
"DenyConcurrentTx": true, // deny concurrent transactions with same charge-tag
"DenyConcurrentTx": false, // deny concurrent transactions with same charge-tag
"HeartBeatInterval": 300, // in seconds (=> interval is send to chargers)

"ApiKey": "36029A5F-B736-4DA9-AE46-D66847C9062C",
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# OCPP.Core
OCPP.Core is an OCPP ([Open ChargePoint Protocol](https://en.wikipedia.org/wiki/Open_Charge_Point_Protocol)) server written in .NET 6. It includes a management Web-UI for administration of charge points and charge tokens (RFID-Token)
OCPP.Core is an OCPP ([Open ChargePoint Protocol](https://en.wikipedia.org/wiki/Open_Charge_Point_Protocol)) server written in .NET 8. It includes a management Web-UI for administration of charge points and charge tokens (RFID-Token)

## Status
It currently supports OCPP1.6J and 2.0(JSON/REST).

OCPP.Core is currently used with 4 [KEBA P30c/x](https://www.keba.com/de/emobility/products/c-series/c-serie) charge points operating in a load management and OCPP1.6J.
OCPP.Core is currently used with 6 [KEBA P30c/x](https://www.keba.com/de/emobility/products/c-series/c-serie) charge points operating in a load management and OCPP1.6J.
Here's a report of my [first real live experiences](Real_life_Experiences_KEBA.md).

**Please send feedback if it works with your charge station or has issues**
Expand Down Expand Up @@ -70,7 +70,7 @@ This results in different scenarios for displaying charge points:
If a connector has a name specified this name overrides the charge point name or default scheme (see above). This allows you to define custom names for every connector (like left / right).

## System Requirements
OCPP.Core is written in .NET 6 and therefore runs on different plattforms. I also installed it in Azure for testing purposes.
OCPP.Core is written in .NET 8 and therefore runs on different plattforms. I also installed it in Azure for testing purposes.
The storage is based on the EntityFramework-Core and supports different databases. The project contains script für SQL-Server (SQL-Express) and SQLite.

Referenced Packages:
Expand Down Expand Up @@ -121,6 +121,7 @@ An easy way to test the OCPP-Server are simulators:
* [OCPP-2.0-CP-Simulator](https://github.com/JavaIsJavaScript/OCPP-2.0-CP-Simulator)

Attention: Both simulators have minor and major bugs in certain actions. That's why I modified them both and included copies in this project.
There also is an extended version of the 1.6 simulator with two connectors.

Open one of the simulators in the browser and enter "ws://localhost:8081/OCPP/station42" as the central station URL.
"station42" is the ID of the chargepoint you created in the previous step.
Expand Down

0 comments on commit 8df3fcb

Please sign in to comment.