I am trying to connect my Photon to WiFi and it is all of a sudden failing, through both Android app and CLI, on the step where it connects to the “device cloud”.
It’s plugged into USB, and I’ve tried doing the factory reset multiple times, where it’s in blue blinking/listening mode as I’m going through the setup process.
I’ve also tried this, where it successfully updated the firmware:
@kennethlimcp Yes. I’m not sure what I could’ve done to cause a device cloud connection error? Do I need to remove all the apps connected to my account? Something to do with device keys?
? Should I scan for nearby Wi-Fi networks? Yes
? Uh oh, no networks found. Try again? Yes
It can’t find any Wi-Fi networks. I then tried sending it manually through the CLI, but still doesn’t work.
When I try it through the Android app, the Photon does return a list of my WiFi networks. When sending credentials however, I still get the same error where it can’t connect to the device cloud.
Yes, it’s blinking blue. After entering manually, it said:
Thanks! Wait while I save those credentials...
Done! Your device should now restart.
still blinking blue, still plugged in to USB, and when I do:
njonas-macbookpro:~ njonas$ particle list
No devices found.
What I don’t understand is how this has worked before, and when I do a ‘factory reset’, I’m still having issues. Is there a way to perform a stronger reset?
@kennethlimcp Okay, I can better describe the error behavior now using CoolTerm.
Once I unplug and plug in the Photon, it breathes Cyan (I think it’s Cyan, it looks pretty white - it’s definitely not blue or yellow). And when connected through Coolterm, it starts to print out debugging lines in my firmware:
waiting 10 seconds before we publish
h
waiting 2 seconds before we publish
waiting 1 seconds before we publish
Requesting Weather!
“Requesting Weather!” is in my loop() method.
If I then do a factory reset (hold down both buttons, let go of only reset, wait for it to flash yellow, and then flash white, and then let go (usually around 6-10 seconds) completely of the buttons, it then blinks blue.
At this point I try and set it up with the app (or CLI), and it errors out on “Device Cloud Connection”.
I repeat all these steps over and over, and it’s consistent. This leads me to believe the factory reset just isn’t working. Any ideas?