particle-iot / electron

Creative Commons Attribution Share Alike 4.0 International
90 stars 56 forks source link

Cloud variables and functions inaccessible even though Electron is online #39

Open BobGlicksman opened 8 years ago

BobGlicksman commented 8 years ago

I have encountered two instances to date where I cannot access any cloud functions or variables on my Electron, even though the dashboard shows the Electron as online and I can retrieve the list of cloud functions and variables from the particle cloud. I have verified that my firmware is running OK on the Electron and the multicolor LED is breathing cyan (and the battery charge LED is off showing that the battery is fully charged). This happens after a few days of operation. The only way to get accessibility back is to reset the Electron (either via the reset button or by flashing code to it OTA).

In addition to finding and fixing this problem, I would like to suggest the following improvements to the dashboard:

  1. Have the "Last Connection" display the date/time of the last time that the Electron communicated with the cloud. Right now, it seems to show the time of the last reset (which is also useful).
  2. Indicate (on the dashboard) if any cloud variables or functions (particle.variable() or particle.function()) are not accessible, even though they are registered in the cloud.
  3. provide a means to remotely reset an Electron from the dashboard without having to flash new firmware to it (which is expensive, data-wise).