2.1.2 • Published 2 years ago

@greathobbies/nodejs-cubiscan v2.1.2

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
2 years ago

nodejs-cubiscan

codecov example workflow

This module allows you to connect and interface to a Cubiscan (https://cubiscan.com/) device over the network. It's still a bit of a work in progress, but the main commands work. Feel free to make/recommend improvements where possible.

Tested Commands:

  • measure
  • setDimUnit
  • setWeightUnit
  • values
  • units
  • test
  • zero

Commands Need Testing:

  • continuousMeasure
  • dimCalibration
  • setFactor
  • setLocation
  • scaleCalibration

Usage

const CubiScan = require("@greathobbies/nodejs-cubiscan");

let cubiscan = new CubiScan({ip_address: '192.168.0.20', port: 49000});

cubiscan.measure().then(data => {
  console.log(data);
  cubiscan.endSocket();
});

Extras

Based on camptocamp's Python library camptocamp/cubiscan.

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.2

2 years ago