I have been using the HTML to access the Core
spark.variable with getJSON as following
var sparkCore = “https://api.spark.io/v1/devices/” + deviceID;
var requestURL = sparkCore+"/"+sparkVar+"/?access_token="+accessToken;
It was working fine but lately discover some issue.
I am accessing 3 different variables with a single “button” event.
Once a while if I push too frequent, before response come back.
Then the Spark Cloud is not responding. When I check the device, it is flashing blue (meaning it lost wifi credentials).
After the flashing, the device will be normal again.
Is this a known issue ?
I need to put in semaphore to protect multiple calls to Spark ?