I’ve been seeing a bug recently where the cloud thinks that online photons are offline. When I restart a photon, it connects to my wifi, and if I run ‘particle list’ in the particle CLI, it correctly shows the photon as online.
If I wait several minutes, the photon is still breathing cyan and running normally, but it appears as ‘offline’ in the particle list results. It’s quite repeatable, and the photon appears as ‘offline’ after a few minutes, basically every time I turn it on. I did a quick test with stopwatch to see exactly when it dropped offline, and it happens repeatedly (3/3 tries) around 2:00 minutes.
I know that the photon isn’t really offline – I can do an OTA flash to the photon, even if particle list shows it as offline.
Is anyone else seeing this issue? Right now, I’m seeing this as a bug in the spark cloud, and if that’s true, it should be plaguing other people, as well. It’s actually quite important for my application that online photons show up as online – we’ve built a website where our users can select a certain device of theirs that’s online (according to the particle API) and flash a custom program to it. Right now, this issue means that photons drop off the site listing a few minutes after boot, which is no good. Any ideas how to fix it?