Filtering terminal content

What is the problem?

I've installed both plugins that are supposed to deal with the "Recv: TT:..." messages from the new Ender main boards. Neither one of them filters the terminal.

What did you already try to solve it?

I figured I could write a Tampermonkey script. I'm able to insert the label and the checkbox into the terminal filters, and it looks in all ways like the other checkboxes. The regex is simple and direct, but the checkbox doesn't appear to have any affect.

Is there something additional I need to do? What am I missing?

<label class="checkbox">
	<input type="checkbox" 
		data-bind="attr: { value: regex }, checked: $parent.activeFilters" 
		value="Recv:\s+TT::.*">
		<span data-bind="text: name">Suppress TT:: messsages</span>
</label>

octoprint-systeminfo-20221019134830.zip (31.4 KB)

Additional information about your setup

That's all in the bundle.

Those plugins (and you usually should only need one or the other, not both) don't filter anything, they rewrite what is received (and logged to terminal) from the printer internally to something that is standard conform so that OctoPrint can actually parse it.

If you want to filter this stuff out, you don't need to write a Tampermonkey script, just use the built in terminal filters (Settings > Printer > Terminal Filters):

2 Likes

Cool, thank you for the info!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.