chilipeppr / serial-port-json-server

Serial Port JSON Server is a websocket server for your serial devices. It compiles to a binary for Windows, Mac, Linux, Raspberry Pi, or BeagleBone Black that lets you communicate with your serial port from a web application. This enables web apps to be written that can communicate with your local serial device such as an Arduino, CNC controller, or any device that communicates over the serial port.
http://chilipeppr.com
GNU General Public License v2.0
321 stars 101 forks source link

using in Linux #65

Open Gcodeuser opened 4 years ago

Gcodeuser commented 4 years ago

I haven't seen any examples of anyone using serial port json server in Linux. Has anyone done this? The readme files suspiciously always have examples of how to install using "Mac/Linux".

chilipeppr commented 4 years ago

One of the main use cases for SPJS is on Raspberry Pi, so yes, Linux is full-on supported. There's even a command line switch you can pass to SPJS that will create the /etc/init.d scripts so SPJS auto starts on boot.

On Wed, Dec 4, 2019 at 5:25 AM Gcodeuser notifications@github.com wrote:

I haven't seen any examples of anyone using serial port json server in Linux. Has anyone done this? The readme files suspiciously always have examples of how to install using "Mac/Linux".

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/chilipeppr/serial-port-json-server/issues/65?email_source=notifications&email_token=AB4J23LQ36P5VUC3SD6QL7TQW6VUXA5CNFSM4JVIS5M2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H6ADKVA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4J23IAM47LNZFN22MBDBDQW6VUXANCNFSM4JVIS5MQ .

Gcodeuser commented 4 years ago

Ok, I'm having a bit more success now using the instructions for Raspberry Pi in a Linux Mint environment. I had to add "sudo" at the start of the first step, where it starts with "wget". In the second step, shouldn't that read "gzip" instead of "gzid"?

Gcodeuser commented 4 years ago

For Linux Mint another thing I had to change from the Raspberry Pi instructions is to use “linux_amd64” instead of “linux_arm” I get more steps to work, startup script is created but I still can’t get the server to start, so still trying a few things.