ibs_th1_tobie
v1.0.2
Published
Library to process data broadcasted from IBS-TH1 / IBS-TH1 mini.
Readme
IBS-TH1
A library to handle broadcasted message from bluetooth device IBS-TH1 and IBS-TH1 mini. Not tested with other devices.
Install
npm i -S ibs_th1Usage
const IBS_TH1 = require('ibs_th1');
const callback = data => {
console.log(data.address, data.date, data.temperature, data.humidity,
data.probeType, data.battery);
};
const device = new IBS_TH1();
device.subscribeRealtimeData(callback);