I was hoping someone could point me in the right direction to reading how to send web commands to more than one photon simultaneously using Javascript and perhaps JSON so to keep the page active during communications. Right now I’ve only sent to one Photon at a time using a simple script and I get a return page. I’d like to do away with the return page because I’m wanting to build a phone app later on and that return page is annoying. Thanks in advance.
You may want to consider Particle.subscribe()
and publish an event to which all your devices can subscribe.
2 Likes
This is often a good start: Tutorial: Getting Started with Spark.publish()