Skip to content

eightypop/sc240scale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Lets you get data from a tanita sc240 scale via node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published