Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes to mqtt to prevent delays when the broker is unavailable which can trigger the watchdog timer reset #955

Merged
merged 2 commits into from
Mar 9, 2025

Conversation

No-Signal
Copy link
Collaborator

@No-Signal No-Signal commented Mar 8, 2025

What

This PR implements fixes to stop watchdog resets and optional disabling of cell voltage publishing

Why

Fixes #905 and fixes #935

How

When an MQTT publish fails no further messages will be published in the current cycle to ensure the watchdog timer doesnt reset the board

MQTT_TIMEOUT is now configurable with a default of 2 seconds instead of 10 seconds

MQTT_PUBLISH_CELL_VOLTAGES can be commented out to stop cell voltages from being published

Copy link
Owner

@dalathegreat dalathegreat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Massive thanks for fixing the Wifi reset MQTT WDT triggering 🙌

…o limit impact of mqtt load on wifi and http performance.
@No-Signal No-Signal requested a review from dalathegreat March 9, 2025 18:33
@dalathegreat dalathegreat merged commit 26847ce into dalathegreat:main Mar 9, 2025
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants