OctoPrint
OctoPrint
配置
要将 OctoPrint integration 添加到您的 Home Assistant 实例中,请使用此 My 按钮:
OctoPrint 可以被 Home Assistant 自动发现。如果发现了实例, 它将显示为 已发现。您可以立即进行设置。
手动配置步骤
如果没有自动发现,请不要担心!您可以设置一个 手动集成条目:
-
浏览到您的 Home Assistant 实例。
-
转到
设置 > 设备与服务。 -
在右下角,选择
Add Integration 按钮。 -
从列表中选择 OctoPrint。
-
按照屏幕上的说明完成设置。
API key
For the integration to work, please check that in Octoprint, the Discovery Plugin
NOTE: You must be logged into Octoprint as the user which you are adding to Home Assistant. If you log in to Octoprint as any other user, you will not see the prompt to allow access.
Binary sensor
The OctoPrint integration provides the following binary sensors:
- Printing
- Print Error
Sensor
The OctoPrint integration lets you monitor various states of your 3D printer and its print jobs.
Supported sensors:
- Current Printer State
- Job Completed Percentage
- Estimated Finish Time
- Estimated Start Time
Camera
The OctoPrint integration provides a camera feed if one is configured in OctoPrint.
Buttons
The OctoPrint integration provides the following buttons:
- Pause Job
- Resume Job
- Stop Job
- Shutdown System
- Reboot System
- Restart Octoprint
Troubleshooting
Device is already configured for a second instance
This is typically caused by copying/backup/restoring part of the config files between OctoPrint instances.
- SSH into the OctoPrint instance that is being added.
- Edit the
config.yaml
for the instance (Typically/home/pi/.octoprint
) - Under
plugins/discovery
, change the value ofupnpUuid
to have a different uuid. - Restart the OctoPrint service
- Attempt to add the instance once again.