Welcome to my life
My guess is the
B values in the first example are buffer information regarding the internal command buffer and the planner buffer for the motion planner.
N is the line number that was acknowledged. Those are optional and only even available in recent firmware builds (enhanced ok or something like that it was called I think, at least in Marlin - no idea about other firmware variants). I wasn't aware that they might show up in temperature responses, but it does make sense in a way.
T is the currently selected hotend,
T0 the first,
T1 the second and so on,
B is the bed.
B@: denote the current power level of the heaters I think.
I so far have never seen the
P: notation. No idea what that is supposed to mean. Also no idea about
A: in this context.
In any case, to filter out those lines that contain the
B values before the temperature output, I'd try the following regex: