Glad to hear you are getting started with Exosite!
In your code, you are logging out the “result” parameter of the first (0th) object in the rpcresponse array returned in response to your call:
As you can see in your console.log, this is an array of arrays with only one array in it. The array inside is in the format Exosite uses for a point of data in a dataport, which is an array of length 2 with the timestamp in the 0 position and the data in the 1 position.
In order to only output position 1 of the timestamp-data array, you simply need to reach further into the array of arrays and pull out the information in position 2 of the first(only) array only. For example, if you put rpcresponse.result into a new variable (for simplicity’s sake):
var result = rpcresponse.result;
//The next line of code in your example would return "Array of arrays: [1456369867,"hellow me"]"
console.log("Array of arrays: ", result);
//The next line of code in your example would return "Data string: hellow me"
console.log("Data string: ", result);
In this case, since “hellow me” is already a string, you would also have no need for the stringification and parsing methods that you are currently using.
Let us know if you have any further questions!