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

API to dump MosquittoClient:messageCache #2098

Closed
ghormann opened this issue Jan 1, 2025 · 0 comments · Fixed by #2115
Closed

API to dump MosquittoClient:messageCache #2098

ghormann opened this issue Jan 1, 2025 · 0 comments · Fixed by #2115
Assignees

Comments

@ghormann
Copy link
Member

ghormann commented Jan 1, 2025

Enhancement request to add a REST API call that dumps the current content of MosquittoClient:messageCache. Currently, there is no good way to get this information to debug issues with the MQTT playlist topic. This API, will dump that cache to a JSON Object to enable better debugging. It could also be used by other services to access the last MQTT value.

@ghormann ghormann self-assigned this Jan 1, 2025
ghormann added a commit that referenced this issue Jan 11, 2025
Add  /api/fppd/mqtt/cache which will dump all the values of MosquittoClient:messageCache.   This is intended for debugging, but could be used by Plugins to access cached MQTT topics

Closes #2098
ghormann added a commit that referenced this issue Jan 11, 2025
* API to dump MosquittoClient:messageCache
Add  /api/fppd/mqtt/cache which will dump all the values of MosquittoClient:messageCache.   This is intended for debugging, but could be used by Plugins to access cached MQTT topics

Closes #2098
@ghormann ghormann added this to FPP 9.0 Jan 31, 2025
@ghormann ghormann moved this to Done in FPP 9.0 Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant