Active carbon in soil, Blank...v1.0


Associated with the "Active carbon in soil, blank" protocol (see protocol for detailed description). Saves calibration value to EEPROM in slot userdef6 (1025+).
var output = {};

var blank1 = MathMEAN(json.data_raw.slice(40,460));
var blank2 = MathMEAN(json.data_raw.slice(540,960));
var blank3 = MathMEAN(json.data_raw.slice(1040,1460));
var blank = (blank1+blank2+blank3)/3;
[{"save":[[6,"blank"]]}];
// Save to userdef6 (send 1025+ to device)
output["blank"] = MathROUND(blank,4);
output["toDevice"] = "1025+"+MathROUND(blank,4)+"+0+-1+";

         
return output;
{
  "time_offset": 240,
  "time": 1427898791379,
  "device_id": 92,
  "firmware_version": "0.390",
  "sample": [
    [
      {
        "time": 1427898791379,
        "protocol_id": 1,
        "message": [
          [
            "confirm",
            "Insert Blank 1 of 3",
            "ok"
          ],
          [
            "confirm",
            "Reinsert blank 2 of 3",
            "ok"
          ],
          [
            "confirm",
            "Reinsert blank 3 of 3",
            "ok"
          ],
          [
            "0",
            "0",
            ""
          ]
        ],
        "data_raw": [
          65040,
          42498,
          42599,
          42641,
          42637,
          42645,
          42661,
          42657,
          42683,
          42683,
          42650,
          42493,
          42509,
          42740,
          42698,
          42706,
          42698,
          42777,
          42747,
          42764,
          42773,
          42743,
          42769,
          42765,
          42676,
          42726,
          42726,
          42744,
          42773,
          42709,
          42749,
          42763,
          42738,
          42738,
          42726,
          42797,
          42740,
          42768,
          42758,
          42757,
          42780,
          42766,
          42777,
          42780,
          42783,
          42775,
          42770,
          42775,
          42743,
          42830,
          42783,
          42760,
          42743,
          42778,
          42796,
          42771,
          42775,
          42810,
          42804,
          42811,
          42758,
          42795,
          42826,
          42742,
          42787,
          42802,
          42827,
          42787,
          42785,
          42788,
          42786,
          42816,
          42775,
          42779,
          42769,
          42771,
          42837,
          42784,
          42847,
          42807,
          42829,
          42850,
          42819,
          42777,
          42824,
          42793,
          42860,
          42767,
          42786,
          42824,
          42841,
          42828,
          42856,
          42821,
          42790,
          42809,
          42814,
          42818,
          42891,
          42918,
          42830,
          42887,
          42907,
          42913,
          42850,
          42881,
          42852,
          42867,
          42887,
          42904,
          42921,
          42899,
          42917,
          42900,
          42855,
          42853,
          42909,
          42899,
          42927,
          42900,
          42909,
          42898,
          42878,
          42919,
          42914,
          42936,
          42889,
          42877,
          42834,
          42907,
          42874,
          42946,
          42922,
          42907,
          42941,
          42900,
          42874,
          42907,
          42920,
          42909,
          42862,
          42944,
          42931,
          42928,
          42893,
          42921,
          42924,
          42909,
          42899,
          42960,
          42889,
          42904,
          42931,
          42911,
          42920,
          42912,
          42923,
          42906,
          42913,
          42879,
          42893,
          42943,
          42943,
          42910,
          42932,
          42937,
          42928,
          42905,
          42890,
          42938,
          42935,
          42935,
          42912,
          42925,
          42943,
          42925,
          42911,
          42883,
          42914,
          42934,
          42950,
          42938,
          42899,
          42907,
          42885,
          42923,
          42904,
          42875,
          42938,
          42950,
          42941,
          42925,
          42886,
          42934,
          42932,
          42959,
          42897,
          42955,
          42888,
          42906,
          42923,
          42900,
          42957,
          42947,
          42941,
          42929,
          42941,
          42949,
          42886,
          42902,
          42895,
          42947,
          42938,
          42943,
          42929,
          42902,
          42918,
          42879,
          42908,
          42951,
          42918,
          42911,
          42942,
          42917,
          42921,
          42895,
          42949,
          42967,
          42897,
          42914,
          42909,
          42927,
          42907,
          42928,
          42920,
          42929,
          42953,
          42944,
          42939,
          42982,
          42931,
          42920,
          42946,
          42945,
          42955,
          42983,
          42921,
          42913,
          42703,
          42595,
          42650,
          42550,
          42640,
          42631,
          42682,
          42606,
          42675,
          42564,
          42566,
          42523,
          42598,
          42564,
          42577,
          42572,
          42571,
          42547,
          42562,
          42619,
          42567,
          42611,
          42615,
          42643,
          42649,
          42655,
          42658,
          42701,
          42674,
          42652,
          42660,
          42693,
          42698,
          42690,
          42725,
          42718,
          42692,
          42697,
          42721,
          42706,
          42721,
          42705,
          42729,
          42761,
          42720,
          42740,
          42777,
          42745,
          42740,
          42681,
          42942,
          42919,
          42940,
          42893,
          42900,
          42910,
          42876,
          42914,
          42944,
          42956,
          42864,
          42914,
          42913,
          42915,
          42923,
          42887,
          42915,
          42934,
          42909,
          42922,
          42897,
          42944,
          42882,
          42895,
          42885,
          42941,
          42961,
          42915,
          42943,
          42911,
          42951,
          42908,
          42938,
          42912,
          42926,
          42902,
          42903,
          42908,
          42922,
          42922,
          42910,
          42896,
          42905,
          42929,
          42919,
          42910,
          42866,
          42897,
          42929,
          42908,
          42881,
          42910,
          42880,
          42890,
          42891,
          42900,
          42885,
          42925,
          42939,
          42933,
          42919,
          42879,
          42927,
          42906,
          42969,
          42939,
          42915,
          42934,
          42915,
          42925,
          42876,
          42977,
          42921,
          42923,
          42906,
          42898,
          42921,
          42947,
          42919,
          42926,
          42945,
          42890,
          42933,
          42932,
          42904,
          42896,
          42931,
          42938,
          42964,
          42882,
          42904,
          42928,
          42903,
          42922,
          42901,
          42913,
          42909,
          42903,
          42937,
          42897,
          42922,
          42961,
          42930,
          42888,
          42936,
          42909,
          42936,
          42889,
          42932,
          42890,
          42938,
          42924,
          43119,
          42903,
          42965,
          42925,
          42909,
          42906,
          42933,
          42955,
          42944,
          42970,
          42975,
          42987,
          42944,
          43008,
          42991,
          42980,
          42993,
          42995,
          43013,
          42986,
          42981,
          42963,
          42977,
          42976,
          42972,
          42934,
          42957,
          42986,
          42970,
          42976,
          42956,
          42979,
          42999,
          43024,
          42936,
          42938,
          42967,
          42984,
          42959,
          42963,
          42962,
          42928,
          42991,
          42976,
          42987,
          43022,
          42985,
          42997,
          42948,
          42966,
          42971,
          43030,
          42978,
          43009,
          42999,
          42968,
          42911,
          42982,
          42987,
          42979,
          42964,
          42992,
          43007,
          42941,
          42996,
          42963,
          42896,
          42959,
          42987,
          42988,
          43079,
          42979,
          42980,
          42949,
          42997,
          42973,
          42956,
          42978,
          42999,
          42938,
          42978,
          42983,
          42991,
          42964,
          42998,
          42975,
          42953,
          42963,
          42976,
          42939,
          65040,
          44181,
          44134,
          44125,
          44155,
          44203,
          44234,
          44222,
          44213,
          44249,
          44198,
          44241,
          44259,
          44194,
          44300,
          44249,
          44288,
          44259,
          44000,
          43994,
          44142,
          44187,
          43992,
          43943,
          43928,
          43917,
          43977,
          43992,
          43983,
          44032,
          44001,
          44041,
          44064,
          43974,
          43999,
          43982,
          44012,
          44042,
          44071,
          44020,
          44032,
          44057,
          44024,
          44076,
          44116,
          44071,
          44089,
          44076,
          44049,
          44098,
          44064,
          44091,
          44150,
          44122,
          44130,
          44138,
          44130,
          44159,
          44121,
          44136,
          44171,
          44159,
          44125,
          44129,
          44150,
          44119,
          44143,
          44141,
          44380,
          44346,
          44352,
          44358,
          44359,
          44329,
          44317,
          44323,
          44304,
          44320,
          44390,
          44335,
          44343,
          44339,
          44349,
          44366,
          44304,
          44329,
          44375,
          44387,
          44338,
          44313,
          44321,
          44285,
          44341,
          44383,
          44459,
          44378,
          44434,
          44385,
          44432,
          44392,
          44398,
          44390,
          44369,
          44388,
          44396,
          44378,
          44391,
          44413,
          44384,
          44405,
          44373,
          44425,
          44427,
          44402,
          44413,
          44389,
          44413,
          44423,
          44398,
          44408,
          44383,
          44405,
          44402,
          44409,
          44409,
          44400,
          44432,
          44407,
          44406,
          44395,
          44360,
          44419,
          44459,
          44435,
          44386,
          44406,
          44424,
          44410,
          44418,
          44391,
          44441,
          44414,
          44402,
          44408,
          44421,
          44408,
          44419,
          44384,
          44393,
          44420,
          44394,
          44419,
          44418,
          44415,
          44376,
          44412,
          44385,
          44387,
          44444,
          44433,
          44461,
          44450,
          44434,
          44465,
          44414,
          44432,
          44430,
          44405,
          44422,
          44380,
          44417,
          44438,
          44449,
          44447,
          44426,
          44427,
          44428,
          44434,
          44441,
          44428,
          44403,
          44427,
          44467,
          44423,
          44468,
          44433,
          44442,
          44459,
          44396,
          44431,
          44424,
          44446,
          44447,
          44425,
          44442,
          44395,
          44501,
          44424,
          44466,
          44397,
          44376,
          44444,
          44442,
          44446,
          44375,
          44387,
          44387,
          44470,
          44488,
          44415,
          44453,
          44481,
          44471,
          44444,
          44459,
          44441,
          44446,
          44488,
          44442,
          44466,
          44437,
          44439,
          44469,
          44433,
          44279,
          44259,
          44434,
          44442,
          44280,
          44433,
          44469,
          44405,
          44437,
          44422,
          44446,
          44416,
          44482,
          44428,
          44348,
          44260,
          44431,
          44459,
          44471,
          44472,
          44420,
          44496,
          44453,
          44453,
          44460,
          44433,
          44451,
          44479,
          44459,
          44409,
          44373,
          44401,
          44455,
          44422,
          44429,
          44440,
          44368,
          44401,
          44360,
          44415,
          44366,
          44405,
          44392,
          44407,
          44373,
          44397,
          44408,
          44409,
          44376,
          44431,
          44384,
          44392,
          44420,
          44431,
          44423,
          44400,
          44397,
          44400,
          44397,
          44413,
          44458,
          44407,
          44448,
          44444,
          44446,
          44415,
          44392,
          44428,
          44408,
          44444,
          44375,
          44420,
          44428,
          44418,
          44379,
          44415,
          44439,
          44359,
          44373,
          44402,
          44419,
          44400,
          44388,
          44440,
          44421,
          44406,
          44399,
          44408,
          44410,
          44401,
          44398,
          44406,
          44445,
          44435,
          44404,
          44447,
          44409,
          44474,
          44422,
          44395,
          44422,
          44387,
          44422,
          44420,
          44389,
          44426,
          44421,
          44453,
          44429,
          44400,
          44395,
          44404,
          44404,
          44434,
          44434,
          44407,
          44441,
          44386,
          44439,
          44443,
          44412,
          44470,
          44414,
          44407,
          44421,
          44452,
          44452,
          44447,
          44420,
          44452,
          44437,
          44451,
          44445,
          44395,
          44438,
          44429,
          44455,
          44440,
          44417,
          44414,
          44452,
          44444,
          44445,
          44416,
          44410,
          44414,
          44394,
          44390,
          44442,
          44411,
          44409,
          44438,
          44399,
          44443,
          44432,
          44427,
          44432,
          44448,
          44442,
          44400,
          44422,
          44417,
          44408,
          44431,
          44417,
          44436,
          44377,
          44431,
          44378,
          44422,
          44395,
          44375,
          44414,
          44423,
          44399,
          44399,
          44474,
          44439,
          44386,
          44426,
          44424,
          44421,
          44393,
          44416,
          44427,
          44426,
          44420,
          44423,
          44486,
          44459,
          44493,
          44450,
          44319,
          44417,
          44387,
          44418,
          44474,
          44453,
          44467,
          44466,
          44476,
          44491,
          44463,
          44477,
          44430,
          44535,
          44486,
          44441,
          44498,
          44471,
          44519,
          44489,
          44521,
          44486,
          44466,
          44495,
          44453,
          44452,
          44484,
          44454,
          44490,
          44462,
          44498,
          44494,
          44460,
          44456,
          44503,
          44472,
          44470,
          44468,
          44466,
          44458,
          44474,
          44492,
          44480,
          44454,
          44489,
          44511,
          44508,
          44469,
          44473,
          44457,
          44455,
          44444,
          44431,
          44474,
          44483,
          44462,
          44454,
          44485,
          44512,
          44448,
          44438,
          44472,
          44481,
          44497,
          44460,
          44450,
          44479,
          44459,
          44469,
          44499,
          44444,
          44449,
          44450,
          44474,
          44472,
          44442,
          44450,
          44461,
          44448,
          44473,
          44467,
          44500,
          44470,
          44426,
          65040,
          41956,
          42024,
          42017,
          42085,
          42126,
          42115,
          42133,
          42173,
          42137,
          42133,
          42158,
          42184,
          42107,
          42122,
          42169,
          42206,
          42181,
          42163,
          42166,
          42217,
          42221,
          42189,
          42207,
          42178,
          42224,
          42229,
          42224,
          42198,
          42225,
          42230,
          42240,
          42209,
          42244,
          42237,
          42232,
          42192,
          42204,
          42211,
          42230,
          42240,
          42189,
          42256,
          42207,
          42231,
          42257,
          42213,
          42259,
          42229,
          42217,
          42264,
          42241,
          42271,
          42270,
          42196,
          42297,
          42248,
          42233,
          42250,
          42229,
          42266,
          42255,
          42315,
          42298,
          42288,
          42305,
          42279,
          42292,
          42319,
          42295,
          42284,
          42302,
          42347,
          42259,
          42274,
          42289,
          42308,
          42319,
          42307,
          42324,
          42309,
          42289,
          42329,
          42357,
          42335,
          42328,
          42308,
          42312,
          42297,
          42301,
          42314,
          42315,
          42325,
          42308,
          42331,
          42327,
          42321,
          42307,
          42320,
          42334,
          42351,
          42356,
          42300,
          42320,
          42312,
          42343,
          42286,
          42372,
          42325,
          42342,
          42346,
          42381,
          42321,
          42305,
          42344,
          42293,
          42295,
          42316,
          42338,
          42284,
          42325,
          42326,
          42322,
          42341,
          42355,
          42273,
          42331,
          42315,
          42342,
          42307,
          42320,
          42311,
          42343,
          42347,
          42306,
          42331,
          42342,
          42351,
          42329,
          42344,
          42343,
          42336,
          42339,
          42328,
          42338,
          42359,
          42346,
          42330,
          42323,
          42321,
          42375,
          42347,
          42316,
          42359,
          42400,
          42318,
          42395,
          42376,
          42371,
          42310,
          42317,
          42281,
          42322,
          42319,
          42368,
          42321,
          42279,
          42308,
          42341,
          42308,
          42324,
          42384,
          42292,
          42259,
          42354,
          42377,
          42320,
          42361,
          42312,
          42362,
          42340,
          42328,
          42387,
          42338,
          42364,
          42390,
          42352,
          42367,
          42371,
          42385,
          42361,
          42332,
          42369,
          42367,
          42392,
          42309,
          42340,
          42364,
          42367,
          42316,
          42367,
          42346,
          42337,
          42360,
          42355,
          42360,
          42328,
          42351,
          42333,
          42359,
          42338,
          42323,
          42332,
          42361,
          42370,
          42357,
          42357,
          42373,
          42349,
          42328,
          42302,
          42305,
          42304,
          42326,
          42309,
          42303,
          42314,
          42330,
          42363,
          42377,
          42290,
          42347,
          42268,
          42287,
          42343,
          42341,
          42301,
          42304,
          42318,
          42310,
          42289,
          42323,
          42245,
          42297,
          42314,
          42337,
          42325,
          42342,
          42283,
          42280,
          42303,
          42320,
          42269,
          42346,
          42253,
          42280,
          42333,
          42333,
          42304,
          42359,
          42266,
          42275,
          42283,
          42292,
          42323,
          42337,
          42345,
          42332,
          42296,
          42310,
          42302,
          42292,
          42312,
          42319,
          42308,
          42303,
          42299,
          42264,
          42343,
          42346,
          42346,
          42293,
          42321,
          42319,
          42311,
          42338,
          42359,
          42326,
          42317,
          42329,
          42335,
          42348,
          42310,
          42301,
          42374,
          42337,
          42361,
          42368,
          42243,
          42346,
          42319,
          42303,
          42346,
          42337,
          42300,
          42337,
          42338,
          42283,
          42300,
          42302,
          42323,
          42294,
          42327,
          42306,
          42242,
          42310,
          42317,
          42362,
          42368,
          42349,
          42348,
          42321,
          42354,
          42343,
          42261,
          42326,
          42353,
          42339,
          42329,
          42354,
          42327,
          42348,
          42349,
          42342,
          42335,
          42347,
          42340,
          42312,
          42356,
          42343,
          42353,
          42325,
          42364,
          42313,
          42346,
          42326,
          42347,
          42340,
          42308,
          42317,
          42353,
          42311,
          42396,
          42333,
          42318,
          42303,
          42346,
          42303,
          42305,
          42376,
          42321,
          42347,
          42331,
          42326,
          42344,
          42340,
          42342,
          42354,
          42324,
          42315,
          42317,
          42316,
          42318,
          42332,
          42367,
          42338,
          42305,
          42336,
          42317,
          42348,
          42295,
          42355,
          42359,
          42385,
          42360,
          42414,
          42315,
          42381,
          42362,
          42386,
          42393,
          42378,
          42414,
          42398,
          42423,
          42341,
          42384,
          42381,
          42401,
          42412,
          42378,
          42392,
          42396,
          42396,
          42374,
          42405,
          42385,
          42388,
          42384,
          42345,
          42383,
          42373,
          42402,
          42379,
          42404,
          42408,
          42377,
          42411,
          42395,
          42357,
          42384,
          42394,
          42355,
          42389,
          42398,
          42380,
          42349,
          42399,
          42411,
          42422,
          42392,
          42415,
          42405,
          42413,
          42409,
          42395,
          42427,
          42381,
          42383,
          42355,
          42356,
          42358,
          42413,
          42383,
          42373,
          42395,
          42380,
          42208,
          42082,
          42126,
          42130,
          42050,
          42177,
          42123,
          41996,
          42137,
          42130,
          42054,
          42089,
          42157,
          42065,
          42032,
          42055,
          42068,
          42046,
          42075,
          42061,
          42084,
          42106,
          42138,
          42155,
          42144,
          42179,
          42159,
          42202,
          42189,
          42173,
          42168,
          42200,
          42166,
          42185,
          42147,
          42182,
          42169,
          42181,
          42217,
          42209,
          42186,
          42195,
          42205,
          42198,
          42201,
          42226,
          42221,
          42208,
          42210,
          42227,
          42366,
          42384,
          42403
        ]
      }
    ]
  ]
}
Default avatar
Created by

Sean


Protocol connections:
1
Latest Update:
Jan 2017