Skip to content

Serial Port JSON Server

Latest
Compare
Choose a tag to compare
@chilipeppr chilipeppr released this 27 Jul 11:00
· 3 commits to master since this release
8f89037

Installing on Raspberry Pi:

  • Do a wget https://github.com/chilipeppr/serial-port-json-server/releases/download/v1.96/serial-port-json-server-1.96_linux_arm.tar.gz from the command line
  • Then gzip -d serial-port-json-server-1.96_linux_arm.tar.gz
  • Then tar -xvf serial-port-json-server-1.96_linux_arm.tar
  • Then cd serial-port-json-server-1.96_linux_arm
  • Then chmod 777 serial-port-json-server to make sure it's executable
  • Then sudo ./serial-port-json-server -createstartupscript
  • Then run sudo /etc/init.d/serial-port-json-server start
  • You will now have SPJS (Serial Port JSON Server) start automatically on boot of your Raspberry Pi
  • You can now go back to ChiliPeppr and scan for hosts and your desktop computer should find SPJS on your network.

Changes in 1.96

  • Compiled with go 1.12 to fix stability connecting/disconnecting from serial ports without them getting locked up at the OS level. When USB cables are pulled out, spjs would tend to have a hard time reconnecting, but the latest build handles things cleaner and thus connects/reconnects are much more reliable.

A server for the Internet of Things. Lets you serve up serial ports to websockets so you can write front-end apps for your IoT devices in the browser.