PDA

View Full Version : Octoprint setup with Raspberry Pi



JonatanJacobsson
01-08-2015, 12:27 PM
Note!
For a guide how to setup the hardware and software, i recommend that you see Thomas Sanladerer guide on Youtube. Octoprint recommends this video aswell. Thomas makes it real easy and explains everything you need to know. Link below:


https://www.youtube.com/watch?v=EHzN_MwunmE


https://www.youtube.com/watch?v=EHzN_MwunmE

So I bought these not too long ago:


Raspberry Pi B+
Sandisk 16Gb Micro-SDHC Memory card


I then printed a case for the raspberry and continued watching and following Tom’s guide.
Worth mentioning is i used Windows for most of this since you need terminal knowledge to do this on Linux or Mac - I don't have any :)


344

This is what i did after watching Tom’s guide a few times.


Download the Octoprint image (http://docstech.net/OctoPiMirror/)
Formated the micro-SDHC card to FAT32
Write the octoprint-image using Win32 Disk Imager (http://sourceforge.net/projects/win32diskimager/)
Connected these to the Pi:


Micro-SDHC with now Octopi installed
HDMI-monitor
Ethernet-cable
USB-keyboard
Printer via USB
USB-charger onto the Pi


After it booted i Expanded the filesystem
Changed the password on the Pi
Restarted the Pi and let it boot up


347

I could now access http://octopi.local/ on my computer and begin setup up Octopi with the numerous settings.

After setting up Octoprint, i can now upload either exported gcode from Repetier/Slic3r or upload .stl-files that Cura can slice on the Raspberry. Though, i will probably upload the gcode instead - since my laptop and computer have alot of computing power :)

And again, i cant give much support on this, only a few things. But Thomas explains all you need to know, so if your interested in using Octoprint on a Raspberry Pi to make your printer wireless, watch his video :)

What i need to do now, is make my raspberry pi accessable on the web using my own domain using Port Forwarding and DNS pointers. This way, i can remotely access my printed when not at home using a connected Webcam and the controls that Octoprint enables.

bolsoncerrado
01-08-2015, 05:12 PM
Awesome!

That mixes with my webcam idea ;) Sounds really nice! ;)

What about this slicer?
https://www.astroprint.com/p/cloud-slicer

May be you can set up some sort of macro or something to get the whole thing generate "in the air" ;)

Where did u get your raspberry?

This cam looks tiny and powerful enough to monitor the printer!

http://www.amazon.es/Raspberry-Pi-100003-M%C3%B3dulo-c%C3%A1mara/dp/B00E1GGE40/ref=pd_bxgy_e_text_z

JonatanJacobsson
01-08-2015, 05:51 PM
I've looked at Astroprint. I think their UI is amazing :)
But i wanted the challenge of the Raspberry Pi because its a really versatile device!

You can use Cura with Octoprint, havent tried yet :) So much to try - so little time :/

I got my raspberry at a swedish tech-store. They sell these everywhere and the price difference is so little that i didnt bother buying it of ebay :)

I bought a RPi Camera Module last night, same as the one you linked. I have no proper installment on the printer for the camera. For stable timelapses you need to mount it on the side of the printbed - but for that i need a longer cable for the camera. So I bought this on ebay today: http://www.ebay.com/itm/291342540605?_trksid=p2059210.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

When that cable arrives ill mount both my RPi and the Camera properly on the printer. Making it really wireless :)

bolsoncerrado
01-08-2015, 08:13 PM
Thanks for the ribbon cable link, just ordered one too, along with a RBPi :D

Shall we start a SUBFORUM for RBPi hacks? :D

JonatanJacobsson
01-08-2015, 08:17 PM
Great idea Bolson - go ahead :)

Btw. Got the printer online now :)
print.jonatanjacobsson.se

grobbins
01-08-2015, 09:49 PM
This sounds so cool and right up my alley. Once I can figure out my clogging/jaming issue 100% I will for sure put some funds and time to making a wireless setup mainly for monitoring a print though as right now I do not trust even leaving the house while the machine is running let alone trying to print to the machine while I am at work haha

bolsoncerrado
01-08-2015, 09:53 PM
Great idea Bolson - go ahead :)

