New services
Explore Plans
Mobile menu Close menu
MisfitMisfit

Sleep duration below

This Trigger fires every time your Misfit Shine logs sleep with a duration below the target hours you specify.

About this trigger

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This Trigger fires every time your Misfit Shine logs sleep with a duration below the target hours you specify.
API endpoint slug
misfit.sleep_duration_below

Trigger fields

Target hours Dropdown list

Label
Target hours
Helper text
The target hours you set in IFTTT
Slug
target_hours
Required
true
Can have default value
true

Ingredients

Sleep startThe time you fall sleep.

Slug
start_time
Filter code
Misfit.sleepDurationBelow.SleepStart
Type
String
Example
2014-08-22 23:37

Target hoursThe target hours you set in IFTTT.

Slug
target_hours
Filter code
Misfit.sleepDurationBelow.TargetHours
Type
String
Example
7.5

Total time slept in secondsThe total time you slept in seconds.

Slug
sleep_time
Filter code
Misfit.sleepDurationBelow.TotalTimeSleptInSeconds
Type
String
Example
27388

Total time sleptThe total time you slept.

Slug
sleep_time_readable
Filter code
Misfit.sleepDurationBelow.TotalTimeSlept
Type
String
Example
7 hours 23 mins

Total time of restfully sleptThe total time you slept restfully.

Slug
restful_sleep_duration_readable
Filter code
Misfit.sleepDurationBelow.TotalTimeOfRestfullySlept
Type
String
Example
3 hours 32 mins

Total time of restfully slept in secondsThe total time you slept restfully in seconds.

Slug
restful_sleep_duration
Filter code
Misfit.sleepDurationBelow.TotalTimeOfRestfullySleptInSeconds
Type
String
Example
14030

Time awokenTime when you awoke.

Slug
wake_up_at
Filter code
Misfit.sleepDurationBelow.TimeAwoken
Type
String
Example
2014-08-28 06:35