@eove/talk-to-supply
CLI to talk to power supply devices (it6932a, ...)
Last updated a year ago by peio .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @eove/talk-to-supply 
SYNC missed versions from official npm registry.

talkToSupply

Node Version code style: prettier npm version install size

CLI to talk to power supply devices (it6932a, ...)

Install

Pre requisites

  • node (see .nvmrc file for supported version)

MacOS

brew install zmq
git clone git@github.com:eove/talk-to-supply.git
cd talk-to-supply
npm install -g node-gyp
npm install -g

Linux, Raspberry

sudo apt-get install -y libglib2.0-dev libzmq3-dev
git clone git@github.com:eove/talk-to-supply.git
cd talk-to-supply
npm install -g node-gyp
npm install -g

Usage

✋ Read this first!

To know which USB ports are available on your machine: talkToSupply list-ports. May return something like:

/dev/tty.Bluetooth-Incoming-Port
/dev/tty.usbserial-FTHJLQ5I

Then, just run for example: talkToSupply com -p /dev/tty.usbserial-FTHJLQ5I -d

  • To display debug messages, use the -d option
  • You will need to pass a port name with the -p option.

Shell

You can interact with the running talkToSupply com process to make it send commands.

Start the interactive shell in another terminal with: talkToSupply shell while talkToSupply com ... is running.

talk > help

Commands:

help [command...]               Provides help for a given command.
exit                            Exits application.
run [command] [args]            Run the given [command], with optional JSON formatted [args] (see. examples)
examples                        Show command examples

Tip: To be able to connect remotely, run: talkToSupply com -p /dev/tty.usbserial-FTHJLQ5I -l 0.0.0.0:9876

Current Tags

  • 1.1.2                                ...           latest (a year ago)

5 Versions

  • 1.1.2                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 5
Last Day 0
Last Week 5
Last Month 0
Dependencies (8)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |