-
-
-
I have the same problem. I measures a reasonable Heartrate for my plastic stand and for my (3rd Party) wristband when it's stuffed into my Backpack.
So I started to go into the Settings to enable and disable HR measurement in the activity App every time I start or stop wearing the watch (which is really annoying).Now I found a related problem:
Even when the HR Measurement is turned off and I don't wear the Watch and it's perfectly steady in my Backpack while I am asleep, GB reports a hallucinated Activity (which Jose says is transferred by the Watch to GB).I attached a screenshot. I started wearing it around 9am, when I activated HR Measurement manually.
I can measure the confidence of the HR of the wristband later.
I have all Bangle Apps up to date, Firmware 2v21 (because updating the Firmware is didy not work so far) and GB from 3-4 months ago.
-
-
That might not be necessary. So far I did not observe any more wake ups.
So it might very well be the combination of the accelerometer-bug and a weird behavior in lightswitch (0.09) which ignores my settings.I would observe it for a few more days before calling this fixed, but there's hope that's it.
However, I do use Light switch widget to unlock on tap (right tap side).
Thanks for the hint, I would never have thought about blaming this widget.
-
-
However, I do use Light switch widget to unlock on tap (right tap side).
I too use that widget, but I do not have the setting turned on, tapping the corner did not wake up the screen.
I just uninstalled it anyway. So far (a few minutes) it did not wake up. I will report back after observing it longer.
@ccchan Do you use this widget?Maybe you could try Settings -> Utils -> Rewrite settings just in case there's some issue with them taking effect?
I tried it and it did not fix it. Still good to know that this exists!
If you're connected with the IDE you could paste setWatch(print, BTN, {repeat:true})
Even if I actively wake it up with the button this command does not tell me about it.
It seems to only work if the device is already awake.And btw a huge thanks for the great support!
-
@user147320 thanks for that dump! That's an odd one - as you say it
looks like the wake sources are set up fine. Maybe you could try
Settings -> Utils -> Rewrite settings just in case there's some issue
with them taking effect?If you're connected with the IDE you could paste setWatch(print, BTN,
{repeat:true}) on the left-hand side which would tell you when the
Bangle thought a button was being pressed, in case that was waking it
up...I wont have time for this today but I will try this soon.
With 2v19.53 it got definitely better. With Recorder running it wakes up about every other minute and with only the Health App I so far did not notice it waking up.
Edit: It does wake up without recorder but rarely.I notice you do have gbridge installed which is something that's not recommended, so you could try disabling that...
I installed it because Gadgetbridge kept asking me to do so (no idea why), but I already unistalled it since.
-
Sure thing, good idea!
> console.log(Bangle.getOptions()) { "hrmPollInterval": 40, "hrmSportMode": -1, "hrmGreenAdjust": true, "hrmWearDetect": true, "hrmPushEnv": false, "seaLevelPressure": 1013.25, "gestureStartThresh": 640000, "gestureEndThresh": 4000000, "gestureInactiveCount": 4, "gestureMinLength": 10, "stepCounterThresholdLow": 536888040, "stepCounterThresholdHigh": 537068368, "twistThreshold": 4096, "twistTimeout": 1000, "twistMaxY": -800, "wakeOnBTN1": true, "wakeOnBTN2": true, "wakeOnBTN3": true, "wakeOnFaceUp": false, "wakeOnTouch": false, "wakeOnTwist": false, "powerSave": true, "lockTimeout": 10000, "lcdPowerTimeout": 0, "backlightTimeout": 10000, "btnLoadTimeout": 1500, "touchX1": 0, "touchY1": 0, "touchX2": 160, "touchY2": 160 } =undefined
How are you trying to update? Phone or computer? Official app loader, development app loader or personal app loader fork?
I used the official App-Loader and Android (Gadgetbridge and Chrome).
Now I tried it with Linux and it worked.With Version 2v19.53 it still wakes up randomly, although I am not sure of the connection with HR-Measurement anymore. I need more time to observe this again after the update to tell.
-
@user147320 but you're sure that Wake on Touch is off in your case? In that LCD menu, literally the only Wake on XXX menu item that is checked is Wake on BTN1?
Unfortunaly yes, only wake on BTN is enabled :(
I will try the cutting edge-build later anyway to see if this changes anything.
Edit: Uploading the cutting Edge-Firmware hangs at about 20-30%, so i don't know if this would help -
You mean the option in the LCD menu next to wake on BTN, right?
No, I do not have wake on touch enabled.
I tried to enable it and disable it again, but it did not help. Also touching the display does not wake it up.I also noticed that it wakes up a few seconds after HR Measurement started.
When it measures for a minute it wakes up 2-3 times during that and than not until the next measurement. -
I setup my Bangle.js 2 to only unlock when the button is pressed (not for turning my arm or touching the display or anything).
Despite that the display keeps turning on (and unlocking) regularly (multiple times a minute to every few minutes).
I suspect that it turns on every time it tries to read my heartrate, since if I ask health to measure every 3 minutes it occurs every 3 minutes and if i use recorder to measure more often it turns on multiple times a minute. But I am not certain, if this is really the reason.
It is pretty annoying.
Is this expected behaviour? Did I mess up some setting (I looked everywhere but could not find anything related)? Any ideas would be appreciated. I love the locked, unlit display and would like to use it more often.Firmware: 2v19
Apps installed:
openstmap (0.25), widid (0.03), antonclk (0.11), wid_a_battery_widget (0.04), bthrm (0.17), widlock (0.08), agpsdata (0.06), widmessages (0.05), messageicons (0.05), widbt (0.09), lightswitch (0.09), android (0.32), iconlaunch (0.19), messagegui (0.74), notify (0.13), messages (0.62), boot (0.59), antonclkplus (0.10), locale (0.17), gbridge (0.27), hrm (0.11), health (0.27), recorder (0.32), setting (0.65) -
-
Does this happen all the time, or is it just occasional calls that give you bad readings?
When it happened every reading before a reboot returned the last valid values, every reading after a reboot returned a 0 for temperature and pressure. Every single reading until the battery was flat.
What firmware version do you have? I did make some improvements to setBarometerPower in a recent build, so if you try one of the 2v14.xxx cutting edge builds this may work better for you?
I use 2.14. I was not aware of 2.14.149 and will try it out.
You could try calling Bangle.isBarometerOn() before you run your code, to see if some other app/widget is keeping the barometer on and causing issues?
I know that Recorder accesses the Barometer in the background.
I tried turning the Recorder off and printing the result of Bangle.isBarometerOn() in my App regularly and the result confuses me.
When i call Bangle.getPressure and get a result that is not "undefined" the sensor shuts down after performing the handler.
If however the reading is "undefined" the sensor stays on until i stop the application, regardless of future calls with valid readings.
This holds for 2.14 and 2.14.149.
I do not know if this is correlated to having only readings of 0, but seems wrong either way.However it's extremely rate hardware gets locked up - if something like this happens routinely then it's unlikely to be a 'hardware lockup' that is the issue
I cannot think of another explanaition since rebooting and powering off for a few minutes did not help and Indridi found that a firmware reset did not help either.
Only draining the battery seems to help. -
It happened again and now i am relatively certain it is not only my code, unless i understood something fundamentally wrong.
I changed my handler tofunction handlePressure(p) { if (p===undefined) { return; } [do handling here] }
and it still happened.
My best guess is, that it is a problem that my clock-face and the recorder access the pressure at the same time, but i currently do not know how to verify or circumvent this except never displaying the pressure or temperature while the recorder records it.
Furthermore keeping the clock powered off for a while does not help, is there any other way to reset the sensors except draining the battery (which i am afraid will damage the battery)?
-
Thank you!
I had the exact same problem draining the battery helped!
I did not think of trying the power-off function (i only restarted multiple times to no avail).My cause may be similar, although i did not try power-cycling it myself.
Instead i tried to copy the workaround from the barometer app and apparently failed.
My pressure handler is currentlyfunction handlePressure(p) { if (p===undefined) { setTimeout(() => Bangle.getPressure().then(handlePressure), 500); return; } [do handling here] }
and i call it every minute by
Bangle.getPressure().then(handlePressure);
which seems to confuse the sensor.
Is the Activity calculated from steps?
I some of the reported heavy activities correlate with when my Bangle was in my Backpack and I walked with my Backpack on.
This reports much more intense activity than walking with the watch on my wrist.