Don't make the same mistake I did!

So my particle was having trouble uploading so i went to my general process of fixing it. But this time I unclaimed the device and I ran Particle “doctor” via USB. Particle doctor runs u through a setup which allows u to pick and choose stuff. I accidentally reset server and device key! and that’s apparently bad for an unclaimed device.

This now means I am having trouble connecting to the cloud.

If anyone knows a solution, your comments would be appreciated.

It’s rarely helpful to unclaim, but you should be able to reset the keys and get reconnected still. You should create a support ticket and include your device ID.

You can use any of these techniques to find it.


It’s not a bad idea to manually reset your device keys again and include the output in the support ticket as well so I can tell what actually failed.

Put the Photon into Listening mode (blinking blue) by holding down SETUP until it blinks blue. Then issue the CLI command:

particle serial identify

Save the Device ID; you’ll need it later.

Then put the Photon in DFU mode by holding down both the RESET and SETUP buttons, releasing RESET and continuing to hold down SETUP until it blinks yellow and issue the commands below, in order.

particle keys server
particle keys doctor YOUR_DEVICE_ID

If you get this error under Windows:

'openssl' is not recognized as an internal or external command, operable program or batch file.

and you have used the CLI installer as described above, it may work if you do:

cd c:\OpenSSL-Win32\bin
particle keys doctor YOUR_DEVICE_ID

There are additional tips for a missing openssl error on this page, including tips for Mac OS X and Linux.

3 Likes

It didnt fix it. All your commands worked.(no CLI problem). its still unable to VERIFY product OWNERSHIP in the android app. i tried connecting with Command line too

If you’re getting cannot verify ownership, the cause varies depending on the final light sequence.

The normal sequence on the status LED is: white, blinking green, blinking cyan (light blue), fast blinking cyan, and finally breathing cyan.

If you get to breathing cyan

Put the Photon into Listening mode (blinking blue) by holding down SETUP until it blinks blue if it is not already blinking blue. Then issue the CLI command:

particle serial identify

Save the Device ID; you’ll need it later.

Reset the Photon. Once it gets to breathing cyan again, enter the command:

particle device add YOUR_DEVICE_ID

If you get to fast blinking cyan, then get red or orange blinks

Put the Photon into Listening mode (blinking blue) by holding down SETUP until it blinks blue. Then issue the CLI command:

particle identify

Save the Device ID; you’ll need it later.

Then put the Photon in DFU mode by holding down both the RESET and SETUP buttons, releasing RESET and continuing to hold down SETUP until it blinks yellow and issue the commands below, in order.

particle keys server
particle keys doctor YOUR_DEVICE_ID

Reset the Photon. The main status LED should proceed through white, blinking green, blinking cyan (light blue), fast blinking cyan, to breathing cyan. If it does not get all of the way through, include that information in your reply along with copying and pasting the command prompt output.

Only if you get all the way to breathing cyan:

particle device add YOUR_DEVICE_ID

If you only get to blinking green

Put the Photon into Listening mode (blinking blue) by holding down SETUP until it blinks blue if it is not already blinking blue. Then issue the CLI command:

particle identify

Save the Device ID; you’ll need it later.

Now enter the command:

particle serial wifi

This will allow you to configure your Wi-Fi network.

If your network uses WEP Authentication you should follow the instructions on the linked page.

Reset the Photon. The main status LED should proceed through white, blinking green, blinking cyan (light blue), fast blinking cyan, to breathing cyan. If it does not get all of the way through, include that information in your reply along with copying and pasting the command prompt output.

If you’re still stuck at blinking green there are more tips here: https://github.com/rickkas7/particle_notes/tree/master/blinking-green.

Only if you get all the way to breathing cyan:

particle device add YOUR_DEVICE_ID
1 Like

@rickkas7

Hello!

I have done everything I can think of to try getting past this blinking orange three times problem. Here is what happened:

I switched from using the web ide to the downloadable ide. I uploaded the same program, and immediately… It rebooted, flashed green, connected, went to flash cyan, did so for a while, and then flashes orange three times. Then it loops over and over.

I have tried everything I can think of. Particle doctor, holding setup for ten seconds and resetting the wifi, doing what you said above, nothing works at all, I honestly have no idea what to do. All commands complete successfully. It seems like it works just fine but it keeps doing that flashing orange thing.

Is there anything else I’m missing?

c:\OpenSSL-Win32\bin>particle keys server
Okay! New keys in place, your device will not restart.

c:\OpenSSL-Win32\bin>particle keys doctor 2e003a000447363333343435
New Key Created!
Saved!
Saved!
attempting to add a new public key for device 2e003a000447363333343435
submitting public key succeeded!
Okay! New keys in place, your device should restart.

That device successfully connected to the cloud May 16 15:15:44 EDT (-0400) so I don’t think it’s keys.

First I’d just try resetting the device firmware.

Put the Photon in DFU mode (blinking yellow) by holding down RESET and SETUP, releasing RESET and continuing to hold down SETUP while the main LED blinks magenta until it blinks yellow, then release.

Then enter the command:

particle flash --usb tinker

If that doesn’t resolve the problem, run the Photon cloud debug and capture the debug output by USB.

2 Likes

Thank you so much! This has brought my project back to life!