The temperature one will probably vary a lot with ambient temperature. At least during the hot summer days I needed to have the threshold at ca. 31 degrees.
Edit: Maybe an approximation of ambient temperature could be put in a variable that is updated by a function when the watch is not worn and not charging. This variable could then be used instead of the fixed value 24.625.
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.
The temperature one will probably vary a lot with ambient temperature. At least during the hot summer days I needed to have the threshold at ca. 31 degrees.
Edit: Maybe an approximation of ambient temperature could be put in a variable that is updated by a function when the watch is not worn and not charging. This variable could then be used instead of the fixed value 24.625.