My electron was working properly publishing data every time I initiated an event from a DO Button. It has stopped publishing so I made a very simple program to test Particle.publish. Running this code I can watch the LED on the electron flash as an indicator the code is running but the console logs still don’t show up. Can anyone offer some advice to get them working again?
So far I have updated from 0.4.8 to 0.5.3 to 0.6.0 with no change as well as unclaiming and reclaiming the electron. All other code runs normal, sensors are reading etc.
Still no change. It’s breathing Cyan, tinker works, other code runs fine and can flash OTA or via CLI. I’m at a bit of a loss as I have a photon here as well that seems to be publishing just fine.
Are you checking the correct even stream?
Is this Electron claimed to the same account as your Photon?
What if you add some Particle.function() or Particle.variable() in your code? Do the show up in particle list?
If you power off the device and power it back on you should see a “Electron came online” event in the console.particle.io/logs page. As @ScruffR said, it would be good to double-check that you are logged into the console with the account that also owns the Electron (and therefor looking at the “right” event stream)
I am logged into the correct account (the only account I have) and the electron is claimed. I am able to see particle.function and particle.variable in the iphone app but can’t see them on the console anywhere. There is no event when the electron comes online, however, it always shows the blue dot beside it on the console page and the iphone app says online tinker when it is offline. I am about to deactivate the sim, release and reclaim the electron to start fresh. Another thing I’ve noticed doing so, is when I unclaim the electron, it shows up again as soon as I refresh or return to the devices page.
Google Chrome Version 54.0.2840.99. It was working fine up until the 23rd of October when my console shows the last time the electron was online successfully.
I have exactly the same issue with my second Electron. With my first Electron everything works fine. Yesterday, I setup my second one but it don’t publish any events (also no “device online” event).
The setup, firmware and sketch are exactly the same.
At the beginning I had the “red burst” issue. I solved this with the following commands in the DFU mode.
particle login
particle keys doctor (deviceID)
particle keys server
I also tried other solutions of the community but nothing helps. Is there any fix for this issue?
I’m having this same issue as well. My Electron was running fine in the field along with two other “identical” Electrons and this one seems to have fallen off the face of the earth. It is no longer publishing events. The others are working fine. I re-flashed the application for giggles and did a “particle update” just to be sure.
When I power on the device, it appears to attach to the cellular network and breaths cyan appropriately. However, I see absolutely no evidence of the device coming online in the logs. Nor do I see any evidence of the webhook being called via Particle.publish().
Again, this device was running for weeks just fine all alone with no one touching it. It went offline at 1:11AM EST today. Was there any special platform maintenance being performed at that time?
[update] This same thing may have happened to one of the other Electrons last week. I assumed it had gone offline for some strange reason, but it was breathing cyan just fine when I opened its enclosure. I disconnected the battery and power adapter and restarted it and it came back online just fine. However, it had been offline for a couple days.
Are you still seeing the issue? We had a reported incident this morning with respect to webhooks and integration latency, so I would not expect it to impact publish events.