Originally shared by Guy Sheffer Hey all,

Thanks, Marvin for reaching out. I have downloaded the imaging software (that was the piece I missed in all this) and will try now. For anyone reading this thread, here is the link to the software to take the above image and put it on an SD Card http://sourceforge.net/projects/win32diskimager/

With a quick call from Marvin Stuart (Thanks!) and the utility above, I have Octoprint running on a Raspberry PI. I think I read that I need to use a lower baud rate to connect to my printer so I need to investigate. It did not like my webcam so I will go check the supported cameras list. But the Raspberry Pi part was easy thanks to this image.Thank you!

You’re might get the cam working still there is a yuw optioion in the /home/pi/scripts/webcamDemon script. Some cams need it, others fail on it.

You’re might get the cam working still there is a yuw optioion in the /home/pi/scripts/webcamDemon script. Some cams need it, others fail on it.

Guy, could write a distro for repetier server for the RPI . https://github.com/repetier/Repetier-Server/blob/master/INSTALL.txt

You could have the 3 distro a) octoprint b)repetier server c) both

For the record: I narrowed it down to an inadequate power supply. It was sufficient to recognize the webcam but insufficient to get video. I replaced the 750ma BlackBerry phone supply with a 1 amp Apple supply and the camera came right up…

Guy, I am interested in a repetier server + webcam on Raspberry pi- if you decide to make an image, I would be happy to test it for you.

@Eric_Mack I did. What do you mean by ‘repeater server’?

@Guy_Sheffer sorry for the delay. I was referring to the Repetier 3D Printer server for Raspberry Pi. See @Marvin_Stuart 's link above. I use Repetier firmware and host, so I am curious to see the server. It does not appear that they have a ready to run version, according to Marvin’s link above. I do not know if the Repetier server can control the webcam like Octoprint does. I did read that @Whosa_whatsis got the Repetier server running many months ago.

@Eric_Mack ok keep ua posted :slight_smile:

@Guy_Sheffer I have been testing your OctoPi build and it seems work work nicely. I’m now working on the timelapse video capture. Presently, I have it set to record at 1 second intervals. When I download and view the recordings I see only the first few seconds…

UPDATE: I think it may be because OctoPrint allows you to download the .MPG while it is being created and before all of the still shots have been stitched together… Anyway, if you have any tips from your experience…

@foosel ^ ?

if you don’t reload the page, the mpg should not be visible until it’s done being created. How big is it, how long is your print job? Remember that depending on what you are printing the timelapse might actually be only a couple of seconds (25 frames per second). If you feel comfortable and are able to, lock in via ssh to the pi and do “ls ~/. octoprint/timelapse/temp”. This should give you a list of images created for the timelapse. It should be continously numbered.

@foosel
Thank you. I am new to RPi and OctoPrint (And Linux). Are you able to point me to the steps or a web page that I can use to edit the OctoPrint settings? Specifically, I want to edit 1) the setting that will show the webcam in the Controls Tab, and 2) the default Temp for ABS.

Thanks.,

Upper right corner in OctoPrint there’s a link “Settings”. Click it, a dialog should open. Temperature setting can be edited in I think the “Temperatures” section, Webcam URL can be configured in “Webcam”. How are you accessing the Pi, via “http://octopi.local:5000” or via some IP address instead of the “octopi.local”? In case of the latter you’ll have to adjust the" Stream URL" setting to reflect this, otherwise OctoPi should already be configured for the webcam to work.

Thanks for the timely response. I’m familiar with the settings in OctoPrint that you mention. What I’m looking for, however, is a setting that will cause the webcam image to be displayed within the control tab of OctoPrint. My understanding is tat this can be set in a configuration file… At least tat is what Google leads me to believe. Does that make sense?

Makes sense but isn’t so :slight_smile: The webcam should show up in the control tab already if it’s configured correctly. or do you still have a webcam tab? I’m unsure which version of OctoPrint is included in OctoPi right now, which is why I’m asking

My control tab has the working controls, but no web display. I do have the webcam enabled in the OctoPrint settings as: http://octopi.local>:8080/?action=stream and http://127.0.0.1:8080/?action=snapshot. I know the webcam is working because I can connect to it from another computer on my network at http://192.168.1.245:8080/?action=stream and I can watch the completed MPG files after the print. My desire is to enable the web cam to appear within the Control tab of Octoprint if that is possible. From what you describe, it sounds like it is supposed to happen automatically if I simply enable the webcam within the OctoPrint settings.

ah, there we have your problem. Enter that working url you can see the stream on where the octopi.local stuff is written and hit save. If after hitting save the dialog does not close automatically you are running into a permission problem in OctoPi I already told @Guy_Sheffer about. in that case you’ll need to ssh into the pi - do you know how to do that? Use putty to connect to the Pi’s IP, user is named “pi”, when you’re asked for a password enter “raspberry”. You’ll need to perform a “sudo chown pi.pi ~/.octoprint/config.yaml”, after that saving the settings should work and your webcam should show up after a reload.

Gina, you described it exactly: “If after hitting save the dialog does not close automatically you are running into a permission problem in OctoPi” that is what happens for me. And, at every reboot I need to re enter the settings. Sounds exactly like a permission problem. I will follow the steps you have provided and see if I can handle that. Thank you.