I am using Grove official library for Arduino, with Photon to interface with that sensor.
For first a few minutes, it works fine. I can read all the data without any problem.
But after a short while, Photon randomly disconnects from cloud and reconnects to the cloud.
But it is inevitable that after a few random cloud disconnections, it forever stuck in green rgb light.
I took a look at their cpp file but found nothing suspicious as far as my knowledge goes.
Can any expert suggest which is the actual culprit behind those cloud disconnections?
Thanks in advance.