Skip to content

mqtt: output topic not conducive to nodered/html output

When using the output topic to spy on a node, it's not very readable due to ansi graphics codes and characters.

image

I can only think of pre-formatting the output by either 1: Removing all escape codes, including color and graphics so it's readable 2: Convert colors and graphics, as much as possible, to html

It could be possible to change output to have something like

sbbs/+/node/+/output/raw (as it comes) sbbs/+/node/+/output/html (preformatted html) sbbs/+/node/+/output/stripped (plain old text with no color/graphics)

This would allow different users to pick whatever format works for them.

I considered the amount of data and it's not really a lot unless you've got 10 users bombarding each other!