Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is there a simple way to detect/ listen to a wrist turn event?

Hello guys,

 

I would like to see if there is any direct API available for listening to the wrist turn event (i.e. the action to wake the clockface.), although I have had already searched for a while...

 

The reason I would like to listen to this event is that I'm trying to implement the "always-on" feature to my clockface. It's brightness will be 0.0 when idle, and once the wrist turns (like it wakes the clockface), the brightness will resume to system default (i.e. undefined the brightnessoverride).

 

Is there any quick way for this or I really need to dig into the sensor API playing with those sensors? Accelerometer, Gyroscope, OrientationSensor...etc.

If so, I really need a 101 for this topic Smiley LOL since I have not even figure out their differences...><

 

Thank you very much!

Best Answer
0 Votes
3 REPLIES 3

Are you currently disabling the autoOff feature in the Display API?

 

You'll probably need to use the Orientation API or Gyroscope API, but you'll need to work out the value ranges which suit your use case 

 

https://dev.fitbit.com/build/guides/sensors/orientation/

https://dev.fitbit.com/build/guides/sensors/gyroscope/

 

 

Best Answer
0 Votes

Thanks for your tips, Jon!

 

Yes, I have set the .autooff to false and the .on to true.

(Learnt from your tips on the other threads about autooff and brightnessoverride)

 

Curently, the testing version is able to keep the face on with brightness 0.0 and to resume system default by taping the screen, go dim again when timeout.

 

I will try looking into the orientation API to see if I can overcome this.😄

 

 

Meanwhile, could you please also advise on these questions:

1) I noticed the brightness differences between 0.0 and 0.1 are rapidly from visible to barely visible, while it is change slightly between the range 0.1-1.0. Is it normal?

In my evaluation these days, it consumes, in avg, 5% battery per hour under 0.0 in daily use while ~8% with 0.1. 

 

2) Even I set autooff to false. The face will turn off when the Fitbit surface is being covered, can I avoid this?

 

Thank you very much!

Best Answer
0 Votes

Hi @Don_KAMON  - did you discover how to stop screen blanking when covering the face?

 

Also did you find a trigger for wrist raise to wake, even if the display was on?

 

Do you know how to stop swipe right from doing an immediate close of an app?

Author | ch, passion for improvement.

Best Answer
0 Votes