home-assistant.io/source/_components/binary_sensor.octoprint.markdown
2018-10-26 10:55:38 +02:00

1.2 KiB

layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class
page OctoPrint Binary Sensor Instructions on how to integrate OctoPrint binary sensors within Home Assistant. 2016-05-05 08:00 true false true true octoprint.png Binary Sensor 0.19 Local Polling

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](/components/octoprint/) configured to use this binary sensor. After configuring that component, binary sensors automatically appear.

{% linkable_title Configuration %}

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

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

{% configuration %} monitored_conditions: description: States to monitor. required: true type: list keys: printing: description: State of the printer. printing error: description: Error while printing. name: description: The name of the sensor. required: false type: string default: OctoPrint {% endconfiguration %}