johnlauer / serial-port-json-server

A serial port JSON websocket server 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
355 stars 174 forks source link

Serial Port JSON Client #57

Open AustinSaintAubin opened 7 years ago

AustinSaintAubin commented 7 years ago

Is there a client for Windows &/or Mac OS that can connect to a Serial Port JSON Server?

I would like to have the ability to use other programs at times with my CNC Router by connecting to my Serial Port JSON Server on my Raspberry Pi.

chilipeppr commented 7 years ago

You just use ChiliPeppr.

On Sat, Jan 14, 2017 at 4:48 PM, Austin St. Aubin notifications@github.com wrote:

Is there a client for Windows &/or Mac OS that can connect to a Serial Port JSON Server?

I would like to have the ability to use other programs at times with my CNC Router by connecting to my Serial Port JSON Server on my Raspberry Pi.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/johnlauer/serial-port-json-server/issues/57, or mute the thread https://github.com/notifications/unsubscribe-auth/AHidbX26T-Y1WSIGP2HCgI23L7z2SU5hks5rSWz1gaJpZM4LjyeM .

AustinSaintAubin commented 7 years ago

I love using ChiliPeppr, but I also like option to use other control software. Additionally I would like to use Serial Port JSON Server to connect to my 3D printer and control it. To do this I would need my Macbook to connect over a virtual serial connection to my 3D printer.

chilipeppr commented 7 years ago

I guess I'm not really understanding what you're trying to do. What setup are you after?

On Jan 14, 2017 8:04 PM, "Austin St. Aubin" notifications@github.com wrote:

I love using ChiliPeppr, but I also like option to use other control software. Additionally I would like to use Serial Port JSON Server to connect to my 3D printer and control it. To do this I would need my Macbook to connect over a virtual serial connection to my 3D printer.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/johnlauer/serial-port-json-server/issues/57#issuecomment-272672194, or mute the thread https://github.com/notifications/unsubscribe-auth/AHidbcRwOlV4HeHSvvHcfetBrnmPWtBXks5rSZrIgaJpZM4LjyeM .

AustinSaintAubin commented 7 years ago

A Serial Port JSON Client for my workstation [Macbook w/ macOS], that I can use to connect to another computer that is running Serial Port JSON Server.

[Macbook w/ macOS [Serial Port JSON Client]] <-> [Local Network] <-> [Raspberry Pi [Serial Port JSON Server]] <-> [3D Printer / CNC Router / Something Connected to Serial Port]

chilipeppr commented 7 years ago

So, on your Mac, you just load ChiliPeppr and connect to your ws://localhost or you connect to ws://(your raspberry pi ip) and presto, you have what you're after (i think).

For connecting to your 3d printer, it would seem that the more important is whether you can send Gcode to it from ChiliPeppr. That would be more dependent on your firmware you're using. Not many people use ChiliPeppr for 3d printing. They tend to use Octoprint.

seyyah commented 7 years ago

Serial Port JSON Server - Minimal Client Example Snippet: https://gist.github.com/seyyah/babf6917e1b3ccff55f7a11f87d2c831

chilipeppr commented 7 years ago

BTW, the latest Repo is now in https://github.com/chilipeppr/serial-port-json-server and is a much newer/better version of SPJS.

Also, I got this running nice and quick in a Codepen, so nice work on this minimal version. http://codepen.io/jlauer/pen/MJLEzd

[image: Inline image 1]

On Mon, Feb 13, 2017 at 11:40 PM, nurettin senyer notifications@github.com wrote:

Serial Port JSON Server - Minimal Client Example Snippet: https://gist.github.com/seyyah/babf6917e1b3ccff55f7a11f87d2c831

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/johnlauer/serial-port-json-server/issues/57#issuecomment-279630349, or mute the thread https://github.com/notifications/unsubscribe-auth/AHidbQWw9-WU-76pExbn95DbueM4Pkv8ks5rcVpmgaJpZM4LjyeM .

seyyah commented 7 years ago

I am sorry. You are right :+1: