You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OCPP201 module subscribes many (most) of the interface variables in its ready() function, probably due to dependencies on the Charger state machine.
This leads to the module potentially missing published variables from other modules, especially "early" infos such as EvseManager state changes and FirmwareUpdateNotifications.
This has been observed in real-life scenarios.
This also affects the OCPP module's system interface, while evse_manager and error seem to be handled properly there.
EVerest Domain
OCPP1.6, OCPP2.0.1
Affected EVerest Module
OCPP201 OCPP
To Reproduce
From a module providing the system interface, publish a firmware_update_status = Installed variable immediately in its ready().
Note how the OCPP201 (and probably OCPP) module never handles this variable, as it isn't subscribing yet, and therefore does not send the corresponding message to the CSMS.
…ST-1175)
The variable to publish FirmwareStatusNotification::Installed message is
now delayed, because the message is dropped in case the OCPP client is
not connected. This is only a temporary solution as long as the
reported issues (EVerest/libocpp#758,
EVerest/everest-core#841) are not fixed.
Signed-off-by: Fabian Hartung <fabian.hartung@chargebyte.com>
FaHaGit
added a commit
to chargebyte/everest-chargebyte
that referenced
this issue
Sep 4, 2024
…ST-1175)
The variable to publish FirmwareStatusNotification::Installed message is
now delayed, because the message is dropped in case the OCPP client is
not connected or the OCPP module is not yet subscribed to the variable.
This is only a temporary solution as long as the
reported issues (EVerest/libocpp#758,
EVerest/everest-core#841) are not fixed.
Signed-off-by: Fabian Hartung <fabian.hartung@chargebyte.com>
…ST-1175)
The variable to publish FirmwareStatusNotification::Installed message is
now delayed, because the message is dropped in case the OCPP client is
not connected or the OCPP module is not yet subscribed to the variable.
This is only a temporary solution as long as the
reported issues (EVerest/libocpp#758,
EVerest/everest-core#841) are not fixed.
Signed-off-by: Fabian Hartung <fabian.hartung@chargebyte.com>
Describe the bug
The OCPP201 module subscribes many (most) of the interface variables in its
ready()
function, probably due to dependencies on the Charger state machine.This leads to the module potentially missing published variables from other modules, especially "early" infos such as EvseManager state changes and FirmwareUpdateNotifications.
This has been observed in real-life scenarios.
This also affects the OCPP module's
system
interface, whileevse_manager
anderror
seem to be handled properly there.EVerest Domain
OCPP1.6, OCPP2.0.1
Affected EVerest Module
OCPP201 OCPP
To Reproduce
From a module providing the
system
interface, publish afirmware_update_status
=Installed
variable immediately in itsready()
.Note how the OCPP201 (and probably OCPP) module never handles this variable, as it isn't subscribing yet, and therefore does not send the corresponding message to the CSMS.
Anything else?
This affects OCPP 2.0.1 requirement L01.FR.28.
This is a follow-up to EVerest/libocpp#758
The OCPP module (implementing OCPP 1.6) correctly (mostly) subscribes in
init()
, but queues all requests while the Charger is not yet running:everest-core/modules/OCPP/OCPP.cpp
Lines 261 to 269 in e3eb4d9
Note that the OCPP module does not yet do this for the
system
interface:everest-core/modules/OCPP/OCPP.cpp
Lines 607 to 618 in e3eb4d9
The text was updated successfully, but these errors were encountered: