About this action
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 action will turn on motion detection
- API endpoint slug
- Smitch.turn_on_motion_detection
- Filter code method
- Smitch.turnOnMotionDetection.skip(string?: reason)
- Runtime method
- runAction("Smitch.turn_on_motion_detection", {})
Action fields
Camera Dropdown list
- Label
- Camera
- Helper text
- Choose the camera to turn on motion detection
- Slug
- camera
- Required
- true
- Can have default value
- false
Motion detection type Dropdown list
- Label
- Motion Detection Type
- Helper text
- Choose the motion detection type
- Slug
- motion_detection_type
- Required
- true
- Can have default value
- true
- Filter code method
- Smitch.turnOnMotionDetection.setMotionDetectionType(string: motionDetectionType)