BlueMix IoT Demo
JayEm
8
Watchapp
Description
Simple Pebble.JS (Javascript only) app to fetch data from IBM BlueMix. The data is provided from a TI SensorTag via the IoT Foundation to a Node Red application.
As the app expects a simple response from a web site in the form of a JSON structure, it can potentially be used for any site that provides data in an appropriate form. The latest version of the app allows you to configure your own URL. Data consumed by the app from the BlueMix site at present looks like the following:-
{
"gyro_x": "-3.64",
"ambient_temp": "24.03",
"gyro_y": "-0.88",
"gyro_z": "-0.75",
"key_2": "0",
"key_1": "0",
"compass_x": "0.00",
"object_temp": "27.38",
"compass_y": "0.00",
"compass_z": "0.00",
"acc_z": "-0.95",
"acc_y": "0.01",
"acc_x": "-0.02",
"air_pressure": "894.03",
"reed_relay": "0",
"light": "346.72"
}
...exactly as provided by the SensorTag.
The app is now configurable so the web site may be selected by you. Use the configure button on your phone to change the URL from which it fetches data. Default is my app which sees data from my SensorTag.
Up/Down buttons cycle through the available data. Select refreshes. Data will only change when my SensorTag is on & connected to IBM BlueMix!- DeveloperJayEm
- CategoryTools & Utilities
- Platformsaplite, basalt, diorite, emery
- Updated2015-07-10
- Version1.2










