Comments (5)
Hi @demirschmid61,
To answer your questions,
- Yes, I would say using the same idTag for both connectors is an acceptable solution. I have never seen a backend system which requires unique idTags per connector. To test it with SteVe, it's necessary to increase the maximum concurrent transactions for the freevend idTag.
- If you set Cst_PreBootTransaction to true, then no OCPP connection is necessary in freevend mode. However, the transaction queue will get full at some point and by default, MicroOcpp will reject further offline transactions. To override that behavior, set Cst_SilentOfflineTransactions to true, then the next transactions will become "silent" when the queue is full and won't occupy any space.
from microocpp.
@matth-x Thank you very much for your reply.
I'll implement this and let you know the outcome.
from microocpp.
The following keys are configured for the charger.
Cst_FreeVendActive = True
Cst_PreBootTransactions = True
Cst_SilentOfflineTransactions = True
Cst_FreeVendIdTag = "abcde"
My observation:
- The charging transaction is perfectly executed and only recent 4 transactions are saved in the flash
Problem Faced:
1. After some (e.g.: 12) transactions, if somehow the charger gets reset (Manually or remotely), the charger is not starting the transaction in free vending mode, provided the charger is not connected to the internet
Please have a look at the logs free vending working perfectly:
`
------------------------For start transaction in free vending------------------------------------------
14:17:19.870 > [MO] info (Connector.cpp:430): begin FreeVend Tx using idTag abcde
14:17:20.562 > [MO] info (StatusNotification.cpp:50): New status: Preparing (connectorId 1)
14:17:20.731 > [MO] info (Connector.cpp:290): Session mngt: trigger StartTransaction
14:17:20.940 > [MO] info (StartTransaction.cpp:48): StartTransaction initiated
14:17:21.002 > [MO] info (StatusNotification.cpp:50): New status: Charging (connectorId 1)
------------------------For stop transaction in free vending------------------------------------------
14:19:52.250 > [MO] info (Connector.cpp:353): Session mngt: trigger StopTransaction
14:19:52.675 > [MO] info (StopTransaction.cpp:50): StopTransaction initiated
14:19:52.683 > [MO] info (RequestQueueStorageStrategy.cpp:162): Replace cached operation (cache full): StartTransaction
14:19:52.707 > [MO] info (StatusNotification.cpp:50): New status: Finishing (connectorId 1)
14:19:52.713 > [MO] info (RequestQueueStorageStrategy.cpp:162): Replace cached operation (cache full): StatusNotification
14:20:01.306 > [MO] info (StatusNotification.cpp:50): New status: Available (connectorId 1)
14:20:01.314 > [MO] info (RequestQueueStorageStrategy.cpp:162): Replace cached operation (cache full): MeterValues
14:20:02.211 > [MO] info (main.cpp:1994): MeterValues reset for connector 1
`
When the charger gets reset the freevending transactions does not started.
Please acknowledge on my observation, is it correct or not.
Am I missing something in the configuration keys?
from microocpp.
Hi @demirschmid61, this could actually be related to a regression bug in v1.0. Can you upgrade to v1.1?
Everything on your side looks correct. Cst_PreBootTransactions and Cst_SilentOfflineTransactions are both set correctly and Freevend is also properly set up.
from microocpp.
@matth-x Thank you very much,
The free vending mode for both connectors perfectly worked for me and regarding pure offline free vending mode, I'll upgrade the library version to 1.1 and let you know the observations.
from microocpp.
Related Issues (20)
- First StatusNotification 1970-01-01 timestamp HOT 3
- [Firmware Update]How Can We do The Firmware update in ESP-IDF, there is no any document available how to implement it.. HOT 1
- Unable to Remote Start Transaction strangely one day HOT 3
- Server error, data loss! HOT 2
- Error compiling for board DOIT ESP32 DEVKIT V1
- What value do I measure with "L1" compared to "L1-N" and "L1-L2", according to the protocol specifications? What value do I get via "L1"? HOT 1
- ESP32-IDF ESP32C3 : How to test all the ocpp opetrations over esp32 module HOT 3
- GetDiagnostics‘s issue HOT 2
- Offline Start transaction using local list HOT 2
- Ethernet (W5500) Support with Mongoose WebSocket Adapter on Arduino platform HOT 2
- Error compiling for board DOIT ESP32 DEVKIT V1
- How to send 'Finishing' when receive 'SoftReset' during charging. Not 'Unableable' HOT 2
- Is OCPP 1.6 security whitepaper edition 3 planned HOT 1
- How to pass the OCTT tast case 2.4.3. EV Side Disconnected HOT 4
- How to make specific feature not support HOT 1
- configuration key 'ChargingScheduleAllowedChargingRateUnit' accessibility is wrong, and some item is missing HOT 2
- AuthorizeRemoteTxRequests key functional implementation HOT 1
- Strange state transaciton handling HOT 7
- Scheduled charging on Power cut HOT 2
- Plugged connector check HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microocpp.