From 7890a3c46be299df91ab0256285135380a45d51f Mon Sep 17 00:00:00 2001 From: matth-x <63792403+matth-x@users.noreply.github.com> Date: Sun, 3 Nov 2024 11:25:59 +0100 Subject: [PATCH 1/3] update MO Variables API --- lib/MicroOcppMongoose | 2 +- src/evse.cpp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/MicroOcppMongoose b/lib/MicroOcppMongoose index fb1292e..e228297 160000 --- a/lib/MicroOcppMongoose +++ b/lib/MicroOcppMongoose @@ -1 +1 @@ -Subproject commit fb1292ed84fbab18c965a131f8704b61ced0f1b7 +Subproject commit e2282976eed4b98e200e5987f2dded5313902cab diff --git a/src/evse.cpp b/src/evse.cpp index a5f4275..a0261d6 100644 --- a/src/evse.cpp +++ b/src/evse.cpp @@ -28,9 +28,7 @@ void Evse::setup() { //load some example variables for testing if (auto varService = context->getModel().getVariableService()) { - varService->declareVariable("AuthCtrlr", "LocalAuthorizeOffline", false, MO_VARIABLE_VOLATILE); - varService->declareVariable("OCPPCommCtrlr", "OfflineThreshold", false, MO_VARIABLE_VOLATILE); - varService->declareVariable("TxCtrlr", "StopTxOnInvalidId", false, MO_VARIABLE_VOLATILE); + varService->declareVariable("AuthCtrlr", "LocalAuthorizeOffline", false, MicroOcpp::Variable::Mutability::ReadOnly, false); } } } From 20e8da7b76a3f5f3e50facab018a457ecdbcca59 Mon Sep 17 00:00:00 2001 From: matth-x <63792403+matth-x@users.noreply.github.com> Date: Sun, 3 Nov 2024 11:26:14 +0100 Subject: [PATCH 2/3] update readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f300808..6ccc07f 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,13 @@ [![Build (Docker)](https://github.com/matth-x/MicroOcppSimulator/workflows/Docker/badge.svg)]((https://github.com/matth-x/MicroOcppSimulator/actions)) [![Build (WebAssembly)](https://github.com/matth-x/MicroOcppSimulator/workflows/WebAssembly/badge.svg)]((https://github.com/matth-x/MicroOcppSimulator/actions)) -Tester / Demo App for the [MicroOcpp](https://github.com/matth-x/MicroOcpp) Client, running on native Ubuntu, WSL, WebAssembly or MSYS2. Online demo: [Try it](https://demo.micro-ocpp.com/) +Tester / Demo App for the [MicroOCPP](https://github.com/matth-x/MicroOcpp) Client, running on native Ubuntu, WSL, WebAssembly or MSYS2. Online demo: [Try it](https://demo.micro-ocpp.com/) [![Screenshot](https://github.com/agruenb/arduino-ocpp-dashboard/blob/master/docs/img/status_page.png)](https://demo.micro-ocpp.com/) The Simulator has two purposes: -- As a development tool, it allows to run MicroOcpp directly on the host computer and simplifies the development (no flashing of the microcontroller required) -- As a demonstration tool, it allows backend operators to test and use MicroOcpp without the need to set up an actual microcontroller or to buy an actual charger with MicroOcpp. +- As a development tool, it allows to run MicroOCPP directly on the host computer and simplifies the development (no flashing of the microcontroller required) +- As a demonstration tool, it allows backend operators to test and use MicroOCPP without the need to set up an actual microcontroller or to buy an actual charger with MicroOCPP. That means that the Simulator runs on your computer and connects to an OCPP server using the same software like a microcontroller. It provides a Graphical User Interface to show the connection status and to trigger simulated charging From 2cb07cdbe53954a694a29336ab31eac2d2b48673 Mon Sep 17 00:00:00 2001 From: matth-x <63792403+matth-x@users.noreply.github.com> Date: Sun, 3 Nov 2024 11:49:54 +0100 Subject: [PATCH 3/3] update dependencies --- lib/MicroOcpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MicroOcpp b/lib/MicroOcpp index fecac09..4b89f46 160000 --- a/lib/MicroOcpp +++ b/lib/MicroOcpp @@ -1 +1 @@ -Subproject commit fecac0978b5ab29548f97e6384b4b63964ed0e32 +Subproject commit 4b89f4649d65c83cc559e4cc7c65f430db482217