Skip to content

MENNEKES AMTRON 4You: OCPP connection lost after several days due to TriggerMessage(MeterValues) every 5 seconds? #32236

Description

@Draexl

Describe the bug

The OCPP connection between evcc and a MENNEKES AMTRON 4You 510 (Firmware 1.5.41) becomes permanently disconnected after approximately 2-4 days of operation.

The charger itself remains fully operational and reachable via its web interface.

Restarting evcc does not restore the OCPP connection.

Only rebooting the wallbox immediately reconnects it.

MENNEKES support analyzed the OCPP log and stated that evcc continuously sends TriggerMessage(MeterValues) every 5 seconds. According to MENNEKES this eventually results in too many OCPP messages and the charger intentionally terminates the backend connection.

Steps to reproduce

  1. Configure a MENNEKES AMTRON 4You 510 with OCPP 1.6J.
  2. Connect it to evcc (local OCPP server).
  3. Let the system run normally for several days.
  4. Eventually the charger disconnects from evcc.
  5. evcc reports the charger as disconnected.
  6. The MENNEKES web interface reports "Backend: Not Connected".
  7. Restarting evcc does not reconnect.
  8. Rebooting the wallbox immediately restores the OCPP connection.

Configuration details

evcc version: 0.312.1

Charger:
- MENNEKES AMTRON 4You 510 11 C2
- Firmware 1.5.41
- OCPP 1.6J
- Local OCPP server
- LAN connection
- RFID authorization enabled

Factory reset has been performed twice.
The issue still occurs.

Log details

While connected, evcc continuously sends:

TriggerMessage
requestedMessage: MeterValues

every 5 seconds.

Example:

15:32:35 TriggerMessage MeterValues
15:32:40 TriggerMessage MeterValues
15:32:45 TriggerMessage MeterValues
15:32:50 TriggerMessage MeterValues

The charger answers every request with:

status: Accepted

MENNEKES support replied:

"The problem in this case is that every 5 seconds a TriggerMessage is sent from evcc. Over time this results in too many messages, therefore the backend connection is eventually terminated by the charger. Is it possible to increase this interval?"

Question:
Is the 5 second TriggerMessage interval configurable or could evcc instead rely on the charger's configured MeterValueSampleInterval?

What type of operating system or environment does evcc run on?

Linux

External automation

  • I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • I have verified that the issue is reproducible with the latest nightly build

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions