This trigger fires once your last sleep data is ready for exportation.
- API endpoint slug
- WithingsSleep.nightactivityavailable
Trigger fields
- Label
- Which sensor do you want to use?
- Helper text
- If you have more than one sensor linked to your Withings Health Mate account, you can select which one you want to use.
- Slug
- device
- Required
- true
- Can have default value
- false
Ingredients
- Slug
- sleep_duration
- Filter code
- WithingsSleep.nightactivityavailable.SleepDuration
- Type
- String
- Example
- 26500
- Slug
- device_user
- Filter code
- WithingsSleep.nightactivityavailable.DeviceUser
- Type
- String
- Example
- Tom
- Slug
- bed_in
- Filter code
- WithingsSleep.nightactivityavailable.InBedDateandTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- device_mac
- Filter code
- WithingsSleep.nightactivityavailable.DeviceMac
- Type
- String
- Example
- 00:E4:XX:XX:XX:XX
- Slug
- bed_out
- Filter code
- WithingsSleep.nightactivityavailable.OutofBedDateandTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- light_sleep_duration
- Filter code
- WithingsSleep.nightactivityavailable.LightSleepDuration
- Type
- String
- Example
- 16000
- Slug
- deep_sleep_duration
- Filter code
- WithingsSleep.nightactivityavailable.DeepSleepDuration
- Type
- String
- Example
- 5000
- Slug
- rem_sleep_duration
- Filter code
- WithingsSleep.nightactivityavailable.RemSleepDuration
- Type
- String
- Example
- 5500
- Slug
- sleep_score
- Filter code
- WithingsSleep.nightactivityavailable.SleepScore
- Type
- String
- Example
- 100
- Slug
- snoring_duration
- Filter code
- WithingsSleep.nightactivityavailable.SnoringDuration
- Type
- String
- Example
- 1800
- Slug
- snoring_count
- Filter code
- WithingsSleep.nightactivityavailable.SnoringEpisodesCount
- Type
- String
- Example
- 8
- Slug
- hr_average
- Filter code
- WithingsSleep.nightactivityavailable.HeartRateAverage
- Type
- String
- Example
- 54
- Slug
- wakeup_duration
- Filter code
- WithingsSleep.nightactivityavailable.AwakeDuration
- Type
- String
- Example
- 1200
- Slug
- status_sleep_score
- Filter code
- WithingsSleep.nightactivityavailable.StatusSleepScore
- Type
- String
- Example
- Restful night
- Slug
- status_regularity
- Filter code
- WithingsSleep.nightactivityavailable.StatusRegularity
- Type
- String
- Example
- Average
- Slug
- status_recovery
- Filter code
- WithingsSleep.nightactivityavailable.StatusRecovery
- Type
- String
- Example
- Average
- Slug
- wakeup_count
- Filter code
- WithingsSleep.nightactivityavailable.NbInterruptions
- Type
- String
- Example
- 4
- Slug
- duration_to_sleep
- Filter code
- WithingsSleep.nightactivityavailable.TimeToSleep
- Type
- String
- Example
- 720
- Slug
- duration_to_wakeup
- Filter code
- WithingsSleep.nightactivityavailable.TimeToGetUp
- Type
- String
- Example
- 720