Btw. Got the printer online now :)
print.jonatanjacobsson.se


Im stunned man! Congratz! It's already displaying live video feed!! haha! Amazing! ;) What cam did you use for that?

BobenhamHotspur
01-08-2015, 10:15 PM
Great idea Bolson - go ahead :)

Btw. Got the printer online now :)
print.jonatanjacobsson.se
Fantastic stuff!:cool: I'm now going to have to get this kit for my set-up, especially now I'm back and printing. :D

tigerpolis
01-08-2015, 11:00 PM
Wow that is great! Next is to mount it inside the base of the printer :)

Ps. Kul att se fler Svenskar som har köpt skrivaren! Var köpte du din RPi?

bolsoncerrado
01-09-2015, 09:37 AM
RBPi looks tiny enough to fit inside, as long as Amps and Volts dont complain lol

Joao
01-09-2015, 09:48 AM
RPi takes 1A from the 5V.
I am not sure if the power source will support the extra 1A but I will try it anyway.
The 12V output is the one with the most power consuming for the heating elements.
These new power sources complaint if they can't (or start smelling burn :) ).

bolsoncerrado
01-09-2015, 03:36 PM
May be if you stream video with RBPi cam at the same time another user is connected and the printer is printing in ABS may ruin your print :D

I wouldnt mess with the power source for the printer, it's just 1 extra cable coming out of the case in the worst case :D

JonatanJacobsson
01-09-2015, 04:34 PM
Why would that ruin the print? :P Curious :)

You can connect the USB-PSU to the back of the female power cable connector inside the printers case.
364
Just add a connector to the two red cables shown in the picture, and solder in your wires to the USB-PSU powering your RBPi. That way you always have power for your RBPi as long as you have connected the power cable to the printer :) Just a thought, maybe it would be of use. But having your RBPi inside the Printers case, certainly makes the RBPi Camera installation harder :P

tigerpolis
01-09-2015, 04:42 PM
Just bought a RPi today! Super easy to setup! Now i'm going to print a case for it and attach inside the rapide! Just don't know where i will power it from! Joao did you use the rapide powersource?

tigerpolis
01-09-2015, 04:45 PM
Where do you solder the 5v cable to the RPi? To the pins? If so which ones?

JonatanJacobsson
01-09-2015, 06:27 PM
Where do you solder the 5v cable to the RPi? To the pins? If so which ones?

I assumed that the Rapide Lite used a RUMBA board - but i cant find any model online that looks the same as ours :/ Maybe its some kind of special model so you'll have to find out yourself - on the Logic Board, maybe you can see some +5v port on there?

tigerpolis
01-09-2015, 06:30 PM
I ment on the RPi, but i found the right pins! :) Which case did you print?

JonatanJacobsson
01-09-2015, 06:37 PM
I printed this last night, works really well: http://www.thingiverse.com/thing:402356

My PSU cable was a bit to large for the hole - but i opened it up using a exactoknife.

tigerpolis
01-09-2015, 06:45 PM
Okay! Nice, what resolution and settings did you use?

JonatanJacobsson
01-09-2015, 06:51 PM
I went for 0.1mm layer height (0.25 first layer) and a 5mm brim to make it stick firmly to the bed :) Took a while to print but it was very sturdy when screwed together :)

tigerpolis
01-09-2015, 07:24 PM
I will probably try to print one tonight! I made one very quickly now but with 0.25 layer height, but it is a very bad fit! Btw you should def get a BuildTak! I bought one today, it was the best 11€ ever invested!

JonatanJacobsson
01-09-2015, 08:02 PM
Yes, BuiltTak, i've heard of those. How did you fit it to the printbed?

tigerpolis
01-09-2015, 08:09 PM
It is actually as amazing as in the commercial video! You can buy it here in Sweden: http://www.3dprima.com/sv/tillbehor/buildtak-3d-print-surface.html.

Actually my heatbed is not completely even so i ordered a 200x200mm glass sheet from the glasmästare (Swedish word, don't know the english one) and then i applied the BuildTak to the glass and i am holding down the glass sheet to the heatbed with small clamps! It works flawlessly!

JonatanJacobsson
01-09-2015, 08:21 PM
Gött! Då kan jag ju också köpa en billigt :) 3D Prima är riktigt bra :)
[Nice! Then I can also buy a cheap :) 3D Prima is really good :)]

