How steve-community/steve works
SteVe is an OCPP central-system server and web administration platform for managing charging stations, RFID tags, transactions, reservations, and configuration. The principal workflow is station registration and OCPP connection, message processing, and persistence/status reporting; administrators can also issue remote OCPP operations through the UI or REST API. The graph includes the documented SOAP and WebSocket/JSON protocol branches and the core administration capabilities. Links to unsampled subsystems are shown only where the README or SOURCE INDEX supports them; incomplete excerpts limit finer call-flow detail.
Main entry points: CentralSystemService16_Service.java Central system services · impl Repositories · controller Web administration · ChargePointServiceClient.java Remote operations
Components 20
Admin access
- Web administration
src/main/java/de/rwth/idsg/steve/web/controller - REST API
src/main/java/de/rwth/idsg/steve/web/api - User authentication
src/main/java/de/rwth/idsg/steve/config/ApiAuthenticationManager.java
Station operations
- Station management
src/main/java/de/rwth/idsg/steve/service/ChargePointService.java - RFID tag services
src/main/java/de/rwth/idsg/steve/service/OcppTagService.java - Remote operations
src/main/java/de/rwth/idsg/steve/service/ChargePointServiceClient.java - Operations API
src/main/java/de/rwth/idsg/steve/web/api/OcppOperationsController.java - Central system services
src/main/java/de/rwth/idsg/steve/service/CentralSystemService16_Service.java
OCPP communication
- SOAP endpoints
src/main/java/de/rwth/idsg/steve/ocpp/soap/CentralSystemService16_SoapServer.java - WebSocket endpoints
src/main/java/de/rwth/idsg/steve/ocpp/ws/WebSocketEndpoint.java - Incoming pipeline
src/main/java/de/rwth/idsg/steve/ocpp/ws/pipeline/IncomingPipeline.java - Outgoing pipeline
src/main/java/de/rwth/idsg/steve/ocpp/ws/pipeline/OutgoingPipeline.java - Version and transport
src/main/java/de/rwth/idsg/steve/ocpp/OcppProtocol.java - OCPP task handlers
src/main/java/de/rwth/idsg/steve/ocpp/task
Persistence and services
- MySQL / MariaDB
- Repositories
src/main/java/de/rwth/idsg/steve/repository/impl - Transaction reporting
src/main/java/de/rwth/idsg/steve/service/TransactionReportService.java - Notifications
src/main/java/de/rwth/idsg/steve/service/NotificationService.java
Other components
- Operator
- Charge point
Connections 27
- Operator → Web administration: uses
- Operator → REST API: calls
- REST API → User authentication: authenticates
src/main/java/de/rwth/idsg/steve/config/ApiAuthenticationManager.java - Web administration → Station management: manages stations
src/main/java/de/rwth/idsg/steve/web/controller/Ocpp12Controller.java - Web administration → RFID tag services: manages tags
src/main/java/de/rwth/idsg/steve/web/controller/Ocpp12Controller.java - REST API → Operations API: routes operations
src/main/java/de/rwth/idsg/steve/web/api/OcppOperationsController.java - Operations API → Remote operations: delegates
src/main/java/de/rwth/idsg/steve/web/api/OcppOperationsController.java - Web administration → Remote operations: issues commands
src/main/java/de/rwth/idsg/steve/web/controller/Ocpp12Controller.java - Remote operations → OCPP task handlers: creates tasks
src/main/java/de/rwth/idsg/steve/service/ChargePointServiceClient.java - Remote operations → Repositories: loads operation data
src/main/java/de/rwth/idsg/steve/service/ChargePointServiceClient.java - Charge point → SOAP endpoints: sends SOAP
- Charge point → WebSocket endpoints: connects JSON
- SOAP endpoints → Central system services: dispatches OCPP
- WebSocket endpoints → Incoming pipeline: dispatches messages
- Incoming pipeline → Central system services: handles calls
src/main/java/de/rwth/idsg/steve/ocpp/ws/pipeline/IncomingPipeline.java - Incoming pipeline → Version and transport: selects version
src/main/java/de/rwth/idsg/steve/ocpp/ws/pipeline/IncomingPipeline.java - Central system services → Station management: checks registration
src/main/java/de/rwth/idsg/steve/service/CentralSystemService16_Service.java - Central system services → Repositories: records events
src/main/java/de/rwth/idsg/steve/service/CentralSystemService16_Service.java - Central system services → RFID tag services: authorizes tags
src/main/java/de/rwth/idsg/steve/service/CentralSystemService16_Service.java - Remote operations → Outgoing pipeline: sends commands
- Outgoing pipeline → Charge point: transmits JSON
src/main/java/de/rwth/idsg/steve/ocpp/ws/pipeline/OutgoingPipeline.java - Station management → Repositories: reads station data
src/main/java/de/rwth/idsg/steve/service/ChargePointService.java - RFID tag services → Repositories: reads tag data
- Repositories → MySQL / MariaDB: reads and writes
- Central system services → Notifications: publishes events
src/main/java/de/rwth/idsg/steve/service/CentralSystemService16_Service.java - Web administration → Transaction reporting: views reports
- Transaction reporting → Repositories: queries transactions