Added camera (#6437)

Added info on how to add a web camera.
This commit is contained in:
Jeppe Ladefoged 2018-10-02 18:10:00 +02:00 committed by Fabian Affolter
parent a2ba9f46b3
commit c194908626

View File

@ -34,3 +34,12 @@ Configuration variables:
- **bed** (*Optional*): If the printer has a heated bed.
- **number_of_tools** (*Optional*): Number of temperature adjustable tools. i.e. nozzle.
If the OctoPrint host is equipped with a web camera it is possible to add this as well.
```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
```