Custom activity streams from fit file messages

Following the advice in another thread I have fixed using:

{
     for (let m of icu.fit) {
          if(m.event?.valueName === "LENGTH") {
               data.setAt(m.timestamp.value, m.total_strokes?.value)
          }
     }
}
1 Like