Update OctoPrint camera docs (#22231)

This commit is contained in:
Sebastian Lövdahl 2022-04-03 21:28:35 +03:00 committed by GitHub
parent fb080425d0
commit c79be027a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,15 +77,9 @@ Supported sensors:
## Camera
If the OctoPrint host is equipped with a web camera it is possible to add this as well.
If the OctoPrint host is equipped with a web camera it is possible to add this as well using the [`MJPEG IP Camera`](/integrations/mjpeg) integration. Use `http://YOUR_OCTOPRINT_HOST_IP/webcam/?action=stream` for the MJPEG URL and `http://YOUR_OCTOPRINT_HOST_IP/webcam/?action=snapshot` as the still image URL.
```yaml
camera:
- platform: mjpeg
name: OctoPrint
still_image_url: http://YOUR_OCTOPRINT_HOST_IP/webcam/?action=snapshot
mjpeg_url: http://YOUR_OCTOPRINT_HOST_IP/webcam/?action=stream
```
{% my config_flow_start badge domain="mjpeg" %}
## Buttons