Fork me on GitHub

ScaleWS

by Arnaud Babol & Eric Allard

Plan

.hack//Withings

Withings : company, products

The Scale : how does it work

What we want

Demo

How did we do that

Why is it really cool ?

Conclusion

The quantified-self

Data acquisition on aspects of a person's daily life

Withings ?

Tensiometer

Pedometer

But also ...

A wifi scale with many sensors

Weight sensors

Body fat

Heart rate

Air quality

Temperature

With an app to visualize data

How does it work?

Cool but ...

Limited access to the data

&
And data stored in their server

What we want :

Keep control of the data

Manage our data : add/update/delete

Make an application that we can use for any sensors

Provide our own JSON-API for the developers

So what can we do ?

How did we do that ?

The ScaleWS Server

The ScaleWS Server

Demo

  • SSID: scalews
  • pass: 727ce1871f
  • url: scale.ws

The way of data

Why is it really cool ?

Strong Model-View structure

Backbone.js shared for the client and server sides

The code can be used for any sensors

A server configuration file

Define the data :


              {
              value: Number,
              type: Number,
              date: { type : Date, default : Date.now }
              }
            

Define masks for categories :


              weight : {type : 1}
            

Define the name of MongoDB Collection

A client configuration file


Activate some views per categories :


              text: {
              0: {
              el: "text-weight",
              title: "Weight Table",
              type: 1
              }
            

Uses the power of the latest technologies

Easy to install

Bower & npm

NPM : Server

Bower : Client

Best way to install/update a library

Automatisation

GRUNT

Transpilation of SCSS files

Automatically restart the server

Minify the source code

Choose your working environment

Project Management

Tasks

Meeting Summary

Viewing the commit history directly in the browser

Objectives

The ScaleWS App can be used by any devices

Conclusion

Keep control of the data ✔

Manage our data : add/update/delete ✔

Make an application that we can use for any sensors ✔

Provide our own JSON-API for the developers ✔

Multi-users ✕

Clever view ✕

More sensors ✕

Arnaud

Eric

Any questions ?