I think I understand what you mean… I don’t see this as driving car / no car. I see it as a shortest path / latency minimization problem. Haha - don’t use the car if you’re going to your neighbours.
We’re working on the following:
A JS library & C++ module that together allow us to call a cloud function on a Photon in a way that simultaneously tries over the Internet (via Particle cloud) and over the LAN (using a minimal HTTP server on the Photon). Which ever call the Photon receives first will trigger the function and return. The one received second is ignored.
The motivation is making the interaction between our device and app more responsive, and we’re finding that 95% of the time the user is on the same network as the device.
I’m looping in @mdma & @nexxy to know if this is already under works… it would seem like something that might be worth integrating into ParticleJS.