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
binary_sensor: - platform: octoprint monitored_conditions: - Printing - Printing Error
- monitored_conditions array (Required): States to monitor.
- Printing: State of the printer.
- Printing Error: Error while printing.
- name (Optional): The name of the sensor. Default is ‘OctoPrint’.