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]: meshtasic cli and web misses location set, import and export #693

Open
xinrag opened this issue Oct 15, 2024 · 2 comments
Open

[Bug]: meshtasic cli and web misses location set, import and export #693

xinrag opened this issue Oct 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@xinrag
Copy link

xinrag commented Oct 15, 2024

Category

Other

Hardware

Linux Native

Firmware Version

2.5.5.e182ae7

Description

I guess LocalModuleConfig is outdated, does not know how to handle location.lot...:

Using a SX1262 hat for raspberry.

Found out that:

  • web conf does not show alt, lon and lat if you try to set fixed position
  • setting with android app ok, but then...
  • meshtastic cli can successfull export this part in the yaml BUT...:
    location:
    alt: ...
    lat: ...
    lon:---
  • meshtastic cli can not import this f.e. with --configure. Values get lost, not importet
  • meshtastic cli can not this falues with f.e.:
    meshtastic --host 192.168.66.91 --set location.alt 401
    ..because "LocalConfig and LocalModuleConfig do not have attribute location.lat"

Atm don't know how to set position and othes without the android app.

And I would love it very much if --export-config can export all so that this is a backup of the config and can be used to restore, replace a hat

Relevant log output

No response

@xinrag xinrag added the bug Something isn't working label Oct 15, 2024
@thebentern thebentern transferred this issue from meshtastic/firmware Oct 15, 2024
@ianmcorvidae
Copy link
Contributor

With the CLI, you should be setting those properties with the dedicated --setlat --setlon and --setalt command-line arguments; these three things are not properties in the configuration handled by --set. I just opened up #694 to update --configure to use the same method as those command-line arguments.

@xinrag
Copy link
Author

xinrag commented Oct 15, 2024

Phantastic! Now only the question with the web configuration... is there a way to get in in there, too?
I saw some older issues about that... looks like it is broken since some months.

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

2 participants