You are reading a single comment by @splch and its replies. Click here to read the full conversation.
  • In the case when the user mostly keeps the bangle on them, maybe it could be assumed the ambient temperature is a couple degrees lower than the 'wearing temperature'?

    So maybe there would be three temperature measurements:

    • 'Ambient temperature' measured when the bangle is probably not worn and not charging.
    • 'Wearing temperature' measured when the bangle is worn.
    • 'Assumed ambient temperature' which would be a set number of degrees lower than 'wearing temperature'.

    When the last 'ambient temperature' reading became too old then 'assumed ambient temperature' would take it's place.

    But I also suspect that Gordon might be right :p.

  • I just gave it a shot yesterday with the Bangle.getHealthStatus().movement method works great! Temperature adds some inference but I included the data as well.

    Without temperature, the model has a 99.2% accuracy :)

    The decision tree function is:

    function isWorn() {
        if (Bangle.isCharging())
            return false;
        if (Bangle.getHealthStatus().movement > 146)
            return true;
        return false;
    }
    

    2 Attachments

About

Avatar for splch @splch started