Closed lightmaster closed 3 years ago
Yes and if you do this then my plugin can filter for these results. I don't have a printer with marlin firmware so I can't test it. But if you have an example of what is returned when having this enable then maybe I can help but it's not something that needs to coded
M106 P0 S127
is what it sends to terminal
I switched it from GCode Sent to From Printer and it works. Did not notice that option before.
What about combining GCode Sent and From Printer such that if you do not have HOST_ACTION_COMMANDS
enabled, it will look at the gcode that you sent, and if you do have it enabled, it can see both the gcode you send and the gcode the printer reports back.
Well I think people should setup what fits their printers.
... and not quite sure how you wanted that to work
I was just thinking that they become a single combined entry. If it sees both a sent gcode and received from printer gcode, then they'd be the same since it's echoing back. Otherwise if it sees just a sent gcode, then it shows just the sent gcode.
Yes both that would require even more monitoring. Could you provide an example of how this should work. I don't want to implement something where my plugin sends gcode/commands to the printer
If you enable
#define HOST_ACTION_COMMANDS
and#define HOST_PROMPT_SUPPORT
I was way off on the setting that I was talking about, its actually #define REPORT_FAN_CHANGE
. And this only allows you to see the fan speed changes from any source, so probably not worth the effort to needlessly combine the Gcode Sent and From Printer bits into one.
So close?
If you enable
#define HOST_ACTION_COMMANDS
and#define HOST_PROMPT_SUPPORT
#define REPORT_FAN_CHANGE
withinConfiguration_adv.h
, then Marlin will echo back over terminala lot of commands, includingthe fan speed. This includes setting fan speed from the basic LCD with an encoder wheel and also TFTs touch screen.This should be able to greatly expand the available options of TopTemp and increase reliability of it being able to recognize when something changes.