Giter Site home page Giter Site logo

htil / empatica-e4-client Goto Github PK

View Code? Open in Web Editor NEW
11.0 6.0 1.0 7 KB

empatica-e4-client is a node.js module, which can communicate with Empatica BLE Server to fetch the sensor stream data from the EmpaticaE4 device.

Home Page: https://www.npmjs.com/package/empatica-e4-client

JavaScript 100.00%
empatica-device empatica-e4 wristband blood-volume-pressure wearable mobile-health gsr

empatica-e4-client's Introduction

empatica-e4-client

empatica-e4-client is a node.js module, which can communicate with Empatica BLE Server to fetch the sensor stream data from the EmpaticaE4 device.

Instruction to setup the Emaptica BLE Server is provided in link

Installation

$ cd <project_path>
$ npm install empatica-e4-client

Subscribe Options

EmpaticaE4.E4_ACC   //3-axis accleration
EmpaticaE4.E4_BVP   //Blood Volume Pulse
EmpaticaE4.E4_GSR   //Galvanic Skin Response
EmpaticaE4.E4_TEMP  //Skin Temperature
EmpaticaE4.E4_IBI   //Interbeat Interval
EmpaticaE4.E4_BATT  //Device Battery
EmpaticaE4.E4_TAG   //Device Tag

Demo

var EmpaticaE4 = require('empatica_e4-client');
var dev1 = new EmpaticaE4();

var portNumber  = 28000;
var ipAddress   = '127.0.0.1';
var deviceID    = 'XX1234';        //Empatica E4 device ID 
dev1.connect(portNumber ,ipAddress, deviceID, function(data){  
	var sensorData = EmpaticaE4.getString(data);
	console.log(sensorData);
});
setTimeout(function() {
	dev1.subscribe(EmpaticaE4.E4_BVP);
}, 1000);

empatica-e4-client's People

Contributors

arpansainju avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

seandres

empatica-e4-client's Issues

client for python

Hi amsainju,

I am working on a project needing the e4-client, and I have not much programming experience in this language. May I request your code in python?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.