Skip to content

Improve MQTT json filter#13

Merged
DutchDevelop merged 1 commit intoDutchDevelop:mainfrom
TheDutchDev:main
Jan 1, 2024
Merged

Improve MQTT json filter#13
DutchDevelop merged 1 commit intoDutchDevelop:mainfrom
TheDutchDev:main

Conversation

@TheDutchDev
Copy link
Contributor

  • Improved filter to really only grab the necessary info for BLLed.

I used an MQTT sniffer to check what data the bambu printer sends and was astounded by the large payload. I also noticed almost everything is located in "print" part, so to be quite honest I'm not 100% sure how the previous filter solved things.

Either way, this improved filter should really filter out a lot of data (eg "ams" object is quite large depending on amount of AMSes, this is now filtered out and thus in the future it should no longer matter how many AMSes someone has attached to their printer as they're completely ignored).

improve filter
@TheDutchDev
Copy link
Contributor Author

Please note, I have NOT tested this yet. I do expect it to work though based on what the documentation of the arduino json module provides.

But please, make sure to test it prior to merging :P

@TheDutchDev TheDutchDev changed the title Update mqttmanager.h Improve MQTT json filter Jan 1, 2024
@DutchDevelop DutchDevelop merged commit d241b72 into DutchDevelop:main Jan 1, 2024
aerodomigue pushed a commit to aerodomigue/BLLEDController that referenced this pull request Jul 13, 2025
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.

2 participants