And it did auto correct itself and start sending data to Ubidots again.
It looked like a full Modem Reset actually happened but I was not able to copy that Debug info before my computer crashed for an unrelated issue.
Here is what the debug info says when it wakes up and successfully sends data now.
68.006 AT read + 13 "\r\n+USOCR: 0\r\n"
68.016 AT read OK 6 "\r\nOK\r\n"
Socket 0: handle 0 was created
socketSendTo(0,50.23.124.66,9010,,120)
68.016 AT send 36 "AT+USOST=0,"50.23.124.66",9010,120\r\n"
68.027 AT read > 3 "\r\n@"
68.077 AT send 120 "Particle|POST|iOb0uzGvVxBktja3GfoQak5AocI1IE|4f0023000b51343334363138:ElectronSleepNew=>Volts:3.836250,SOC:39.382812|end"
68.230 AT read + 17 "\r\n+USOST: 0,120\r\n"
68.240 AT read OK 6 "\r\nOK\r\n"
socketClose(0)
68.240 AT send 12 "AT+USOCL=0\r\n"
68.511 AT read OK 6 "\r\nOK\r\n"
socketFree(0)
I'm just happy the Electron did not hang or freeze up and continued along regardless of the network not sending info for awhile. No rest was required using the code I am using.
Hello everyone - Just a small update - Electron with Particle.io SIM and NO_ACK publishing is still running without any dropout at all!
Will continue running but currently everything seems to be so fine!
@rickkas7 - Again I agree that this issue was low level and related to the third party SIM provider. All in all I have to say that I am very impressed by Particle.io System Firmware and how good and stable the software is designed!
I’m going to log the cellular data consumption used to post battery voltage and SOC data every 2 mins to Ubidots over a 24 hour period starting now at 11 AM where the sim card data is currently 0.37 MB.
Have been running the electron with Particle.io SIM Card currently for 7 days without any dropout at all! With using third party SIM dropouts happened between one and three days.
@rickkas7 there is absolutely no problem with using Particle.io SIM card - and - data consumption is a bit less since there is some issue with the UDP hole punching when using third party SIM card. So I stick with using Particle.io!
Currently I am using an average of 0,065MB / Day when sending Voltage + Charge every five minutes. You have to count in encryption when using particle.iopublish().
Ubidots is not interesting for me since it does NOT feature encryption and so Authentication Token and User Data is send un-encrypted and is so vulnerable for man in the middle attacks. And so are their servers ...
If you use their services in production I would consider changing messaging system so something that uses TLS/SSL or UDP style CoAP encryption - for example using Particle.iopublish() & subscribe() ...
I'm running the Particle SIM also and I'm seeing large gaps of time where the Electron can not connect to the cellular network to send data. This has been happening for days. You can see the gaps in the dashboard here: Ubidots |
I wouldn't claim success just yet
What you really want is for the Electron to gracefully get past times where it can not connect to the cell network or cloud without going into the mode where it thinks and looks like its successfully publishing but actually is not and then requires a modem reset/ battery pull to fix. Which is what was happening to you in the past.
The biggest problem most people have had when deploying Electrons remotely is the need to have to go back out to them and pull the battery to reset them when they become unresponsive. Some people have been able to flash a new program to get the Electron to reset but that does not always work.
So let the test keep going because I've gone weeks before it started acting up before and a battery pull was the only remedy.
That's pretty good. I was getting about the same publishing every 2 mins. It's been hard to calculate actual data usage since I'm seeing hours of cloud non-connectivity over the last few days.
Yes, you can always push encrypted data to Ubidots using the Particle Publish method with the same data rates your seeing.
I intend to address this more fully in a separate post but I have been forced to use a third party SIM provider as the particle SIM only supports one carrier in Greece (Wind).
Where my project is operating Wind coverage is very poor compared to the two major Greek carriers (Vodafone and Cosmote).
Third party IoT / M2M SIMs with European coverage that I have looked at and started using all provide access to the 3 main carriers. They also claim not to “steer” the device on to the lowest cost carrier.
I was wondering how widespread this issue is and was somewhat disappointed to discover (in the field) that the particle SIM was so limited compared to third party SIMs that cover the IoT / M2M application area.