I bought a Photon in 2016 and used it for a while. It hasn’t been used for a couple of years and I’m trying to get it working again.
I’ve installed latest firmware (I think) via particle flash --usb tinker.
I’ve reset the device via particle device doctor. It connects to wifi OK as I can see the Photon in the router’s DHCP page. The Photon is stuck in fast cyan blinking with red blinks every 10sec or so. This seems to be that it cannot connect to the cloud. The device was claimed in my account for years, but I’ve unclaimed it before this process to start fresh (maybe this wasn’t a good idea).
I’ve also tried particle keys server and particle keys doctor <DEVICE_ID> to no avail.
I’ve tried all these steps a few times. Any ideas?
Thanks for the quick reply and the suggestion. I’ve run the device restore tool successfully but I’m still having the same problem.
I’m now sometimes seeing 3 orange blinks in between cyan blinking segments, which seems to be related to server keys (the rest of the time is a red blink). I’m not sure about these, but they should have been reset with the particle keys server and particle keys doctor <DEVICE_ID> commands I’ve tried a few times.
i’ve been adviced by particle team to do following - and it worked for me + check your USB cable
in my case some of them work well and some don’t:
Can you unplug it, hold down the SETUP button, plug in USB power, and continue to hold down SETUP until the LED blinks yellow, then release: If it stays in blinking yellow you should be able to use the USB Device Restore tool or particle update .
Hi Anton, thanks for the suggestion. The cable works fine and I’ve tried configuring the Photon via cli and via the device restore tool several times. All commands run fine and communication with the Photon is fine.
I suspect the issue has to do with keys & claiming the device. At the moment, the device is unclaimed. Its LED blinks an error code that signals incorrect keys and it cannot connect to the cloud. Given that it cannot connect to the cloud, I cannot claim it. I’ve tried restoring its keys with particle keys server and particle keys doctor <DEVICE_ID>, which run fine, but it doesn’t fix the problem.
Hi, would you be able to try the Particle device to connect to a hotspot in your phone?
This way we could rule out any config in the router, potentially.
Thanks
I’ve tried that and get exactly the same. The device does seem to have internet access both via WiFi and mobile hotspot, it’s the cloud it cannot connect to. I’m attaching a screenshot from the Device Doctor.
Thanks for all the suggestions. It’s now been over a month and I’m trying to wrap things up. Basically it all seems to be due to a key problem. Question: is anyone from Particle able to update the keys in the Particle Cloud so that they match my device’s, or to claim the device to my account? Otherwise I’m stuck and it seems I should just throw the device away and try some other IoT provider.
I don’t think it’s a keys issue, and we can’t update the keys for a device manually anyway. It needs to be done using particle keys for security reasons.
0000033415 [system] WARN: Internet available, cloud not reachable
0000033415 [system] WARN: Cloud handshake failed, code=-220
The message “Internet available, cloud not reachable” indicates that the Photon couldn’t make a connection to the cloud TCP port. The more common reasons for this:
The DHCP configured DNS isn’t a valid DNS server, or it’s not resolving device.spark.io
The DNS is a captive portal and it’s redirecting connectivity to a different server, not the actual cloud server
A firewall is blocking outbound TCP access to that host and port
If you DM me the Device ID I can see the last time your keys have been updated.