Skip to content
Download

Device Orientation

Starts when the device is turned face down or face up, or rotated into portrait or landscape (screen on only).

A trigger in the Sensors & Gestures group. Its type is trigger.device_orientation.

Port Label Flow Type
out out execution out
reading Reading data out Object{event: String, sensor: String, value: Float, detail: String, timestamp: DateTime}
Field Key Default Notes
Orientation orientation ``, FACE_UP, FACE_DOWN, PORTRAIT, PORTRAIT_UPSIDE_DOWN, LANDSCAPE_LEFT, LANDSCAPE_RIGHT
Must hold for (ms) dwellMs 700
While the screen is off screenOff NEVER NEVER, ALWAYS