Using a USB camera instead of an embedded webcam

I currently have an old Microsoft Surface Pro 1 running the newest installed of Ubuntu Desktop. I installed octoprint using this guide:

Unfortunately, I've been having issues getting the USB Webcam (Logitech Quickcam S5500) to display on octoprint. It is able to be seen on the ubuntu app through "Cheese".

My goal is to only be using the Logitech webcam, not the embedded ones.

Cameras attached:

UVC Camera (046d:09a1) (usb-0000:00:14.0-2.2):
        /dev/video4
        /dev/video5

Rear LifeCam: Rear LifeCam (usb-0000:00:1a.0-1.1):
        /dev/video0
        /dev/video1

Front LifeCam: Front LifeCam (usb-0000:00:1d.0-1.7):
        /dev/video2
        /dev/video3

Below are some of the camera information gathered by the log file when I was connecting it.

Serial: 046d:09a1

Driver Info (not using libv4l2):
        Driver name   : uvcvideo
        Card type     : UVC Camera (046d:09a1)
        Bus info      : usb-0000:00:14.0-2.2
        Driver version: 5.0.21
        Capabilities  : 0x84A00001
                Video Capture
                Metadata Capture
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps   : 0x04200001
                Video Capture
                Streaming
                Extended Pix Format


Driver Info (not using libv4l2):
        Driver name   : uvcvideo
        Card type     : UVC Camera (046d:09a1)
        Bus info      : usb-0000:00:14.0-2.2
        Driver version: 5.0.21
        Capabilities  : 0x84A00001
                Video Capture
                Metadata Capture
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps   : 0x04200001
                Video Capture
                Streaming
                Extended Pix Format
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
        Width/Height      : 640/480
        Pixel Format      : 'YUYV'
        Field             : None
        Bytes per Line    : 1280
        Size Image        : 614400
        Colorspace        : sRGB
        Transfer Function : Default (maps to sRGB)
        YCbCr/HSV Encoding: Default (maps to ITU-R 601)
        Quantization      : Default (maps to Limited Range)
        Flags             :
Crop Capability Video Capture:
        Bounds      : Left 0, Top 0, Width 640, Height 480
        Default     : Left 0, Top 0, Width 640, Height 480
        Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 640, Height 480
Selection: crop_bounds, Left 0, Top 0, Width 640, Height 480
Streaming Parameters Video Capture:
        Capabilities     : timeperframe
        Frames per second: 30.000 (30/1)
        Read buffers     : 0
                     brightness 0x00980900 (int)    : min=0 max=255 step=1 defau                                                                                                                                                                                                                                             lt=144 value=144
                       contrast 0x00980901 (int)    : min=0 max=255 step=1 defau                                                                                                                                                                                                                                             lt=27 value=27
                     saturation 0x00980902 (int)    : min=0 max=255 step=1 defau                                                                                                                                                                                                                                             lt=28 value=28
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                           gain 0x00980913 (int)    : min=0 max=255 step=1 defau                                                                                                                                                                                                                                             lt=0 value=9
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 valu                                                                                                                                                                                                                                             e=2
      white_balance_temperature 0x0098091a (int)    : min=0 max=10000 step=10 de                                                                                                                                                                                                                                             fault=4000 value=6771 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=255 step=1 defau                                                                                                                                                                                                                                             lt=180 value=180
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default                                                                                                                                                                                                                                             =1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 valu                                                                                                                                                                                                                                             e=3
              exposure_absolute 0x009a0902 (int)    : min=1 max=10000 step=1 def                                                                                                                                                                                                                                             ault=166 value=205 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
                        privacy 0x009a0910 (bool)   : default=0 value=0


Oct 27 12:43:01 Ender kernel: [ 9136.093579] usb 3-2.2: new high-speed USB device number 8 using xhci_hcd
Oct 27 12:43:02 Ender kernel: [ 9136.413769] usb 3-2.2: New USB device found, idVendor=046d, idProduct=09a1, bcdDevice= 0.08
Oct 27 12:43:02 Ender kernel: [ 9136.413772] usb 3-2.2: New USB device strings: Mfr=0, Product=0, SerialNumber=2
Oct 27 12:43:02 Ender kernel: [ 9136.413773] usb 3-2.2: SerialNumber: 62B35030
Oct 27 12:43:02 Ender kernel: [ 9136.415810] uvcvideo: Found UVC 1.00 device <unnamed> (046d:09a1)