Good to see thats some swedes bought this printer :) Could you post pictures Tigerpolis? Post it on a new thread named BuiltTak or something :)

bolsoncerrado
01-10-2015, 11:48 AM
My RBPi coming monday, cant wait ;)

So who's gonna do the first HowTo For Noobs guide? :D

JonatanJacobsson
01-10-2015, 12:58 PM
Great! :)

Hahaha :) Well, i hoped that this post would serve as something like that. I did not go into too much detail, since i Thomas howto-video is way better :)

JonatanJacobsson
01-12-2015, 02:31 PM
Someone created a touchpanel to work with Octoprint :)
https://www.youtube.com/watch?v=ZYjPcC37fNI

More stuff going on at:
https://plus.google.com/communities/102771308349328485741

bolsoncerrado
01-12-2015, 07:20 PM
WOw response time is nice! I guess RBPB+ would be even faster? :D

bolsoncerrado
01-12-2015, 07:21 PM
Im also wondering if all those adafruit touch panels will work fine with RBPB+, I guess so but just in case?

JonatanJacobsson
01-12-2015, 07:30 PM
I think its the touchscreen causing the delay.
Yeah i think they are quite versitile :)

Joao
01-12-2015, 07:38 PM
How much different this would be from the LCD panel that Rapide will provide ?
Anyone knows about that LCD? Is is only to 'display' or also to control?

bolsoncerrado
01-12-2015, 08:23 PM
AFAIK it's for making the printer a standalone device so there must be some sort of CPU dealing with that, either inside marlin fw or by adding a Pi or something. The cost of the LCD version is $88 so a Pi is something they must have taken into care for it. However I also recall Ethan said "no touchscreen"....

JonatanJacobsson
01-13-2015, 01:10 PM
There are lcdscreens that can be added to any Marlin fw.
http://www.reprapdiscount.com/electronics/19-smart-lcd-controller.html

But i think that Rapide will probably make an aluminium enclosure for this that can be easily retrofitted to a nice place on your printer :) Hence the 88$.

clayton
01-16-2015, 03:50 AM
Hey all,

Just completed my Octopi setup. Managed to use an old Wifi USB dongle and a webcam scavanged from work. Super simple to set up - followed Tom's video instructions and it worked right away.


Here is the auto-generated time lapse from it... Will work on better time intervals...

I'm going to try to setup an Astroprint box once I get a Wifi dongle that is compatible.



https://www.youtube.com/watch?v=oherGWXywKA&feature=youtu.be

JonatanJacobsson
01-16-2015, 02:04 PM
You dont actually need a Wifi dongle - i installed mine with a Ethernet cable and it made the installation procedure alot faster :)

clayton
01-16-2015, 03:00 PM
My printer is far from my router, so I need wifi. It works fine on Octopi, but Astroprint isn't seeing the wifi in the desktop. Ordered the recommended chipset on eBay for $4, but have to wait for it to come from China...

clayton
01-16-2015, 09:01 PM
Hi,

Looks like I have the Octopi visible on the internet, including the webcam of the print in action - I'll be printing a new Pi case for the next two hours. If you don't find anything on TV, you can watch at:

http://3dprint.noip.me/

Under the Control tab. Comments are welcome.

BobenhamHotspur
01-16-2015, 09:15 PM
Hi,

Looks like I have the Octopi visible on the internet, including the webcam of the print in action - I'll be printing a new Pi case for the next two hours. If you don't find anything on TV, you can watch at:

http://3dprint.noip.me/

Under the Control tab. Comments are welcome.
Watching live now! - I see your case prints on its end, what case is it? Unfortunately the columns holding the screws in my pi case broke off as I think they were slightly out of alignment and therefore under tension, so now I'm looking for a strong reliable case to replace it.

clayton
01-16-2015, 09:25 PM
Hi,

It's this case:

http://www.thingiverse.com/thing:604915

It's a sleeve so you slide the Pi in - I'm going to try a different colour for the end cap.

I tried another one as well and the same thing happened to me - broke the uprights in a snap together model

