I have a device that ran perfectly for about half a year, but suddenly stopped working a few months ago. Now I came around to try and fix it. I don’t know of any changes in the network, or otherwise, around that time, which could have caused it.
The Particle Photon in question cannot connect to the cloud. I tried reading through all relevant threads I could find, running the device doctor, upgrading, trying all kinds of things with the local WIFI, tried both internal and external antenna, etc. But no success. It just won’t connect. It just blinks rapid green now.
Rapid blinking green is when the Photon is trying to get an IP address from the network DHCP server. That could have been something that changed that would affect a previously working Photon.
Getting a log using the Photon cloud debug tool may be helpful in figuring out what’s actually going wrong.
It is possible that you have corrupted device keys. You’ll need to have the Particle Command Line Interface (CLI) installed, so if you have not installed it yet, follow the instructions here:
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
Hmm… maybe try clearing the credentials: hold down the SETUP button until the LED blinks dark blue, and continue holding it down until it blinks dark blue rapidly, then release.
Connect the Photon to your computer by USB and configure the Wi-Fi again: