ES Libraries Documentation

Online documentation:
Home
What Sensor Data?
Collecting Sensor Data
Formatting Sensor Data
Store/Transfer Data
Research
Contributing
Project Github Page

Light

The light sensor is an environment sensor that measures ambient light levels.

This sensor does not require any permissions. The JSON format for a sample from this sensor is:

{
	"userid":"test-user-id",
	"deviceid":"test-device-id",
	"senseStartTime":"16:51:52:118 30 06 2015 +0100 GMT+01:00",
	"senseStartTimeMillis":1435679512118,
	"dataType":"Light",
	"light":46,
	"maxRange":60000
}