💡
WS281x LED Status
Github RepositoryPlugin ListingSponsor
0.7.x
0.7.x
  • Home of the docs
  • Guides
    • Setup Guide
      • Supported Hardware
      • Wiring your LEDs
      • SPI Setup
      • Initial Configuration
    • Setup in Docker
    • OctoLapse Flash
    • Get Help Guide
  • Configuration
    • LED Strip Configuration
    • Printing Effects
    • Progress Effects
    • Features
  • 3rd Party Apps and Integrations
  • Utilities
  • Troubleshooting Guide
  • Documentation
    • Host @ Commands
    • M150 Intercept
    • REST API
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Documentation

Host @ Commands

The plugin reacts to a number of @ commands, this will tell you the details.

PreviousTroubleshooting GuideNextM150 Intercept

Last updated 3 years ago

Was this helpful?

From :

@ commands (also known as host commands elsewhere) are special commands you may include in GCODE files streamed through OctoPrint to your printer or send as part of GCODE scripts, through the Terminal Tab, the API or plugins. Contrary to other commands they will never be sent to the printer but instead trigger functions inside OctoPrint.

The plugin reacts to some different @ commands, listed below:

Command
Explanation

@WS_LIGHTSON

Turns lights on, same as pressing switch in navbar.

@WS_LIGHTSOFF

Turns lights off.

@WS_TORCH

Activates the torch mode, for timer mode

@WS_TORCH_ON

Turn torch on, for toggle mode

@WS_TORCH_OFF

Turn torch off, for toggle mode

These commands can be used in g-code scripts, or in custom controls in apps - see here for , or the guide on how to create a which also uses @ commands.

OctoPrint's documentation
instructions for OctoRemote
timelapse flash in OctoLapse