@greathobbies/nodejs-cubiscan
v2.1.2
Published
Used to interface with networked cubiscan devices
Downloads
3
Readme
nodejs-cubiscan
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.