It will be good to have:
What happens in this case?
Does the electron start flashing green after removing power and battery connection and reconnecting?Or it does not boot at all?
Looked over your code.
Your not putting the Electron into a deep sleep when the battery gets low and turning it back on when the solar panel charges back up past the preset SOC.
If you were doing that as I suggested 4000 times then you would have no issues. No need for a 100w solar panel.
Since it seems that Particle cannot reproduce this with their devices reliably but you have devices that seem to got the "gift", maybe Particle might want to get hands on one of your devices.
What do you think @rickkas7?
Yes, I know. I thought it would last a single flippin' weekend.
This masks the problem anyway, and doesn't fix it. I have a mild allergic reaction to workarounds, and greatly prefer a fix to the actual issue.
It doesn't really matter to me anymore. I mean, yes it matters; I want to know why and I want it fixed, but I've been instructed not to spend any more time on this.
I agree the Electrons should not go dead but using that Low SOC code also gives you a longer life span from the battery since your not discharging it as deeply on a regular basis also.
yeah I understand and agree.
Try adding code to enable brownout reset. It can't hurt anything, might fix your problem, and if not, you can tell us so we can try to narrow down the root cause of the issue:
Is it an AssetTracker v1 or v2?
The reason why i asked is to reproduce a setup on my side if possible and see what went wrong.
v2 in the two most recent cases. i have two of each and it happens on all of them, though. i don't think the GPS has anything to do with it.
Awesome. I have a AssetTracker V2 so that helps.
Don't have a 6V 6W Solar panel but i will use something from the stash and see what happens.
6V 6W Solar panel
Sorry for the bummer!
Hey All, we recently released v0.7.0-rc.1 pre-release firmware that offers many improvements for flash memory robustness.
A summary is here
Full changelog here
The pertinent bits are as follows:
For those of you that can unfortunately replicate your issues quite easily... I would really appreciate your thoughts on the improvements made above and if they help in your applications.
@BDub Are you saying these updates should help eliminate the memory corruption issues with Electrons where the battery is allowed to drain to empty?
That's the intention.
Yes, we've seen various types of flash corruption that can occur that 0.7.0-rc.1 proposes solutions to.