tosr0x-server

1.0.1 • Public • Published

node tosr0x web server

A web server that offers remote control over a Tosr0x board

Installation

npm i tosr0x-sevrer -g

Requirements

  • node v0.10+
  • Being able to compile serial port
  • A Tosr0x USB board from TinySine (TOSR02, TOSR04, TOSR08)

Tosr02

Usage

Start the server usign the global script

tosr0x-server

Valid command-line options are

Usage: tosr0x-server [opts]

Options:
  -h, -?, --help    Show help                                            
  --version         Show version number                                  
  -p, --usbport     The usb port uri to use. Leave empty to use port scan
  -n, --relayCount  The number of relays on the board          [default: 2]
  -v, --verbose     Enables verbose mode (for debug only)                
  --ip              The IP address to bind the server to       [default: process.env.IP || 'localhost']
  --port            The IP port to bind the server to          [default: process.env.PORT || 3000]

Credits

Made with love in Montréal by https://deuxhuithuit.com

Licensed under the MIT License: http://deuxhuithuit.mit-license.org

Disclaimer

We are not affiliate with any sort with the usb boards manifacturer or reseller. Please refer to the license of the projet and the licenses emitted by the board manufacturer for all information.

Package Sidebar

Install

npm i tosr0x-server

Weekly Downloads

1

Version

1.0.1

License

none

Last publish

Collaborators

  • deuxhuithuit-owner
  • nitriques