ibs_th1_tobie

1.0.2 • Public • Published

IBS-TH1

A library to handle broadcasted message from bluetooth device IBS-TH1 and IBS-TH1 mini. Not tested with other devices.

NPM Version

Install

npm i -S ibs_th1

Usage

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);

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i ibs_th1_tobie

Weekly Downloads

5

Version

1.0.2

License

MIT

Unpacked Size

8.55 kB

Total Files

5

Last publish

Collaborators

  • tobievi