meshtastic / firmware

Meshtastic device firmware
https://meshtastic.org
GNU General Public License v3.0
3k stars 718 forks source link

[Bug]: Firmware reset after battery dies #3260

Open DomTheDorito opened 4 months ago

DomTheDorito commented 4 months ago

Category

Other

Hardware

Heltec v2

Firmware Version

2.2.21

Description

Device settings get reset after battery dies (region, channels, users etc).

To reproduce issue:

  1. While device is powered on, allow battery to run flat
  2. Plug in the charge battery/power device
  3. Region becomes unset, and acts like its a new device, asks to re-pair to phone

Relevant log output

No response

pdxlocations commented 4 months ago

I'm curious, Is the node connected to a client by Bluetooth when the battery dies? Does it reset when NOT connected via Bluetooth?

DomTheDorito commented 4 months ago

It's done it in both cases now.

pdxlocations commented 4 months ago

Ok thanks, I had a brownout reset issue with nRF and others have reported resets when losing Bluetooth connection so I was curious if they might be related. #2936

DomTheDorito commented 4 months ago

I'll do some more testing tomorrow afternoon, and I'll try and get some useful logs

Hamspiced commented 4 months ago

Same issue, rak 4631 with a 1000mah flat pack.

When mine resets though the ble pin switches to random and I have to reset via serial

cracky22 commented 4 months ago

same issue with my heltec v2.1....

OrByR commented 4 months ago

I have run into this issue at least once on a Heltec v3 as well.

Holyszewski commented 2 months ago

In my case, on a Heltec v3 set up as a router, the brownout just resets the long and short name. The other settings seem to be preserved and it allows me to fix the name settings remotely via the admin channel.

FW 2.3.2 I believe.

cracky22 commented 2 months ago

Yep and finally my heltec v3 now also has these problems

S5NC commented 2 months ago

Does this happen every time the battery dies, or just sometimes?

Hamspiced commented 2 months ago

Does this happen every time the battery dies, or just sometimes?

It is infrequent. Sometimes ill go 2-3 charges from dead before it pops up. Sometimes a week.

The Heltec Wireless Stick Lite seems to have it happen much more frequently than my other devices.

Recently a solar node/rak wireless build had this occur. Normally not an issue but it was mounted 30' up. Definately a pita to get it down and set it up again. This particular device was setup as a Router/Client the other devices i had it occur on were only clients.

cracky22 commented 2 months ago

Does this happen every time the battery dies, or just sometimes?

For me the problem only occurs very sporadically. sometimes it can take weeks to occur but sometimes three to four days are enough...

meshtastic-bot commented 1 month ago

This issue has been mentioned on Meshtastic. There might be relevant details there:

https://meshtastic.discourse.group/t/meshtastic-scotland/11479/108

WUBBSY commented 1 month ago

In my case, on a Heltec v3 set up as a router, the brownout just resets the long and short name. The other settings seem to be preserved and it allows me to fix the name settings remotely via the admin channel.

FW 2.3.2 I believe.

Had the same issue on both my Heltec Tracker nodes after the battery went flat. Set up as Clients. FW 2.3.3

fattredd commented 1 month ago

I'm also seeing the same on 2.3.10 on Heltec V3. Set up as Router Clients.