Has anyone been able to run OctoPrint on anything other than a Raspberry Pi ? I tried to run it on Android and Windows, but couldn’t get it to work.
Windows/Mac works ok (no mjpeg-streaming, but that’s not octoprint related). Haven’ tried android.
How did you run it on windows ? Which Python version ? I tried both and I get errors.
I know @Ben_Farmer was able to get it to work on Windows, but I believe it was quite a pain getting the stars to align. It’s probably easier to spend the the $35-40 for a Pi and save the headache.
FYI, I’m developing it under Windows, so I can assure you it runs flawlessly (using yawcam instead of mjpg-streamer). Install python (use 32bit to make it a bit easier), manually install binary distributions of pyserial and numpy (I hope that was all, basically install anything from a binary distribution that’s mentioned in requirements.txt but not requirements-bbb.txt, googling should lead you to where to find that stuff), install pip (Google will help again), make sure python and pip are on your path, run “pip install -r requirements-bbb.txt” in a command prompt with administration rights, then run “python run.py” in a regular command prompt. I also did some experiments with using setup.py to do all that stuff for you, but I can’t remember what steps where needed there right now (limited Internet access atm)
oh, also I remember some guy getting it to run on some Android device, but for the life of me I couldn’t find the post/mail/ticket again
You can buy a fully functional android phone for 70$ these days. This would be a great way to drive a printer, as it already has a touchscreen and wifi.
If I remember correctly, the biggest issue with getting it on Windows is that just getting pip working was quite a pain. I’m sure it runs excellently like @foosel said, but instead of a simple apt-get command on Linux, it’s quite a bit of extra legwork to get pip usable on Windows - particularly if you have to install a C++ compiler and all of the other goodies. StackOverflow had a good write up of the steps though: python - How can I install pip on Windows? - Stack Overflow
You can get around the compiler installation (at least for Octoprint) by using the mentioned binary distributions of the required modules with native parts, this way it actually wasn’t that bad
Works great on a Linux based 7" Pengpad 700 tablet. Haven’t tried enabling the built-in camera yet.
Anybody have a suggestion for streaming on Mac?
AFAIK Yawcam should run there too.
Thanks, I find the Pi a bit too slow and unreliable.
Really? Hm… it’s been working great for me. What do you mean be unreliable? Does it crash?
1: Sometimes it just freezes and doesn’t let me ssh in for 1-2 min and the Octo-UI takes forever to load. I am guessing that it is doing something else
(could it perhaps be the timelaps “stiching” taking all the CPU?).
2: The camera stops working at some reboots and needs to be unplugged/replugged.
3: Octo takes forever when uploading stuff (sits in saving for some time).
I am running on the original rev B with 256MB ram and not the newer with 512MB. Perhaps makes a difference.
-
Timelapse rendering indeed consumes quite a big bunch of the processing power available on the Pi, so that might be it. If you usually observe that behaviour directly after a print it’s likely that that’s the culprit. I’m still also suspecting a timing bug in there somewhere when a print finishes that I have been occasionally observing when printing on an actual printer (but not with the virtual printer for development) but haven’t been able to pin-point yet. That’s more of a “feels sluggish” type of behaviour though, not the “doesn’t respond at all” thing you are observing.
-
I’ve had this happen to me too. I suspect it’s an issue with the camera not being properly initialized some times by the OS, but haven’t been able to corner that yet either. What camera are you running? Is it a Microsoft one?
-
Hm… The file I/O on the Pi when writing to SD in my experience indeed is quite slow, but nothing I’d classify as “forever”. Could you give an example like “takes 3min for a file of 5MB size”?
1: Ahh. Octo has failed on me several times just when it is finished. It says see octoprint.log for error but the file doesn’t say anything besides the normal connecting client etc.
3: I will later today when it stops printing. Note, that i am having this issue when “saving local” and saving to SD. The latter takes too long.
I have fallen back to saving the file to SD locally (moving the SD) and then starting the print from the OctoUI.
-
Hm… that is weird. That “please see the log” message only gets printed when it caught an exception while talking to the printer, and then the entries to octoprint.log should be made automatically, something along the lines of “Something crashed inside the serial connection loop”
-
The latter has to stream the whole file to SD, that of course takes long.