Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Configuration doesn't fully restore #5640

Open
overlord23 opened this issue Nov 25, 2024 · 2 comments
Open

[Bug]: Configuration doesn't fully restore #5640

overlord23 opened this issue Nov 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@overlord23
Copy link

Category

Other

Hardware

Heltec V3

Firmware Version

2.5.11.8e2a3e5

Description

The configuration doesn't fully restore on Heltec V3 and Heltec Wireless Stick Lite.
Here the applied steps to reproduce the problem

  • issued nodedb reset and factory reset
  • configured node and exported config with Meshtastic CLI
  • issued nodedb reset and factory reset again
  • exported config from Meshtastic CLI and compared with the previously exported yml

The following parameters included in the configuration file didn't restore:

  • autoScreenCarouselSecs:
  • txPower
  • adcMultiplierOverride
  • root (lora region)

Here the serial and debug log
debug_aftrestore.txt
serial_log_cfgrestore.txt

This bug has been discussed in #5331 for reference.

Relevant log output

No response

@overlord23 overlord23 added the bug Something isn't working label Nov 25, 2024
@garthvh garthvh transferred this issue from meshtastic/firmware Dec 17, 2024
@ianmcorvidae
Copy link
Contributor

ianmcorvidae commented Dec 17, 2024

@garthvh I think this is, in fact, a firmware bug. Python is just starting a settings transaction, sending the settings, and then committing; it seems like firmware is what isn't saving these values appropriately. There's been sporadic reports of this, particularly since 2.5. (noting, also, that some of these reports are from Android, which also uses the transaction mechanism)

@overlord23 if possible, could you also share the yaml file you're using to import, and the full output of meshtastic --debug --configure <file.yaml> (replacing <file.yaml> with your exported configuration, of course). I'd like to confirm that python is in fact sending the expected values, which don't all appear in the serial log.

@lucaskatayama
Copy link

lucaskatayama commented Dec 21, 2024

I get something like this...

Export config

  1. Change mqtt.enable from true to false
  2. Apply with --configure <YAML> --port /dev/<PORT>
  3. Doesn't change anything...

BUT

Using bluetooth (--ble <name>), it works...
It only happens with serial port ....

@garthvh garthvh transferred this issue from meshtastic/python Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants