# Particle app cannot setup Photon

**URL:** <https://community.particle.io/t/particle-app-cannot-setup-photon/14201>\
**Category:** Troubleshooting\
**Created:** [August 7, 2015, 5:21pm UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201 "2015-08-07T17:21:31Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amir](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Amir](https://community.particle.io/u/Amir)\
**Post date:** [August 7, 2015, 5:21pm UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/1 "2015-08-07T17:21:31Z")

</div>

Just downloaded Particle app and tried to connect to brand new Photon. App find Photon but does not find a WiFi network! When I type the name it seems it finds it because I see “secured with WPA2” beside its name in password step. So I manually added my network credentials, but I saw error sign on the app.

I checked my Android phone setup, when phone connects to Particle, it disconnects from my home network. I went settimg and selected my wifi network and pressed rescan button on the app but it did not find my network again. So again I manually added my network credentials, went back to setting and connected WiFi to Photon, and it wen tthrough the first 2 steps but again I saw error sign on the app.  
Any advice to make the app work?

---

<div class="post-metadata">

**Author:** ![Amir](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Amir](https://community.particle.io/u/Amir)\
**Post date:** [August 7, 2015, 5:25pm UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/2 "2015-08-07T17:25:19Z")

</div>

I tried again by manually setting up wifi, at the end it cannot claim ownership of my device and Photon blinks blue.

---

<div class="post-metadata">

**Author:** ![Amir](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Amir](https://community.particle.io/u/Amir)\
**Post date:** [August 8, 2015, 7:05am UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/3 "2015-08-08T07:05:49Z")

</div>

**I tried CLI and I get these errors!**

I have detected a Photon connected via USB.  
? Would you like to continue with this one? Yes  
! The Photon supports secure Wi-Fi setup. We'll try that first.

! PROTIP: Wireless setup of Photons works like a wizard!  
! PROTIP: We will automagically change the Wi-Fi network to which your computer  
is connected.  
! PROTIP: You will lose your connection to the internet periodically.

Potentially unhandled rejection [2] Unable to find mac address in response (WARN  
ING: non-Error used)

> No nearby Photons detected. Try the `particle.js help` command for more inform  
> ation.  
> ? Would you like to wait and monitor for Photons entering setup mode? (Y/n)

---

<div class="post-metadata">

**Author:** ![Amir](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Amir](https://community.particle.io/u/Amir)\
**Post date:** [August 8, 2015, 7:14am UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/4 "2015-08-08T07:14:49Z")

</div>

I tried putty too. photon gives me its id. I entered it in web ide but it replies “cannot claim core”

---

<div class="post-metadata">

**Author:** ![Amir](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Amir](https://community.particle.io/u/Amir)\
**Post date:** [August 8, 2015, 7:22am UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/5 "2015-08-08T07:22:25Z")

</div>

\*\*Using CLI, another failure 😫 \*\*

C:\Users\Amir\>particle identify

Your device id is 210027000647343232363230

C:\Users\Amir\>particle device add  
Please specify a device id

C:\Users\Amir\>particle device add 210027000647343232363230  
Claiming device 210027000647343232363230  
Failed to claim device, server said { ok: false, errors: [ ‘device does not exi  
st’ ] }

---

<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:** [August 8, 2015, 8:28am UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/6 "2015-08-08T08:28:44Z")

</div>

Has it been connected yet (at least once)? Could you try `particle setup wifi` in the CLI when it’s in blinking blue/listening mode? Then don’t have it detect your security type automatically.

---

<div class="post-metadata">

**Author:** ![Amir](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Amir](https://community.particle.io/u/Amir)\
**Post date:** [August 8, 2015, 8:47am UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/7 "2015-08-08T08:47:43Z")

</div>

Photon has not ever been claimed.I did what you suggested, At the end it did not restart. I pushed reset button. Now it’s blinking orange 😩

```
C:\Users\Amir>particle setup wifi
? Should I scan for nearby Wi-Fi networks? (Y/n) y
? Should I scan for nearby Wi-Fi networks? Yes
? Select the Wi-Fi network with which you wish to connect your device: (Use arro
? Select the Wi-Fi network with which you wish to connect your device: ATT241
? Should I try to auto-detect the wireless security type? No
? Security Type: WPA2
? Wi-Fi Password: 8561898849
Attempting to configure Wi-Fi on COM5
I said: w
Serial said: SSID:
I said: ATT241

Serial said: ATT241
Security 0=unsecured, 1=WEP, 2=WPA, 3=WPA2:
I said: 3

Serial said: 3
Password:
I said: 8561898849

Serial said: 8561898849
Thanks! Wait while I save those credentials...
Done! Your device should now restart.
```

---

<div class="post-metadata">

**Author:** ![Amir](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Amir](https://community.particle.io/u/Amir)\
**Post date:** [August 8, 2015, 8:54am UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/8 "2015-08-08T08:54:39Z")

</div>

I tried again, At the end it was blinking blue. I pushed reset button. Now it’s blinking orange 😢

---

<div class="post-metadata">

**Author:** ![Amir](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Amir](https://community.particle.io/u/Amir)\
**Post date:** [August 9, 2015, 3:50am UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/9 "2015-08-09T03:50:02Z")

</div>

I setup another Photon with Android app. It went like a breeze. There’s something wrong with my first Photon. Maybe its id is not defined in the system. Any ideas?

---

<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:** [August 9, 2015, 9:15am UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/10 "2015-08-09T09:15:42Z")

</div>

Hmm, let’s call in @kennethlimcp on this one. It’s sounds like it could be a keys issue.

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [August 9, 2015, 1:27pm UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/11 "2015-08-09T13:27:11Z")

</div>

So it is blinking orange? or yellow?

---

<div class="post-metadata">

**Author:** ![Amir](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Amir](https://community.particle.io/u/Amir)\
**Post date:** [August 10, 2015, 8:01am UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/12 "2015-08-10T08:01:26Z")

</div>

This is the picture of Photon flashing ![](https://sea2.discourse-cdn.com/flex026/uploads/particle/original/0/c/0cbf6747c405c31ee16ab1d75533e62371982fe6.jpg)

---

<div class="post-metadata">

**Author:** ![mrkale](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mrkale/32/5870_2.png) [@mrkale](https://community.particle.io/u/mrkale)\
**Post date:** [August 12, 2015, 11:45am UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/13 "2015-08-12T11:45:54Z")

</div>

I have had the same problem and was solving it with Particle engineers. However unsuccessfully and at the end of the day they gave it up and suddenly stopped communicate. Now I have one Photon working and one as a draff.

---

<div class="post-metadata">

**Author:** ![Amir](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Amir](https://community.particle.io/u/Amir)\
**Post date:** [August 13, 2015, 3:32pm UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/14 "2015-08-13T15:32:15Z")

</div>

@kennethlimcp Do you have any idea to revive this Photon? You’re my last hope. 😥

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [August 14, 2015, 11:42pm UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/15 "2015-08-14T23:42:39Z")

</div>

@Amir,

Can you use DFU-util to flash V0.4.3 system firmware and let me know what colour does the RGB led show?

---

<div class="post-metadata">

**Author:** ![Amir](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Amir](https://community.particle.io/u/Amir)\
**Post date:** [August 22, 2015, 10:54pm UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/16 "2015-08-22T22:54:35Z")

</div>

@kennethlimcp I flashed the last FW successfully. Then tried to install Tinker and got this error:

```
C:\Users\Amir>particle flash --usb tinker-0.4.4-photon.bin
Found DFU device 2b04:d006
checking file tinker-0.4.4-photon.bin
spawning dfu-util -d 2b04:d006 -a 0 -i 0 -s 0x080A0000:leave -D tinker-0.4.4-pho
ton.bin
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 2b04:d006
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash "
Downloading to address = 0x080a0000, size = 4740
Download [=========================] 100% 4740 bytes
Download done.
File downloaded successfully
Error during download get_status

Error writing firmware...

```

I used app. It went through the first 4 steps smoothly but error showed at the last step. 😧

---

<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:** [August 22, 2015, 10:57pm UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/17 "2015-08-22T22:57:30Z")

</div>

That is a known bug in DFU-UTIL, but your firmware should have flashed successfully, nothing to worry about.

---

<div class="post-metadata">

**Author:** ![Amir](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Amir](https://community.particle.io/u/Amir)\
**Post date:** [August 22, 2015, 11:00pm UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/18 "2015-08-22T23:00:28Z")

</div>

@Moors7 BUT STILL PHOTON DOES NOT SETUP WITH APP : “…could’t claim your Photon!” 😡  
Photon is still blinking blue. Any advice?

---

<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:** [August 22, 2015, 11:07pm UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/19 "2015-08-22T23:07:21Z")

</div>

With the CLI, could you try `particle setup wifi`? Don’t have it detect your security type automatically.

---

<div class="post-metadata">

**Author:** ![Amir](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Amir](https://community.particle.io/u/Amir)\
**Post date:** [August 22, 2015, 11:21pm UTC](https://community.particle.io/t/particle-app-cannot-setup-photon/14201/20 "2015-08-22T23:21:06Z")

</div>

I don’t think issue is related to WiFi because when I use app it stuck at CLAIMING Photon only.  
Anyway I got a new error when using CLI: " Serial! no device available via serial"  
I reset photon, restart Windows bit still the same issue.

I tried “Particle Setup” it says no usb connected!

[Next page](https://community.particle.io/t/particle-app-cannot-setup-photon/14201.md?page=2)
