tanita-scale

1.0.0 • Public • Published

tanita-scale

Provides a usb interface for the Tanita SC-240 scale.

Getting Started

Install the module with: npm install tanita-scale

Since Tanita doesn't publish the input interface, all you get is the results of a scale event. If anyone knows the input interface, let me know. It would be great to make this module a little more useful.

var TanitaScale = require('tanita-scale');
 
var scale = new TanitScale("/dev/cu.usbserial-A100FN3D"); //your port will likely be different
 
scale.on('data', function(data){
    console.log('scale data received');
    console.log(data);
});
 
console.log('ready to go');
 

Documentation

Data output follows the table in the SC-240 manual which can be found here: http://www.tanita.com/es/sc-240/

If you don't have a scale connected, an error will be logged and the status property of will read 'error' instead of 'normal'.

http://npmjs.org/package/tanita-scale

License

Copyright (c) 2013 Matt Thompson. Licensed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i tanita-scale

Weekly Downloads

0

Version

1.0.0

License

none

Last publish

Collaborators

  • redwreckage