BobenhamHotspur
01-16-2015, 11:14 PM
@ clayton - Did your pi fit as a few people on the thingiverse site were saying it was a really tight fit?

clayton
01-17-2015, 01:20 AM
@ clayton - Did your pi fit as a few people on the thingiverse site were saying it was a really tight fit?

I think that if I had printed it in ABS and there was a percent or so shrinkage, it would have been tight - I printed it in PLA and it was a perfect fit - the Pi slid right in with zero effort.

The end cap has to be crazy glued on - I think I would look at changing the cap to use a friction or spring fit of some sort if redesigning.

For thos eo fyou that missed it - the time lapse it here:


http://youtu.be/i-Cw_J5svqk

bolsoncerrado
01-17-2015, 08:20 AM
Nice lapse ;)
Now place some LED strips so u dont need to have the room light on hhehehe

JonatanJacobsson
01-17-2015, 09:27 AM
I bought this on eBay - concerning lighting for the printer. But its from china - so ill end up getting it in the middle of february:P

http://pages.ebay.com/link/?nav=item.view&alt=web&id=261563983947

Joao
01-17-2015, 09:47 AM
Don't forget that your power supply was designed for LED strips.
You can power the light directly from there, no need for aditional transformers.

bolsoncerrado
01-17-2015, 11:43 AM
"your power supply" -> rapide lite power supply?

Joao
01-17-2015, 11:52 AM
Yes, the printer power supply is a normal LED transformer.
http://www.ebay.co.uk/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR10.TRC2.A0.H0.XLED+p ower+supply+30A&_nkw=LED+power+supply+30A&_sacat=0

JonatanJacobsson
01-17-2015, 03:19 PM
Where on the power supply can you get the power for the LEDs?

clayton
01-17-2015, 03:57 PM
So, we could probably wire the Pi in to the power supply as well, and tuck it inside?

JonatanJacobsson
01-17-2015, 03:59 PM
Yes we can - although ive heard that we can only get 1A, so we cant give alot power to USB ports.

Joao
01-17-2015, 04:32 PM
Connect the +12V to any of 1,2,3 and the -12V to one of 4,5,6.

447

- - - Updated - - -

The Pi uses 5V 1A, so you need to transform from 12V to 5V because this power supply does not output 5V.
Thats another reason why a PC ATX power supply would be great, outputs 3.3V, 5V and 12V, and most of them with more than enough Amp.

BobenhamHotspur
01-17-2015, 04:45 PM
Is something like this small enough?
http://www.ebay.co.uk/itm/275W-for1U-FLEX-ATX-Power-Supply-to-replace-HP-Pavilion-s7210n-Slimline-Actual-/111094487537
448

clayton
01-17-2015, 05:07 PM
I suppose you could take a cheap car lighter socket to USB adapter and wire it in...

JonatanJacobsson
01-17-2015, 05:10 PM
Or wire in a normal USB adapter:) Im considering it - just need to figure out a safe solution:)

Joao
01-17-2015, 05:16 PM
Mix Output Voltage: +5V 13A, -5V 0.5A, +12V1 7A, +12V2 7A, -12V 0.8A, +3.3V 13A, +5V-SB 2.5A

Yes, that would do.

Our printer specs (according to my measurements):
- Each motor needs 1.2A , total 4.8A.
- Bed heating is 3 ohm = 4A
- Nozzle is 5 ohm = 2.4A
- I don't know how much is the PCB and all the fans, but it should be less than 2A.
Total: 13.2A

So with that ATX would be almost at its current limit because it only outputs 14A divided 7A+7A on each 12V wire.

It would be better to have a higher margin.

For example this one: http://www.ebay.co.uk/itm/NEW-QUIET-ACE-BLACK-EDITION-750W-ATX-POWER-SUPPLY-MOLEX-SATA-PCI-E-PFC-/110787039283?pt=UK_Computing_PowerSupplies_EH&hash=item19cb6c1033
The 12V output can handle an impressive 37A.
And it has 5V output for more than 30 RaspberryPis !



- - - Updated - - -


I suppose you could take a cheap car lighter socket to USB adapter and wire it in...
That is in fact a good idea, but it needs to do at least 1A.

