OctoPrint Binary Sensor


The octoprint binary sensor platform let you monitor if your 3D printer is printing or if there was a printing error.

You must have the OctoPrint component configured to use this sensor.

To set it up, add the following information to your configuration.yaml file:

binary_sensor:
  platform: octoprint
  name: OctoPrint
  monitored_conditions:
    - Printing
    - Printing Error

Configuration variables:

  • name (Optional): The name of the sensor. Default is ‘OctoPrint’.
  • monitored_conditions array (Required): States to monitor.
    • Printing: State of the printer.
    • Printing Error: Error while printing.