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.
Printable View
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.
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.
Attachment 527
Awesome!!!
Can you expand on the lights system?
How did you handle this? Thru GPIO I assume, but then?
Thanks!
Hi Joao,
How did you get the print on/off working? Would love some details!
Cheers,
Clayton
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...
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
I dont think i enabled ssh access unfortunately. i guess i'll just start over annd rewrite the image again...
Its enabled on install, so you wont need to start over to enable it.
Thanks! I'll double check!
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?
Did you enable the webcam using sudo raspi-config ?
I'm using a USB camera, which works great inside my network. It's the routing outside that's an issue.
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.
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.
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.
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?
Reinstall OctoPi onto the microSD and try again. Might work.
Have you made any port forwarding on your router yet?
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.....
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.
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?
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...
Are you using Windows or mac to connect to OctoPi.local?