Skip to content

CbTarragonDriver: re-publish PP in ready()#50

Closed
barsnick wants to merge 1 commit intomainfrom
fix/publish_pp_after_init
Closed

CbTarragonDriver: re-publish PP in ready()#50
barsnick wants to merge 1 commit intomainfrom
fix/publish_pp_after_init

Conversation

@barsnick
Copy link
Copy Markdown
Contributor

The PP observation thread is launched in init(), and its initial publishing of the PP state may therefore be missed by the EvseManager. This is relevant when a plug is already attached when the EVerest stack launches, where it may lead to:

[WARN] connector_1:Evs void module::Charger::run_state_machine() :: PP ampacity is zero, still waiting for BSP to report it...

and a stuck state machine.

The PP observation thread is launched in init(), and its initial publishing
of the PP state may therefore be missed by the EvseManager. This is
relevant when a plug is already attached when the EVerest stack launches,
where it may lead to:

[WARN] connector_1:Evs void module::Charger::run_state_machine() :: PP ampacity is zero, still waiting for BSP to report it...

and a stuck state machine.

Signed-off-by: Moritz Barsnick <moritz.barsnick@chargebyte.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant