getPressure gets stuck with "Conversion in progress" error (Bangle.js 2; fw 2v12.40) #4223
Replies: 2 comments 2 replies
-
Posted at 2022-02-21 by @gfwilliams Ok, thanks. I'll take a look. Is this with a KickStarter bangle? Posted at 2022-02-21 by malaire yes Posted at 2022-02-23 by @gfwilliams Just fixed in latest firmware I think Posted at 2022-02-25 by malaire yes, this is fixed in btw, did I misunderstand something, but I thought you made the I2C error catchable earlier? Currently in Posted at 2022-02-28 by @gfwilliams
It might be handled as a Posted at 2022-02-28 by malaire Specifically this code doesn't catch it. Do I need to do something different?
Posted at 2022-02-28 by @gfwilliams Could you try putting a Posted at 2022-02-28 by malaire I've been running with that for over 2 hours now without I2C error, I'll report here if I manage to reproduce that again. (So good news is that it has become quite rare.) But I did notice that
Posted at 2022-02-28 by malaire ok, I got I2C error but I don't quite understand this. Output:
Code:
Posted at 2022-03-01 by @gfwilliams Ok, thanks - that's what I thought then. I guess there is an I2C error not when initialising, but when reading the data from the sensor after a timeout. I could add a check in there for that, and I guess it may help to catch those occasional odd temperature values. But have you tried using Posted at 2022-03-01 by malaire
yes, that works better, but in my clock adjust widget the update interval can be much longer than 10 seconds and Posted at 2022-03-02 by @gfwilliams
This is true, but it may not be as bad as you think especially in the ~10 second case - since the barometer takes 1 second to get started each time anyway. Posted at 2022-03-02 by malaire Is there any (simple) way to measure power consumption? Somehow disconnecting internal battery and using only USB power would be ideal, but I don't think that is possible? Posted at 2022-03-02 by @gfwilliams Well, I have a Bangle here where I took it to bits, disconnected the battery and then power it from an external battery with a power meter, but that's about the only method I know of, and it's not easy at all :( |
Beta Was this translation helpful? Give feedback.
-
It doesn't seem to be a big problem but I'm getting the same error with 2v26 (Kickstarter version): 2v26 (c) 2025 G.Williams My Bangle 2 was connected to the IDE and had the LCARS watchface showing when this error started appearing periodically in the console. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2022-02-19 by malaire
I've noticed new problem with Bangle.js 2 and
Bangle.getPressure()
:Once "I2C Error: Arbitration (start)" happens, all future calls to
Bangle.getPressure()
will fail with "Uncaught Error: Conversion in progress".This never happened with earlier firmwares but I'm now seeing this quite often with 2v12.40
Beta Was this translation helpful? Give feedback.
All reactions