Try same in a dark room. If I remember right it will not turn off there. So I think its only the brightness that is measured.
That can be beneficial for isWorn, but only in one direction: not worn if bright, but unknown if dark.
And yes, those values are readily available. (eg see https://forum.espruino.com/conversationsĀ/384077/#comment16877590)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Try same in a dark room. If I remember right it will not turn off there. So I think its only the brightness that is measured.
That can be beneficial for isWorn, but only in one direction: not worn if bright, but unknown if dark.
And yes, those values are readily available. (eg see https://forum.espruino.com/conversationsĀ/384077/#comment16877590)