1.4.10 • Published 4 years ago

@eove/power-supply-com v1.4.10

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

power-supply-com Build Status npm version code style: prettier

Node.js lib to communicate with power supply devices such as ITECH IT6932A model through serial port.

Supported devices

  • IT6932A

Install

npm install

Usage

This lib exposes a communicator which may send commands to the power supply device and get answers.

import { createCommunicator } from '@eove/flow-analyzer-com';

const communicator = createCommunicator('/dev/ttyUSB0');

communicator
  .open()
  .then(() => communicator.sendCommand({ type: 'QUERY_IDENTIFICATION' }))
  .then(console.log);

Here's the API documentation

How to contribute?

You would like a power supply device to be supported?

Here are the steps:

  1. Find the corresponding PDF documentation and eventually add it to ./docs
  2. Create a ./lib/devices/<your-model> directory and implement the methods of the Driver Interface
  3. Send a PR for review and have fun testing!
1.4.10

4 years ago

1.4.9

4 years ago

1.4.8

5 years ago

1.4.7

5 years ago

1.4.6

5 years ago

1.4.5

5 years ago

1.4.4

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago