Skip to content

[Question] Using Action Commands with Marlin #7137

@benlye

Description

@benlye

I have my printer connected to an OctoPrint host, and a TP-Link HS100 smart switch. I normally control the power to the printer using OctoPrint to control the smart switch. Now that we have custom menu commands, it would be nifty if one of those could turn my printer off.

I've found the ActionTrigger plugin for OctoPrint, which takes action based on serial output from the printer. My question is, is there already a way to get Marlin to write custom text to the serial output from a user menu command?

If not, it seems like implementing a g-code command which just echoes to serial wouldn't be too hard - I just thought I'd ask before I coded it myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions