Giving that a shot now. The Pi I’m using came from a portable retro game machine project that ended up taking a different form factor. I left it attached to the LCD because it had a stand. Didn’t imagine it would actually be useful as a screen. Seeing alot of warnings about depreciated things, but that’s par for the course with Linux >_<. Install completed, going to reboot and try it out!
Forgive me, but I’m a noob here. I installed the image a couple weeks ago and I boot up and can see the Octoprint and the CNC.js. When I load CNC.js it loads but after a minute or two the server says it is off and it bumps me out to the main screen where you pick Octoprint or CNC.js and shows cnc.js as offline. Any idea what might be going on? Also can someone confirm that the CNC.js works with the RAMBO marlin load?
I believe it had to do with the octopi running at same time. I shutdown the octopi server and the cncjs seems to remain stable but I still can’t get it to control the printer. Any ideas? Here is what the screen looks like. It says it’s connected but no combination of any controls moves the cnc and/or shows send commands.
I had this problem when I was connecting using the wrong port. Click the down arrow and see if you have another option – when I pick the right one, it works much better.
I had to run quite a few lines of code to get ldxe, chromium, and autostart all working. But the end result is that my pi serves up the octopi/linuxjs splash page after it boots. If you create a little heavier image that includes the gui, this would be a pretty straightforward deployment though. Food for thought.
Ultimately I’ll print a case to hold everything and treat it as a handheld controller I think. (I don’t have any expectations of it working with the plasma cutter, so i’ll make it easily detachable.)
I don’t want to have to make any more kinds of images, and running the desktop is very resource intensive (when you’re not using it, it is a big waste). It isn’t too hard to install it from the lite image, and you could also just install raspian on a separate pi, and have it be 100% wireless, with the screened pi talking to the server one.
You might also want to check out the TouchUI plugin for octoprint, and there is a shopfloor tablet interface for cncjs. They both make interacting with a touch screen much easier. There is also the octoremote app in the arduino store which works pretty well for octoprint.
I’m also getting the “forbidden access” on CNC.js at port 5080, but no issues at 8000. I’m new to the Pi stuff… how do I edit the landing page to change the port to default to 8000?
I am using Windows 10, both Chrome and Edge gave the same result. However, if I manually type in the IP address rather than “v1pi.local”, the port 5080 link works.
Although, after leaving the pi running for about 10 minutes (but browsers closed), then opening up again, CNC.js says “stopped” and won’t restart until a hard reboot of the pi.
Ok. That’s really cool. I need to pull the code down and see if I can add a button for ‘test-fire’ the laser. It also looks like I’d have to put the Z homing into a gcode file and load it instead of it being a button.