Explore Plans
Mobile menu Close menu
Withings SleepWithings Sleep

History of when I get into bed

This query returns a list of when your Withings Sleep detects that you get into bed, within the start and end time parameters that you specify.

Developer info

API endpoint slug
WithingsSleep.history_of_when_i_get_into_bed
Runtime method
performQuery("WithingsSleep.history_of_when_i_get_into_bed")

Query fields

Start date Dropdown list

Label
Start time
Helper text
Set the start time for when this applet should be activated so, for example, your cat can’t accidentally trigger a response.
Slug
start_date
Required
true
Can have default value
false

End date Dropdown list

Label
End time
Helper text
Set the end time for when this applet should be deactivated.
Slug
end_date
Required
true
Can have default value
false

Device Dropdown list

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

Device userUsername associated to the Withings Sleep

Slug
device_mac
Filter code
WithingsSleep.historyOfWhenIGetIntoBed.DeviceUser
Type
String
Example
Bed in has been detected by Tom's Withings Sleep

Dateand timeDate and time when you got in bed

Slug
time
Filter code
WithingsSleep.historyOfWhenIGetIntoBed.DateandTime
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00