From c194908626a7da88c14bbaba1e8a6a7af5bc9abd Mon Sep 17 00:00:00 2001 From: Jeppe Ladefoged <26121019+ladefoged81@users.noreply.github.com> Date: Tue, 2 Oct 2018 18:10:00 +0200 Subject: [PATCH] Added camera (#6437) Added info on how to add a web camera. --- source/_components/octoprint.markdown | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/_components/octoprint.markdown b/source/_components/octoprint.markdown index 03f0fae06d4..29e6c039ed9 100644 --- a/source/_components/octoprint.markdown +++ b/source/_components/octoprint.markdown @@ -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 +```