In this project, I use TSL2561 Light sensor and TMP102 Temperature sensor to read light and temperature values. These values are published at specific intervals. The Cylon.js application subscribe these events and publish the data to AT&T M2X Service. AT&T M2X service can be used store and visualize sensor data. Just for fun if the light level is below a particular value, then an audible notification is done using TTS (using Cylon.js Speech platform).
Like Node-RED, Cylon.js and Spark Core can be used to create simple and powerful solution that integrate multiple hardware and platforms.