I am setting up a system that periodically collects some sensor data, publishes it, then goes to sleep. I have a particle.function call that enables users to adjust some parameters remotely. My problem is that the device is asleep for most of the time, so the call to the particle.function has to be carefully timed. What I’d really like to do is get my device to pull a value from the cloud each time it wakes up. I can’t get my head around how to do this.
If it makes any difference, I’m currently experimenting with using the Google Cloud integration to manage the cloud side of things.
Any pointers would be gratefully received!