Please excuse my ignorance, I’m trying to make the move to LW4. My machine has an OrangePi inside for wireless operation. Is there a remote LW4 mode of operation through a browser like LW3? Or is it only app mode and I have to install X and run over VNC?
If you install the app it loads a server. From there you could just open the app on another machine and type in the address of the machine server
@Ariel_Yahni_UniKpty Riiiigghht. Thank you. Now let’s see if we can compile the thing for armv71… that’s the real deal breaker (:
you can always try and use the live version and see if it work under this setup https://laserweb.github.io/LaserWeb4/dist/
How do I get that version locally? That’s what I’m after
I had it working without the comms long time go, not sure how to go about doing that as the server is separated. Maybe @cprezzi can help
@Mircea_Russu Don’t try to run LW4 frontend on the OrangePi in X. It will be too slow!
You can git clone lw.comm-server to the OrangePi, then “npm install” and “npm start”. Then connect from a PC with Chrome Browser on Port 8000.
+Peter van der Walt Since I have a copy of LW4 dist in the app folder of lw.comm-server, it’s possible to install only lw.comm-server (the same way as LW3). This is specially usefull for Raspi.
@cprezzi so I need only lw.comm-server and I can acces it wither through Chrome or the standalone windows app? Does the Chrome app have the same functionality as the standalone app or is it better to use the win app? Thanks a lot!
@Mircea_Russu Right, you get the same frontend via both ways. In the standalone App you just need to configure your OrangePi’s IP:8000 as the server (click on comms and title “Server Connection” to configure).
@cprezzi I’ve managed to play with it more, npm install compiles locally the serialport.node but in the web frontend I can not connect to the machine. I get “No results found” in the comm panel. Any ideas? Thanks
LE. Manually running node serialport-list.js from it’s build dir in node-modules I get the correct ports list.
/dev/ttyACM0 usb-Uberclock_Smoothieboard_01FFE00FAEB580A255935B78F500214F-if00 Uberclock
/dev/ttyS0
LE2. Running /lw.comm-server/node_modules/serialport/bin# node serialport-terminal.js -p /dev/ttyACM0 -b 115200 I can get the machine to respond to GCode commands ok.
As I wrote, you have to change the server IP on tab Comms under Server Connection!