clayton
01-17-2015, 05:34 PM
I'm thinking something like this, as it already steps down from 12v to 5v:

http://m.ebay.com/itm/261264313241?_mwBanner=1

BobenhamHotspur
01-17-2015, 07:09 PM
Hi,

It's this case:

http://www.thingiverse.com/thing:604915

It's a sleeve so you slide the Pi in - I'm going to try a different colour for the end cap.

I tried another one as well and the same thing happened to me - broke the uprights in a snap together model
Unfortunately most of the bottom slats broke on mine with hardly any pressure on them, they were like crisps! (potato chips for our American friends :)) and one of the posts at the top broke off as well! Still at the moment it's better than my earlier one so it stays. Might give the solid version a go and see how that works.

bolsoncerrado
01-17-2015, 09:34 PM
What sort of power source do racks (web servers, rendering farms) use? embeded in the metal frames or in the computer board?

Joao
01-17-2015, 10:43 PM
What sort of power source do racks (web servers, rendering farms) use? embeded in the metal frames or in the computer board?
The racks don't have power supply, the computer or other device inserted in the rack, have their specific power supply.
There are servers that have multiple power supplies for redundancy and can be replaced with the computer always on.
It's not necessary to go that far, any ATX for a regular computer lasts many years always on.

bolsoncerrado
01-18-2015, 08:47 AM
Yeah but i was mentioning them given their "horizontal configuration"... ATX PC powersupplies tend to be bulky "vertically speaking"....

Joao
01-18-2015, 12:36 PM
Yeah but i was mentioning them given their "horizontal configuration"... ATX PC powersupplies tend to be bulky "vertically speaking"....
Its not easy to find a white label ATX with a 1U or 2U dimensions, they are normally designed specifically for the device and owned by the brand.
Thats why the only ones I found for sale were HP, but the ones with higher Amp have ridiculous costs ($100).
The hacking solution of adding a $1 step down transformer for the Pi is perfect.

bolsoncerrado
01-18-2015, 09:04 PM
Not only for the 5v but also for higher quality and better response/stability....

Joao
01-19-2015, 11:49 PM
I have good news for you guys!

When I was replacing my power supply, I noticed that the PCB does already step down of the 12V to 5V.
In fact I was stupid because that was so obvious.
All chips run at 5V and not 12V (old ones, the new are at 3.3V), so the 5V would be there somewhere.

And in fact it is quite easy to use it.
Just use the existing jumper pins there:
465

- - - Updated - - -

Those pins might be used for the LCD extension, with the power supply and the serial pins.
And I guess the LCD will be something similar to a Pi, so the 5V have enough current for it.

bolsoncerrado
01-20-2015, 03:09 AM
Wooohooooo!!! you're The Man! :D

BTW how good does the new powersupply look like? ;)

Joao
01-20-2015, 08:15 AM
The new power supply looks exactly the same from outside. It is from same manufacture in China. Only the electronics are a bit different to give the 400W power.

BobenhamHotspur
01-20-2015, 01:28 PM
The new power supply looks exactly the same from outside. It is from same manufacture in China. Only the electronics are a bit different to give the 400W power.Fingers crossed then .......

tigerpolis
01-21-2015, 06:35 PM
How do you set it up so you can access the octopi from anywhere and not only on your network?

bolsoncerrado
01-21-2015, 08:17 PM
Probably using a DDNs service like no-ip.org or such.

Joao
01-21-2015, 09:29 PM
@tigerpolis, this link is for you: http://lmgtfy.com/?q=how+to+setup+router+to+access+octoprint

JonatanJacobsson
01-23-2015, 10:33 AM
I've installed my Pi inside the printers case.
Instead of describing everything in words, here are the pics :)

I've replaced wifi with ethernet-cable. Uploading gcode and webcam streams better through cable.

Pic 1:
497

Pic 2:
498

Pic 3:
499

Pic 4:
500

Pic 5:
501

Pic 6:
502

bolsoncerrado
01-23-2015, 11:20 AM
Neat!

How did u route the ethernet cable?

Also, you switch rasp off with the power off button or what?

JonatanJacobsson
01-23-2015, 11:28 AM
The same route as the USB cable.

