Provides a usb interface for the Tanita SC-240 scale.
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');
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
Copyright (c) 2013 Matt Thompson. Licensed under the MIT license.