Explore Plans
Mobile menu Close menu
Emfit QSEmfit QS

Device Event

This trigger fires when device generates event (bed exit, fall asleep etc)

Developer info

API endpoint slug
emfit.device_event

Trigger fields

Device Dropdown list

Label
Device
Helper text
User's device which emits an event
Slug
device
Required
true
Can have default value
false

Event type Dropdown list

Label
Event Type
Slug
event_type
Required
true
Can have default value
true

Ingredients

DeviceThe device for which the event is occurred.

Slug
device
Filter code
Emfit.deviceEvent.Device
Type
String
Example
Device Name

Event atDate and time event was occurred.

Slug
event_at
Filter code
Emfit.deviceEvent.EventAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

PeriodThe time of the day

Slug
period
Filter code
Emfit.deviceEvent.Period
Type
String
Example
day|night|morning|evening