Passing function calls during SLEEP or Cellular.off

@reddevil, Particle.function() calls are not queued by the Particle Cloud. The best way to achieve what you want is to have the Electron do a Particle.publish() that a server/app subscribes to. The server then responds with a publish of its own to which the Electron subscribes. In that publish you would send the date/time data to the Electron to store. That way, the Electron is only awake to do the pub/sub transaction with the server.

Now, when you say date/time variable, you do know that the Electron has a real time clock and that it synchronizes it with every connection to the Cloud, right?

1 Like