Any help is greatly appreciated.

According to this


your webcam is known to work.
Let's have a look at the webcam logs :slight_smile:

2019-10-27 09:52:02,351 - octoprint.startup - INFO - Starting OctoPrint 1.3.12
2019-10-27 09:52:02,351 - octoprint.startup - INFO - ******************************************************************************
2019-10-27 09:52:02,626 - octoprint.util.connectivity_checker - INFO - Connectivity changed from offline to online
2019-10-27 09:52:03,562 - octoprint.startup - INFO - Blacklist processing done, adding 1 blacklisted plugin versions: roomtemp (any)
2019-10-27 09:52:03,579 - octoprint.plugin.core - INFO - Loading plugins from /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins, /home/jiynn/.octoprint/plugins and installed plugin packages...
2019-10-27 09:52:03,938 - octoprint.plugin.core - INFO - Plugin Pi Support Plugin did not pass check, not loading.
2019-10-27 09:52:03,986 - octoprint.plugin.core - INFO - Plugin RTMP Streamer (0.1.4) is disabled.
2019-10-27 09:52:04,250 - octoprint.plugin.core - INFO - Plugin Bed Visualizer (0.1.10) is disabled.
2019-10-27 09:52:04,255 - octoprint.plugins.octoprint.plugins.discovery - INFO - pybonjour is not installed, Zeroconf Discovery won't be available
2019-10-27 09:52:04,265 - octoprint.plugin.core - INFO - Found 29 plugin(s) providing 27 mixin implementations, 43 hook handlers
2019-10-27 09:52:04,358 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2019-10-27 09:52:04,367 - octoprint.server - INFO - Intermediary server started
2019-10-27 09:52:04,368 - octoprint.plugin.core - INFO - Loading plugins from /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins, /home/jiynn/.octoprint/plugins and installed plugin packages...
2019-10-27 09:52:04,374 - octoprint.plugin.core - INFO - Plugin Pi Support Plugin did not pass check, not loading.
2019-10-27 09:52:04,425 - octoprint.plugin.core - INFO - Found 29 plugin(s) providing 27 mixin implementations, 43 hook handlers
2019-10-27 09:52:04,436 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/jiynn/.octoprint/uploads...
2019-10-27 09:52:04,564 - octoprint.filemanager.storage - INFO - ... file metadata for /home/jiynn/.octoprint/uploads initialized successfully.
2019-10-27 09:52:04,568 - octoprint.printer.standard - INFO - Using print time estimator provided by PrintTimeGenius
2019-10-27 09:52:04,638 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2019-10-27 09:52:05,017 - octoprint.util.pip - INFO - Using "/home/jiynn/OctoPrint/venv/bin/python2 -m pip" as command to invoke pip
2019-10-27 09:52:05,385 - octoprint.util.pip - INFO - Version of pip is 19.3
2019-10-27 09:52:05,386 - octoprint.util.pip - INFO - pip installs to /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2019-10-27 09:52:05,387 - octoprint.util.pip - INFO - ==> pip ok -> yes
2019-10-27 09:52:05,408 - octoprint.plugin.core - INFO - Initialized 27 plugin implementation(s)
2019-10-27 09:52:05,416 - octoprint.plugin.core - INFO - 29 plugin(s) registered with the system:
|  Action Command Prompt Support (bundled) = /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
|  Announcement Plugin (bundled) = /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/announcements
|  Anonymous Usage Tracking (bundled) = /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/tracking
|  Application Keys Plugin (bundled) = /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/appkeys
|  Backup & Restore (bundled) = /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/backup
|  Bed Leveling Wizard (0.2.4) = /home/jiynn/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_bedlevelingwizard
| !Bed Visualizer (0.1.10) = /home/jiynn/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_bedlevelvisualizer
|  Change Filament Plugin (0.3.0) = /home/jiynn/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_Change_Filament
|  Core Wizard (bundled) = /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/corewizard
|  Cost Plugin (0.1.3) = /home/jiynn/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_cost
|  Discovery (bundled) = /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/discovery
|  DisplayLayerProgress Plugin (1.14.2) = /home/jiynn/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_DisplayLayerProgress
|  Error Tracking (bundled) = /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/errortracking
|  Filament Manager (0.5.3) = /home/jiynn/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_filamentmanager
|  Floating Navbar (0.3.1) = /home/jiynn/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_floatingnavbar
|  Force Login (bundled) = /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/forcelogin
|  Fullscreen Plugin (0.0.4) = /home/jiynn/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_fullscreen
|  Logging (bundled) = /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/logging
|  MultiCam (0.2.6) = /home/jiynn/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_multicam
|  Navbar Temperature Plugin (0.11) = /home/jiynn/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_navbartemp
|  OctoPrint Anywhere (1.0.20) = /home/jiynn/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_anywhere
|  Plugin Manager (bundled) = /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
|  Printer Safety Check (bundled) = /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
|  PrintTimeGenius Plugin (2.0.2) = /home/jiynn/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_PrintTimeGenius
| !RTMP Streamer (0.1.4) = /home/jiynn/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_rtmpstreamer
|  Simple Emergency Stop (0.2.5) = /home/jiynn/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_simpleemergencystop
|  Software Update (bundled) = /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
|  Themeify (1.2.0) = /home/jiynn/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_themeify
|  Virtual Printer (bundled) = /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
2019-10-27 09:52:05,499 - octoprint.environment - INFO - Detected environment is Python 2.7.15 under Linux (linux2). Details:
|  hardware:
|    cores: 4
|    freq: 2600.0
|    ram: 4011978752
|  os:
|    id: linux
|    platform: linux2
|  python:
|    pip: '19.3'
|    version: 2.7.15
|    virtualenv: /home/jiynn/OctoPrint/venv
2019-10-27 09:52:05,505 - octoprint.server - INFO - Reset webasset folder /home/jiynn/.octoprint/generated/webassets...
2019-10-27 09:52:05,512 - octoprint.server - INFO - Reset webasset folder /home/jiynn/.octoprint/generated/.webassets-cache...
2019-10-27 09:52:05,871 - octoprint.server - INFO - Shutting down intermediary server...
2019-10-27 09:52:05,876 - octoprint.server - INFO - Intermediary server shut down
2019-10-27 09:52:05,878 - octoprint.events - INFO - Processing startup event, this is our first event
2019-10-27 09:52:05,878 - octoprint.events - INFO - Adding 1 events to queue that were held back before startup event
2019-10-27 09:52:05,881 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2019-10-27 09:52:05,889 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2019-10-27 09:52:05,931 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2019-10-27 09:52:06,033 - octoprint.server.util.watchdog - INFO - Running initial scan on watched folder...
2019-10-27 09:52:06,035 - octoprint.server.util.watchdog - INFO - ... initial scan done.
2019-10-27 09:52:06,085 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Jiynn's Creality Ender 3 Pro" for SSDP
2019-10-27 09:52:06,098 - octoprint.server - INFO - Listening on http://0.0.0.0:5000 and http://[::]:5000
2019-10-27 09:52:06,140 - tornado.access - WARNING - 404 GET /intermediary.gif?_=1572184325627 (192.168.1.254) 30.43ms
2019-10-27 09:52:06,206 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2019-10-27 09:52:06,276 - octoprint.server.util.flask - INFO - Passively logging in user jiynn from 192.168.1.254
2019-10-27 09:52:06,342 - tornado.access - WARNING - 404 GET /cached.gif?_=1572184325899 (192.168.1.254) 110.76ms
2019-10-27 09:52:06,400 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.254
2019-10-27 09:52:06,474 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2019-10-27 09:52:06,732 - octoprint.server.util.flask - INFO - Passively logging in user jiynn from 192.168.1.254
2019-10-27 09:52:06,759 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2019-10-27 09:52:06,802 - octoprint.server.util.sockjs - INFO - User jiynn logged in on the socket from client 192.168.1.254
2019-10-27 09:52:06,836 - octoprint.util.pip - INFO - Using "/home/jiynn/OctoPrint/venv/bin/python2 -m pip" as command to invoke pip
2019-10-27 09:52:06,836 - octoprint.util.pip - INFO - pip installs to /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2019-10-27 09:52:06,836 - octoprint.util.pip - INFO - ==> pip ok -> yes
2019-10-27 09:52:06,950 - octoprint.util.pip - INFO - Using "/home/jiynn/OctoPrint/venv/bin/python2 -m pip" as command to invoke pip
2019-10-27 09:52:07,227 - tornado.access - WARNING - 404 GET /intermediary.gif?_=1572184326889 (192.168.1.254) 4.88ms
2019-10-27 09:52:07,353 - octoprint.server.util.flask - INFO - Passively logging in user jiynn from 192.168.1.254
2019-10-27 09:52:07,367 - tornado.access - WARNING - 404 GET /cached.gif?_=1572184327045 (192.168.1.254) 20.29ms
2019-10-27 09:52:07,584 - tornado.access - WARNING - 409 GET /api/printer (192.168.1.254) 5.00ms
2019-10-27 09:52:08,271 - octoprint.util.pip - INFO - pip installs to /home/jiynn/OctoPrint/venv/lib/python2.7/site-packages/ (writable -> yes), --user flag needed -> no, virtual env -> yes
2019-10-27 09:52:08,271 - octoprint.util.pip - INFO - ==> pip ok -> yes
2019-10-27 09:52:08,311 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2019-10-27 09:52:08,323 - py.warnings - WARNING - /home/jiynn/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_anywhere/config.py:53: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  self.__items__ = yaml.load(config_str)
2019-10-27 09:52:08,338 - octoprint.plugins.multicam - INFO - MultiCam Loaded! (more: [{'URL': 'http://104.187.13.173:8080/?action=stream', 'isButtonEnabled': False, 'name': 'Default'}])
2019-10-27 09:52:08,360 - octoprint.plugins.themeify - INFO - Themeify initialized.
2019-10-27 09:52:08,464 - octoprint.server.util.flask - INFO - Passively logging in user jiynn from 192.168.1.254
2019-10-27 09:52:08,477 - tornado.access - WARNING - 404 GET /cached.gif?_=1572184328098 (192.168.1.254) 17.73ms
2019-10-27 09:52:08,502 - octoprint.plugins.anywhere - WARNING - {u'mjpeg_stream_tier': 6, u'UserId': 35588, u'camResolution': u'medium', u'name': u'My First 3D Printer', u'flipV': False, u'octolapseOptedIn': None, u'recordTimelapse': False, u'rotate90N': False, u'token': u'HEVPNKII0EN9KPY3DOX688ISMLSG3S42', u'last$
2019-10-27 09:52:08,583 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://jiynnprint.us.to:5000/'}
2019-10-27 09:52:09,030 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 4}
2019-10-27 09:52:09,078 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.254
2019-10-27 09:52:09,274 - octoprint.server.util.flask - INFO - Passively logging in user jiynn from 192.168.1.254
2019-10-27 09:52:09,325 - octoprint.server.util.sockjs - INFO - User jiynn logged in on the socket from client 192.168.1.254
2019-10-27 09:52:09,717 - octoprint.plugins.tracking - INFO - Sent tracking event startup, payload: {'python': '2.7.15', 'ram': 4011978752, 'version': u'1.3.12', 'pip': '19.3', 'cores': 4, 'freq': 2600.0, 'os': 'linux'}
2019-10-27 09:52:09,766 - octoprint.server.util.flask - INFO - Passively logging in user jiynn from 192.168.1.254
2019-10-27 09:52:09,785 - tornado.access - WARNING - 404 GET /cached.gif?_=1572184329209 (192.168.1.254) 28.27ms
2019-10-27 09:52:10,418 - octoprint.plugins.tracking - INFO - Sent tracking event pong, payload: {'plugins': u'displaylayerprogress:1.14.2,cost:0.1.3,fullscreen:0.0.4,bedlevelingwizard:0.2.4,themeify:1.2.0,multicam:0.2.6,simpleemergencystop:0.2.5,navbartemp:0.11,change_filament:0.3.0,anywhere:1.0.20,floatingnavbar:$
2019-10-27 09:52:10,851 - octoprint.server.util.flask - INFO - Passively logging in user jiynn from 192.168.1.254
2019-10-27 09:52:10,899 - tornado.access - WARNING - 404 GET /cached.gif?_=1572184330520 (192.168.1.254) 71.86ms
2019-10-27 09:52:12,039 - octoprint.server.util.flask - INFO - Passively logging in user jiynn from 192.168.1.254
2019-10-27 09:52:12,080 - tornado.access - WARNING - 404 GET /cached.gif?_=1572184331637 (192.168.1.254) 53.95ms
2019-10-27 09:52:13,146 - octoprint.server.util.flask - INFO - Passively logging in user jiynn from 192.168.1.254
2019-10-27 09:52:13,169 - tornado.access - WARNING - 404 GET /cached.gif?_=1572184332830 (192.168.1.254) 28.07ms
2019-10-27 09:52:13,691 - octoprint.server.preemptive_cache - INFO - ... done in 5.11s
2019-10-27 09:52:13,691 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://192.168.1.79/'}
2019-10-27 09:52:14,203 - octoprint.server.util.flask - INFO - Passively logging in user jiynn from 192.168.1.254
2019-10-27 09:52:14,212 - octoprint.server.views - INFO - Found path / in cache (key: ui:_default:http://jiynnprint.us.to:5000/:en), signaling as cached
2019-10-27 09:52:14,300 - octoprint.server.util.flask - INFO - Passively logging in user jiynn from 192.168.1.254
2019-10-27 09:52:15,932 - octoprint.server.preemptive_cache - INFO - ... done in 2.24s
2019-10-27 09:52:18,719 - tornado.access - WARNING - 409 GET /api/printer (192.168.1.254) 9.56ms
2019-10-27 09:52:24,609 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.254
2019-10-27 09:52:24,752 - octoprint.server.util.flask - INFO - Passively logging in user jiynn from 192.168.1.254
2019-10-27 09:52:25,725 - octoprint.server.util.sockjs - INFO - User jiynn logged in on the socket from client 192.168.1.254
2019-10-27 09:52:27,647 - tornado.access - WARNING - 409 GET /api/printer (192.168.1.254) 2.89ms
2019-10-27 09:52:33,982 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2019-10-27 09:52:34,005 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Opening serial port"
2019-10-27 09:52:34,008 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Connecting"
2019-10-27 09:52:34,013 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2019-10-27 09:52:34,016 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2019-10-27 09:52:34,248 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2019-10-27 09:52:37,807 - tornado.access - WARNING - 409 GET /api/printer (192.168.1.254) 2.16ms
2019-10-27 09:52:41,591 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Operational"
2019-10-27 09:52:41,593 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2019-10-27 09:52:41,643 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin Creality 3D"
2019-10-27 09:52:41,677 - octoprint.util.comm - INFO - Firmware states that it supports temperature autoreporting
2019-10-27 09:52:42,391 - octoprint.plugins.tracking - INFO - Sent tracking event printer_connected, payload: {u'printer_baudrate': 115200, u'printer_port': u'AUTO', 'firmware_name': 'Marlin Creality 3D'}
2019-10-27 09:56:45,886 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.254
2019-10-27 09:56:45,892 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.1.254
2019-10-27 09:56:45,935 - octoprint.server - INFO - Shutting down...
2019-10-27 09:56:46,160 - octoprint.events - INFO - Processing shutdown event, this will be our last event
2019-10-27 09:56:46,161 - octoprint.events - INFO - Event loop shut down
2019-10-27 09:56:46,170 - octoprint.server - INFO - Goodbye!

My bad I just saw that the webcam log is octopi specific

If you got a bios option to disable your front and rear cam I would try it.
I guess the webcam script just picks the wrong camera

Since the author of this google doc basically just ripped the info from the RPi Setup guide and the webcam script that's also on the OctoPi image, I suggest to take a look at the webcam options that can be configured via /boot/octopi.txt (which funnily enough was left in and you should probably change to a different path) as documented here, specifically the -d parameter:

In general I suggest to use official guides instead of some externally managed tutorials, since these are the only ones I can ensure accuracy on and hence provide support.

2 Likes

Alright there you got it :smiley:
I was about to guess where he should put the -d /dev/video4 or -d /dev/video5 in the webcam script :smiley:

1 Like

/boot/octopi.txt does not exist on my system.

However, this command puts out a temporary page:

./mjpg_streamer -i "./input_uvc.so -d /dev/video4 -f 30 -r 1280x960" -o "./output_http.so -w ./www -p 8081"

Not sure where this should go to boot with this everytime.

I'm not sure if @foosel is still online.

I would try to add -d /dev/video4 to your webcamDaemon script.

change the line camera_usb_options="-r 640x480 -f 10" to camera_usb_options="-r 640x480 -f 10 -d /dev/video4"

If that doesn't work you have to wait until she is back :wink:

1 Like

This did it! Thanks a bunch @PrintedWeezl and @foosel

1 Like

I m running Klipper and when i run ./mjpg_streamer -i "./input_uvc.so -d /dev/video0 -f 30 -r 1280x960" -o "./output_http.so -w ./www -p 8080" in SSH in the /mjpg-streamer/mjpg-streamer-experimental$ directory i can get the live stream by going to my ipaddress:8080 . I have tried camera_usb_options="-r 1280x960 -f 10 -d /dev/video0" in webcam.txt but i get nothing.

Any ideas?