My Photon based device is polled every few hours by my cloud reading a variable. Is there firmware support for knowing when one of my variables has been read from the outside?
Thanks!
Tahl
My Photon based device is polled every few hours by my cloud reading a variable. Is there firmware support for knowing when one of my variables has been read from the outside?
Thanks!
Tahl
@Tahl, no there is not. However, the server could call a Particle.function() to indicate the read has been done or publish and event to which your Photon subscribes.
@peekay123, yeah that’s what I thought. I was trying to save a step since I have to poll the Photon’s var anyway. Sounds like it would be a good event that triggers when one of your vars is being polled…
Tahl