Skip to content

Commit

Permalink
evse.cpp: OCPP report EVMeter type, not Mainsmeter type
Browse files Browse the repository at this point in the history
  • Loading branch information
dingo35 committed Jul 12, 2024
1 parent d94e576 commit 321f7b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SmartEVSE-3/src/evse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5626,7 +5626,7 @@ void ocppInit() {

mocpp_initialize(
*OcppWsClient, //WebSocket adapter for MicroOcpp
ChargerCredentials("SmartEVSE", "Stegen Electronics", VERSION, String(serialnr).c_str(), NULL, (char *) EMConfig[MainsMeter].Desc),
ChargerCredentials("SmartEVSE", "Stegen Electronics", VERSION, String(serialnr).c_str(), NULL, (char *) EMConfig[EVMeter].Desc),
filesystem);

//setup OCPP hardware bindings
Expand Down

0 comments on commit 321f7b4

Please sign in to comment.