Skip to content

cluckj/xdrip-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xdrip-js

Join the chat at https://gitter.im/thebookins/xdrip-js Build Status

Please note this project is neither created nor backed by Dexcom, Inc. This software is not intended for use in therapy.

Installation

git clone https://github.com/thebookins/xdrip-js.git
cd xdrip-js
sudo npm install

Testing

npm test

Example usage

sudo node example <######> where <######> is the 6-character serial number of the transmitter.

To see verbose output, use sudo DEBUG=* node example <######>, or replace the * with a comma separated list of the modules you would like to debug. E.g. sudo DEBUG=smp,transmitter,bluetooth-manager node example <######>.

bluetoothctl is used to accept the incoming pairing request. From a command prompt, enter bluetoothctl and then enter the following commands (some may not be necessary depending on your configuration):

  • agent off
  • agent KeyboardDisplay
  • default-agent
  • pairable on
  • power on

When the transmitter is found, type 'yes' to accept the pairing request: pairing

To view the current status of the transmitter, open a browser and navigate to http://<local IP address>:3000. E.g. http://localhost:3000 or http://192.168.1.3:3000. This will vary depending on your local network setup. app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.0%
  • HTML 10.0%