# Photon Particle control by Mobile app

**URL:** <https://community.particle.io/t/photon-particle-control-by-mobile-app/30964>\
**Category:** Getting Started\
**Created:** [March 27, 2017, 4:05am UTC](https://community.particle.io/t/photon-particle-control-by-mobile-app/30964 "2017-03-27T04:05:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![huyrua291996](https://avatars.discourse-cdn.com/v4/letter/h/e480ec/32.png) [@huyrua291996](https://community.particle.io/u/huyrua291996)\
**Post date:** [March 27, 2017, 4:05am UTC](https://community.particle.io/t/photon-particle-control-by-mobile-app/30964/1 "2017-03-27T04:05:15Z")

</div>

Hi,  
I am a newbie, I use Photon to my project : Measure temperature and humidity and display in Mobile App.  
But I wonder how I connect to custom wifi with Photon.  
For example, when I change my wifi, i can send new ssid, password to my Photon to connect  
Anybody helps me  
Thanks!

---

<div class="post-metadata">

**Author:** ![Moors7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/moors7/32/588_2.png) [@Moors7](https://community.particle.io/u/Moors7)\
**Post date:** [March 27, 2017, 5:21am UTC](https://community.particle.io/t/photon-particle-control-by-mobile-app/30964/2 "2017-03-27T05:21:57Z")

</div>

Hold the setup button for four seconds until it starts blinking blue. Then add new credentials like you did before.

---

<div class="post-metadata">

**Author:** ![huyrua291996](https://avatars.discourse-cdn.com/v4/letter/h/e480ec/32.png) [@huyrua291996](https://community.particle.io/u/huyrua291996)\
**Post date:** [March 27, 2017, 5:35am UTC](https://community.particle.io/t/photon-particle-control-by-mobile-app/30964/3 "2017-03-27T05:35:33Z")

</div>

Yes, but i want to add by my app,not particle app.  
I want sth like AP Provisioning in CC3200. Do you have another way, thanks

---

<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:** [March 27, 2017, 6:19am UTC](https://community.particle.io/t/photon-particle-control-by-mobile-app/30964/4 "2017-03-27T06:19:18Z")

</div>

You could add [_SoftAP_](https://docs.particle.io/reference/firmware/photon/#complete-example) to your project.  
Or add a dedicated `Particle.function()` that takes your creds and stores them via [`WiFi.setCredentials()`](https://docs.particle.io/reference/firmware/photon/#setcredentials-)

---

<div class="post-metadata">

**Author:** ![huyrua291996](https://avatars.discourse-cdn.com/v4/letter/h/e480ec/32.png) [@huyrua291996](https://community.particle.io/u/huyrua291996)\
**Post date:** [March 27, 2017, 9:05am UTC](https://community.particle.io/t/photon-particle-control-by-mobile-app/30964/5 "2017-03-27T09:05:06Z")

</div>

Okay,  
Thank you
