MS Band

MS Band Server – sensor data in a browser

Chatting recently with Mike Brondbjerg recently about some data visualisation ideas around using the Microsoft Band and we came to the conclusion that getting live sensor data from the band into the browser would open up the opportunity to use the data to drive some visualisation experiences using javascript. We had processing.js in mind but there are a whole slew of javascript visualisation libraries available.I had created a project to get Kinect data into the browser a few months ago (see Kinect 4 Windows V2 – in the browser) so thought it would make a good starting point. I couldn’t consume the real-time sensor data using the Microsoft Band SDK in a console app this time as it is dependent on a non-compatible .NET (no such problems with the Kinect SDK as it is based on WinRT). This meant using a modern Windows App to consume data from the band, send the data over a web socket to a web socket server which broadcasts the data to any client that wishes to connect – in this case a wep page using processing.js in a browser.


This all runs on your local machine (or indeed across the web if latency isn’t an issue). Once you have this running there is plenty of scope for creativity; use the heart rate data to drive a visualisation or crowdsource positional data using accelerometer and gyroscope to create a collaborative artwork. Instructions for setting up are at the readme here

Mike published a test visualisation here


Don’t worry if you have no band available for dev – use the Fake Band instead.


Github project is here

Tagged , , , , ,

3 thoughts on “MS Band Server – sensor data in a browser

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.