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.
- API endpoint slug
- WithingsSleep.history_of_when_i_get_into_bed
- Runtime method
- performQuery("WithingsSleep.history_of_when_i_get_into_bed")
Query fields
- 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
- 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
- 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
- device_mac
- Filter code
- WithingsSleep.historyOfWhenIGetIntoBed.DeviceUser
- Type
- String
- Example
- Bed in has been detected by Tom's Withings Sleep
- Slug
- time
- Filter code
- WithingsSleep.historyOfWhenIGetIntoBed.DateandTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00