No, the raspberry pi power adapter is wired together with the power connector. This way the pi can still be on, as long as the power cable is connected to the printer - while the printers power is controlled via the button on the outside :)

JonatanJacobsson
01-23-2015, 11:29 AM
http://tapatalk.imageshack.com/v2/15/01/23/3adc9d3ad3943595844abad805d6218c.jpg

clayton
01-23-2015, 04:26 PM
Very cool. Where did you tap the power for the USB? Did you step it down from 12v?

clayton
01-23-2015, 05:13 PM
I have good news for you guys!

When I was replacing my power supply, I noticed that the PCB does already step down of the 12V to 5V.
In fact I was stupid because that was so obvious.
All chips run at 5V and not 12V (old ones, the new are at 3.3V), so the 5V would be there somewhere.

And in fact it is quite easy to use it.
Just use the existing jumper pins there:
465

- - - Updated - - -

Hi Joao

Those pins might be used for the LCD extension, with the power supply and the serial pins.
And I guess the LCD will be something similar to a Pi, so the 5V have enough current for it.

I tried going off those pins for my Pi and couldn;t get it to light up :-) Did you check with a meter for power?

Thanks!

Clayton

Joao
01-23-2015, 05:21 PM
I tried going off those pins for my Pi and couldn;t get it to light up :-) Did you check with a meter for power?

Thanks!

Clayton
Yes, the meter displayed 5V.
I will give it a try this weekend because the parts I needed arrived.
But I am also considering to use the power from the mains 230V so that I can remotely turn the printer on/off from the Pi. Or else, the printer needs to be always on to access the Pi. It depends with each one how they want to use the Pi.

clayton
01-23-2015, 06:05 PM
I would be interested in how you're wiring that for sure. Thanks again, just broke out my meter to check my issue.

bolsoncerrado
01-23-2015, 06:42 PM
Problem with the Pi is it can't switch off at the same time as the printer or the SD image will get corrupt... So the AC/DC converter must go inside the case as well then?

I'm also looking forward more setups ;)

I also have my touchscreen on the way to me, I'm assuming I'll need to route a cable out of the case to the.... front part of the printer, for example hmmmmm

I guess i'll have to recess the case or drill a hole in the front part, and design some sort of support and get new screws to use the frontal holes to hold the screen probably.

ANy ideas?

Any1 good at 3D CADding? :D

JonatanJacobsson
01-23-2015, 07:03 PM
Clayton, i wired a normal USB Power Adapter to the power socket coming in to the printer. There was enough space inside - figured that that would be just as easy as wiring it to the board.

bolsoncerrado
01-26-2015, 10:04 AM
Hey Jonatan,

Can you paste somewhere the Octoprint settings screens for rapidelite+pi?

I can't manage to get the printer to connect to octoprint :(

EDIT: Nevermind, i changed the usb cable to another of the rbpi ports and it now works :?

but please post them anyway if you have a chance ;)

JonatanJacobsson
01-26-2015, 10:43 AM
Since i dont use the Pi for Slicing, this is the only settings that i have cared to change.

Here you go:

525

Btw, to connect to the printer - i have to connect with baudrate 250k and then reconnect with baudrate 115k. It has to reset something to connect, really wierd.

bolsoncerrado
01-26-2015, 12:26 PM
I did keep connecting with 115200 but only after i changed the USB port.... idk if it was stacking with the dongle i was using on the lower plug for the keybobard/mouse set but this was enough.

Joao
01-26-2015, 05:25 PM
To avoid this connection issues, you need to disconnect the printer before turning the printer off.

I have my OctoPrint running now and also the Pi controlling the power of the printer and also some lights.
When I want to turn the printer off I disconnect it first gracefully, so that the /dev/tty* resource is released.
It never fails this way.

I also added a few menu items to OctoPrint to control the Pi.
527

bolsoncerrado
01-26-2015, 05:53 PM
Awesome!!!

Can you expand on the lights system?

How did you handle this? Thru GPIO I assume, but then?

Thanks!

clayton
01-26-2015, 08:41 PM
Hi Joao,

How did you get the print on/off working? Would love some details!

Cheers,

Clayton

bolsoncerrado
01-26-2015, 08:49 PM
Of course, im interested in that too ;)

