# How to turn off Photon wifi manually(without code)

**URL:** <https://community.particle.io/t/how-to-turn-off-photon-wifi-manually-without-code/22923>\
**Category:** Troubleshooting\
**Created:** [May 16, 2016, 12:08pm UTC](https://community.particle.io/t/how-to-turn-off-photon-wifi-manually-without-code/22923 "2016-05-16T12:08:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bionboy](https://avatars.discourse-cdn.com/v4/letter/b/919ad9/32.png) [@bionboy](https://community.particle.io/u/bionboy)\
**Post date:** [May 16, 2016, 12:08pm UTC](https://community.particle.io/t/how-to-turn-off-photon-wifi-manually-without-code/22923/1 "2016-05-16T12:08:44Z")

</div>

I want to run the code on my photon but I am in a location without wifi. Is there a way to turn off wifi without telling it to do so in the code?

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [May 16, 2016, 12:51pm UTC](https://community.particle.io/t/how-to-turn-off-photon-wifi-manually-without-code/22923/2 "2016-05-16T12:51:34Z")

</div>

You can’t.  
If your application is _supposed_ to be running with or without WiFi, you need to choose a suitable SYSTEM\_MODE.  
If you haven’t set SYSTEM\_MODE or SYSTEM\_THREAD(ENABLED) the default is single threaded AUTOMATIC which demands to talk to the cloud before it executes your code.

---

<div class="post-metadata">

**Author:** ![bionboy](https://avatars.discourse-cdn.com/v4/letter/b/919ad9/32.png) [@bionboy](https://community.particle.io/u/bionboy)\
**Post date:** [May 16, 2016, 12:53pm UTC](https://community.particle.io/t/how-to-turn-off-photon-wifi-manually-without-code/22923/3 "2016-05-16T12:53:58Z")

</div>

Thanks @ScruffR . I thought so but wasn’t sure if there was a trick.  
I am going to set my Photon to semi-auto mode and that should work.
