-
Notifications
You must be signed in to change notification settings - Fork 178
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]: setting fixed lat/lon/alt now REQUIRES --set position.fixed_position true
even if ALREADY set to True
#525
Comments
note: the location section is not present at all! |
Location is not a part of config. It's stored on the node in the NodeDB of the device |
As of 2.2.24 to which I downgraded, the fixed position is stored in location: which is NOT nodeDB AFAICT, see:
Setting fixed location does NOT work on 2.3.1 at all. |
I had this issue aswell on 2.3.1 alpha however did manage to fix it by turning off the smart control and fix gps in the android app and then used the python ctl to set it.
This might work instead of using the app/web browser but not tried it, maybe someone can confirm before re-enabling it again via python ctl ? |
Interesting, perhaps with 2.3.x one needs to specify fixed_position true and ALL of lat/lon/alt at ONCE for it to take effect. I did Somehow order of operations matters now and this breaks the android app. ps. I checked my earlier export-config which I used before 2.3.1 upgrade and it DID not have |
moar debugging on 2.3.1:
but when I --export-config I see:
so clearly the device is not accepting the lat/lon/alt for some reason. THIS is the bug. |
This does work:
and --export-config:
|
Lets try setting lat/lon/alt without passing set:
and --export-config:
FAIL, passing any of --set{lan,lon,alt} now appears to REQUIRE --set position.fixed_position true even if it is ALREADY set to True. ^^^ please fix. |
--set position.fixed_position true
even if ALREADY set to True
You now have to disable fixed position first in order to be able to set your position. This was deliberately put in by meshtastic/firmware#3403, because there have been many reports of people that expected the position to never change after you set fixed position to true. This was especially for phone apps, but the CLI uses the same API. |
We need to update python to send the position packet first and then enable fixed position as a part of this process. There is no reason to use --setlat --setlon etc outside of the context of a fixed position |
Category
Other
Hardware
Rak4631
Firmware Version
2.3.1.4fa7f5a
Description
I used fixed position with previous fw version. after upgrading to this one, I cannot set it via cli nor via android app.
For cli see log output below, for app I set it in gui, reconnect and shows as lat/long/alt of 0.0.
Relevant log output
The text was updated successfully, but these errors were encountered: