SelfSync

Nap event message

Nap event messages store the naps detected by the device or entered by the user, with feedback on their timing and duration.

FIT name
nap_event
Global message number
412
JavaScript SDK key
napEventMesgs
Fields
11

Fields

  • Index of the message among the messages of the same kind in the file, starting at 0. Other messages use it to reference this one.

  • timestampDateTime

    Moment the message refers to, in UTC. FIT stores it as seconds since the FIT epoch (December 31, 1989, 00:00:00 UTC); decoders usually expose it as a regular date.

  • startTimeDateTimeseconds

    Moment the nap started.

  • startTimezoneOffsetSint16minutes

    UTC offset of the local time when the nap started.

  • endTimeDateTimeseconds

    Moment the nap ended.

  • endTimezoneOffsetSint16minutes

    UTC offset of the local time when the nap ended.

  • Feedback on the nap: ideal timing, too long, too late, jet lag adjustments…

    18 possible values
    • none
    • multipleNapsDuringDay
    • jetlagIdealTimingIdealDuration
    • jetlagIdealTimingLongDuration
    • jetlagLateTimingIdealDuration
    • jetlagLateTimingLongDuration
    • idealTimingIdealDurationLowNeed
    • idealTimingIdealDurationHighNeed
    • idealTimingLongDurationLowNeed
    • idealTimingLongDurationHighNeed
    • lateTimingIdealDurationLowNeed
    • lateTimingIdealDurationHighNeed
    • lateTimingLongDurationLowNeed
    • lateTimingLongDurationHighNeed
    • idealDurationLowNeed
    • idealDurationHighNeed
    • longDurationLowNeed
    • longDurationHighNeed
  • Whether the nap was deleted by the user.

  • sourceEnum

    How the nap was recorded: detected automatically, or entered manually on the device or in the companion app.

    3 possible values
    • automatic
    • manualDevice
    • manualGc
  • Moment the nap was last updated.

  • mesgNumString

    Global message number identifying the kind of message. Decoders use it to know which profile to apply to the data.

Other health and monitoring messages

See all the FIT messages