LICORLICORMACRO


macro for looking at licor projectt
//============================================
// Macro for data evaluation on PhotosynQ.org
// created: 12/13/2016
//============================================

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

output['green LED'] = json.message[1][2]
output['red LEED'] = json.message[2][2]
output['orange LED'] = json.message[3][2]
output['blue LED'] = json.message[4][2]

//Return data
return output;
{
  "time_offset": 300,
  "time": 1481664207016,
  "device_version": "1",
  "device_id": "d4:f5:00:00:00:06",
  "device_battery": 60,
  "device_firmware": "1.13",
  "firmware_version": "1.13",
  "device_time": 1478773812,
  "sample": [
    [
      {
        "time": 1481664207028,
        "protocol_id": 1,
        "light_intensity": 362,
        "r": 384,
        "g": 224,
        "b": 140,
        "light_intensity_raw": 749,
        "message": [
          [
            "0",
            "0",
            ""
          ],
          [
            "prompt",
            "green LiCOR",
            "264"
          ],
          [
            "prompt",
            "red LiCOR",
            "250"
          ],
          [
            "prompt",
            "orange LiCOR",
            "278"
          ],
          [
            "prompt",
            "blue LiCOR",
            "259"
          ]
        ],
        "data_raw": [
          2,
          8,
          7,
          11,
          7,
          7,
          9,
          9,
          11,
          7,
          12,
          12,
          13,
          11,
          10,
          11,
          10,
          12,
          13,
          13,
          10,
          17,
          16,
          14,
          17,
          15,
          18,
          13,
          15,
          15,
          13,
          13,
          13,
          13,
          12,
          10,
          12,
          15,
          14,
          12,
          11,
          9,
          9,
          9,
          14,
          7,
          12,
          11,
          11,
          14
        ]
      }
    ]
  ],
  "app_os": "win",
  "app_name": "PhotosynQ",
  "app_version": "0.3.5",
  "app_device": "x86-32",
  "location": [
    "42.7225403",
    "-84.4746589"
  ]
}
Default avatar
Created by

Sean


Protocol connections:
1
Latest Update:
Aug 2017