Bangle.js2 wakeOnTouch causes backlight to randomly turn on when HRM is reading #6489
Replies: 1 comment
-
Posted at 2023-09-11 by @gfwilliams Ok, that's an odd one. But just to check - is it possible you're moving the Bangle around a lot while that happens? On Bangle.js 2 the touchscreen draws a bunch of power, so in order for us to be able to have a 'Wake on Touch' without flattening the battery in a few days, it actually uses the accelerometer - so it looks at the movement of the Bangle to see if it has been 'tapped'. Could it be that's what you're seeing? That the Bangle wakes up when it's received a small movement? Posted at 2023-09-11 by reyemxela Interesting. So now that I know that it's using the accelerometer, I've gotten some more data. I had noticed some strange stuff when messing with the "tap" event a while back, and I just tested it a little more. Setting HRM: always Then in the console:
It throws events all over, sometimes multiple times per second. The HRM seems to stop if I take the watch off and lay it on my desk, so I have it on my wrist but I'm holding extremely still. As soon as the HRM is off, the onTap seems to work perfectly fine. It registers directions just fine, and only when I tap it deliberately. I loaded up accelgraph while the HRM was off/on, but there didn't seem to be any difference that I could tell. Posted at 2023-09-11 by @gfwilliams Wow, thanks - well that is really strange. I can reproduce it here too. Just with:
It does seems to trigger pretty much only when moving, but for some reason it's far more sensitive than it should be when the HRM is on... It's really weird behaviour! Posted at 2023-09-11 by reyemxela Haha, well I'm just glad it's not something wrong with my watch's hardware. Posted at 2023-09-13 by @gfwilliams I'll try and get this fixed in the next week or so Posted at 2023-09-13 by reyemxela No rush at all, it's not really affecting me all that much. My main reason for bringing it up was more out of curiosity, trying to understand what was happening internally to cause that interaction, and to make sure it wasn't something I was doing wrong/a hardware issue with mine. BTW, love the project so far! It's a little too much fun being able to just pull up a remote console to a WATCH of all things and run arbitrary code on it. Posted at 2023-11-07 by @gfwilliams Just to say, there's a new report at https://forum.espruino.com/conversations/391667 and I've put a change in to fix this Posted at 2023-11-09 by user147320
This is new to me. Is this expected? Posted at 2023-11-10 by @gfwilliams The green flashing should stop after a few seconds of the sensor not being near anything. If it doesn't (and your firmware is up to date) then maybe the sensor is dirty or you didn't remove the protective film from it? Posted at 2023-11-10 by user147320 Ah gotcha. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2023-09-10 by reyemxela
Hey there. Just got my new Bangle.js2 a week or so ago, and I've been having a blast messing with it and tweaking things.
I'm trying to figure out if this is a hardware issue with mine, or maybe a weird software bug. Running latest 2v19.
Easiest way to reproduce:
With those options set, my backlight will randomly turn itself on while the HRM is trying to read.
Took me a little while to figure out what was actually causing the sporadic backlight, because it wasn't happening all the time. Finally noticed it was happening when the heart rate monitor was going.
Beta Was this translation helpful? Give feedback.
All reactions