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

[widalt] Altitude display stops updating, blanks. Persists through reboots. #3086

Closed
joshaspinall opened this issue Nov 8, 2023 · 11 comments
Labels

Comments

@joshaspinall
Copy link

joshaspinall commented Nov 8, 2023

Affected hardware version

Bangle 2

Your firmware version

2v19

The bug

Widalt app stops updating the altitude. Reboot causes the altitude to blank, does not recover. Did not note when the updates stopped. Issue persists through power off events.

Widalt settings inputs are ignored. QNH is 1013, altitude shows 44330m, update interval 5s.

Updated to add; removal and re-installation does not correct the issue.

Installed apps

boot (0.59), launch (0.20), antonclk (0.11), about (0.14), widlock (0.08), widbt (0.09), widid (0.03), welcome (0.14), notify (0.13), health (0.27), sched (0.22), widalarm (0.01), widbat (0.12), setting (0.65), alarm (0.44), widalt (0.01)

@joshaspinall joshaspinall added the type-bug Something isn't working label Nov 8, 2023
@joshaspinall joshaspinall changed the title [app/widget name] Short description of bug [widalt] Altitude display stops updating, blanks. Persists through reboots. Nov 8, 2023
@joshaspinall
Copy link
Author

screenshot

@bobrippling
Copy link
Collaborator

Issue persists through power off events

This makes it sound like maybe a firmware / hardware issue, @gfwilliams would this seem accurate?

@nxdefiant
Copy link
Contributor

nxdefiant commented Nov 8, 2023

Do you get a value in the barometer?

If not try baroreset.settings.js or baroreset.boot.js attached in the forum thread

@gfwilliams
Copy link
Member

Yes, I think it's a hardware/firmware issue - somehow, rarely, the barometer can get misconfigured. If you flatten the battery (there's an option in the Settings app) then almost certainly the barometer will start working again.

The code in above should work but it's a bit heavy-handed, involving a Bangle.js reset.

The problem is it's been pretty hard to track down as I've never seen this happen on a device here - and when I tried previously resetting the pressure sensor at power on each time didn't work.

I've just made some changes to the main firmware though so if you install the latest cutting edge Espruino firmware it should now work for you.

Now, it automatically resets the sensor. It seems that right after you ask the sensor to reset it reports that it is actually ready (but it's not). You actually need to wait a few milliseconds and then it says it's not ready, and then you wait a bit more and eventually it's fine.

@joshaspinall
Copy link
Author

Do you get a value in the barometer?

If not try baroreset.settings.js or baroreset.boot.js attached in the forum thread

Just installed the Barometer, and this is also blank.

Thanks for the responses. I may install the cutting edge but will more likely wait until the next released version. Happy to report back but it sounds like you are confident it is resolved. :)

@joshaspinall
Copy link
Author

joshaspinall commented Nov 15, 2023

@gfwilliams @bobrippling I have just updated to the latest Edge build, https://www.espruino.com/binaries/travis/master/espruino_2v19.60_banglejs2.zip, and the issue is still present, as previously described. I have flattened the battery and the issue persists. Happy to help, provide info wherever I can.

@gfwilliams
Copy link
Member

Ok, thanks for testing - this is a really strange one. What timezone are you in?

Maybe we could set up remote access for the Web IDE and then I can connect to your watch and have a poke around to see if I can figure out what's going wrong?

@joshaspinall
Copy link
Author

@gfwilliams Indeed! Hopefully it doesn't turn out to be a red herring or an issue with my specific unit.

I am GMT/UTC based in the UK. Happy to support if I can. Please contact me directly via email and we can arrange to suit.

@bobrippling
Copy link
Collaborator

Just reopening this while it's still unsolved @joshaspinall @gfwilliams

@bobrippling bobrippling reopened this Nov 22, 2023
@bobrippling
Copy link
Collaborator

Sounds like the new firmware fixes this

@gfwilliams
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants