v1.0 Sensors only (temp)


temporary protocol to make sure that the r,g,b components get passed.
//============================================
// Macro for data evaluation on PhotosynQ.org
// created: 11/05/2016
//============================================

//Define the output object here
var output = {};

  output["r_light"] = Number(json.r);
  output["g_light"] = Number(json.g);
  output["b_light"] = Number(json.b);
//Return data
return output;
{
  "time_offset": 240,
  "time": 1462992530442,
  "device_id": 0,
  "device_version": 1,
  "firmware_version": 0.54,
  "sample": [
    [
      {
        "time": 1462992530449,
        "protocol_id": 1,
        "temperature": 0,
        "humidity": 0,
        "pressure": 0,
        "temperature2": 0,
        "humidity2": 0,
        "pressure2": 0,
        "contactless_temp": 27.89,
        "light_intensity_raw": 49,
        "r": 28,
        "g": 14,
        "b": 6,
        "thickness_raw": 39161,
        "thickness": 39159,
        "compass_direction": "W",
        "compass": 270,
        "angle": 1119.1,
        "angle_direction": "N",
        "pitch": 0,
        "roll": 179,
        "data_raw": [

        ]
      }
    ]
  ],
  "app_os": "linux",
  "app_name": "PhotosynQ",
  "app_version": "0.3.2",
  "app_device": "x86-64",
  "location": [
    "42.7225978",
    "-84.4747170"
  ]
}
012409 pbi 160 low low res headshot
Created by

Greg Austic


Protocol connections:
7
Latest Update:
May 2016