Photon run Sketch without getting on Internet

How do I:

  1. Make the Photon run a sketch without getting on the Net first?

  2. Make it connect to the Internet via my Wifi when I tell it to, but don’t do anything on the Net until I tell it to?

The default of always hooking up to the cloud is not always the desired thing.

I guessed you have not visited the docs…

http://docs.particle.io/photon/firmware/#system-modes-semi-automatic-mode

Here’s an example i wrote to connect whenever connection drops but you can modify it to do what you need :wink: https://github.com/kennethlimcp/particle-examples/tree/master/wifi-auto-reconnect

1 Like

Thanks very much! I had not reached that point in the docs yet. I see I have a lot of reading to do!

’ Love the Photon!