Skip to content

[HELP] MQTT stops publishing for 4-6 minutes while Web UI continues to show live data #212

@netzspezialist

Description

@netzspezialist

Hi everyone,

I am experiencing a specific issue with my Daly2MQTT BMS Dongle where the MQTT transmission drops out, but the device itself remains active.

The Problem:

  • The dongle is set to a 20-second update interval.
  • Regularly, MQTT messages stop being sent for a duration of 4 to 6 minutes.
  • Crucial Observation: During these "silent" MQTT periods, the Web UI of the dongle still updates and displays live data from the BMS.

Technical Details:

  • Connectivity: The Web UI is reachable, and the WiFi connection is stable.
  • Broker: Other devices continue to send data to the same broker without issues.
  • Recovery: After the 4-6 minute gap, MQTT messages start flowing again automatically without a manual reboot.

Analysis:
Since the Web UI shows live data, the communication between the Dongle and the BMS (UART) is working perfectly. The issue seems to be isolated to the MQTT client/service within the firmware, which appears to hang or lose its connection silently before eventually recovering.

Questions:

  • Is there a known bug where the MQTT client stops publishing even though the data acquisition is still running?
  • Are there any specific MQTT settings (Keep Alive, Clean Session, etc.) that could be causing this "timeout and recovery" cycle?
  • How can I provide more detailed logs from the MQTT stack to help diagnose this?

Thank you for your support!

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions