Self-improving AI Employees for everyone
Python ai-agentsai-employeeai-employeesassistantautonomous-agentsco-employeescompanygrok-botinstinctloop-agentsmuseown-your-datapersonalself-hosted
Motion Detection (motionDetection)
| Field | Value |
|---|---|
| Category | android / sensors |
| Backend handler | plugin server/nodes/android/motion_detection/__init__.py; dispatch via BaseNode.execute() -> shared AndroidServiceBase.invoke (@Operation("invoke")) |
| Tests | server/tests/nodes/test_android.py |
| Skill (if any) | server/skills/android_agent/motion-skill/SKILL.md |
| Direct agent tool | connectable to any agent's input-tools |
Purpose
Accelerometer and gyroscope readings; derived signals such as shake gestures and device orientation.
Backend service mapping
| Field | Value |
|---|---|
SERVICE_ID_MAP[motionDetection] |
motion_detection |
| Default action | current_motion |
Parameters
Shared parameter set only.
Logic Flow (node-specific slice)
flowchart TD
A[Dispatch] --> B[service_id = 'motion_detection']
B --> C{action}
C -- current_motion --> D[POST /api/motion_detection]
C -- orientation --> D
C -- shake_detect --> D
D --> E[Flatten data: accelerometer, gyroscope,<br/>orientation, shake]
Edge cases & known limits
- Experimental service - sensor availability varies by device. Missing sensors
return
success=falsewith a device-level error. - Shared edge cases only otherwise.
Related
- Skill:
motion-skill/SKILL.md - Sibling:
environmentalSensors - Shared pattern:
_pattern.md