And I'm also wondering, how can I get onto the raspberry pi command line again so i can disable certain things? i enabled the GUI "by default on bootup" and I'm sure that takes more pi resources even if i am not using it at all...

JonatanJacobsson
01-27-2015, 09:26 AM
You can SSH to the Pi. With Windows you can use Putty and on Mac you can use the terminal.
To SSH you can connect using:

ssh octopi.local/ -l pi

bolsoncerrado
01-27-2015, 09:34 AM
I dont think i enabled ssh access unfortunately. i guess i'll just start over annd rewrite the image again...

JonatanJacobsson
01-27-2015, 09:35 AM
Its enabled on install, so you wont need to start over to enable it.

bolsoncerrado
01-27-2015, 09:36 AM
Thanks! I'll double check!

MrFish
02-06-2015, 01:06 AM
Followed the links, read the instructions. I can access my OctoPi over the web via the default port 5000. But I can't get to the webcam to appear. I just see the "broken image/plugin" icon.

Most instructions state that OctoPi is "already set up, don't touch it." I disagree ... :)

Help?

bolsoncerrado
02-06-2015, 03:52 AM
Did you enable the webcam using sudo raspi-config ?

MrFish
02-06-2015, 06:53 AM
I'm using a USB camera, which works great inside my network. It's the routing outside that's an issue.

bolsoncerrado
02-06-2015, 08:27 AM
Thats because octopi comes presetup for the raspi camera... you may need to edit the HTML/PHP code for the website to use your IP cam URL instead.

Joao
02-06-2015, 09:23 AM
You just need to figure out what is the port of the camera stream and open it also in the router.
The url of the video stream at the octoprint settings needs also to be the external DNS name and not the localhost.

Skinny Kid
02-10-2015, 04:51 AM
Can any of you guys post what settings you used in octoprint? Not sure about my connection but I currently do not have the extruder mounted. I get an error code 0: extruder switched after getting multiple server offline attempts. I am assuming this is due to the lack of the extruder? Please help if you can....

edit: checked serial log and it appears connection gets closed since "extruder is switched off and mintemp error occurs. Need to get eh extruder rebuilt and put back on to test.

Skinny Kid
02-12-2015, 11:24 PM
So I tried tried to connect with octoprint after installing extruder. All I get is server offline, cannot make any connection regardless of whether I leave setting alone or change them. Now can't even access Octoprint....got bad gateway error to start and now it says cannot find it....pi is powered on.

This is amazing what a pain this is. Everything that supposed to be easy is nothing but frustrating. Any ideas?

JonatanJacobsson
02-12-2015, 11:27 PM
Reinstall OctoPi onto the microSD and try again. Might work.

Have you made any port forwarding on your router yet?

Skinny Kid
02-12-2015, 11:32 PM
I have not mad any port forwarding on my router? Can I ask where it says to do that?

Reinstall Octoprint because it might work? lol I thought it worked like a charm.....

bolsoncerrado
02-12-2015, 11:42 PM
Octoprint does work like a charm... once you have it running ;)

With Raspberry/Raspbian/Octopi, you can't unplug the raspberry while it's running or you collapse the filesystem...

And you only need to open ports if you want to access it from the outside (of your LAN). OTherwise, no, you dont need to open any ports, just open your browser in your computer and open octopi.local url.

Skinny Kid
02-12-2015, 11:47 PM
Can I ask why wouldn't I connect to printer when I had it running? All I kept getting was Server offline response as it connected. I had to disconnect to get the "server offline" message to stop as it kept trying.

Not trying to access outside of my LAN....so haven't done anything with ports. Cannot connect with octopi.local...says it cannot be found. So reinstall octoprint is the next step?

bolsoncerrado
02-13-2015, 01:00 AM
Hmmmm may be for some reason the octopi daemon was not started... did you try rebooting the pi? if that does not help, yeah, regenerating the SD should be good to go, it has worked for all of us here with no issues... furthermore, octopi was the only one connecting 100% of the times, repetier was 75-80%, cura was 50%....

but i guess, in the end, all was about a crap board with USB communication issues...

JonatanJacobsson
02-13-2015, 09:34 AM
Are you using Windows or mac to connect to OctoPi.local?