Skip to content

Self-improving AI Employees for everyone

1.7 KB
Raw Blame

Environmental Sensors (environmentalSensors)

Field Value
Category android / sensors
Backend handler plugin server/nodes/android/environmental_sensors/__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/environmental-skill/SKILL.md
Direct agent tool connectable to any agent's input-tools

Purpose

Ambient environment readings: temperature, humidity, atmospheric pressure, light level.

Backend service mapping

Field Value
SERVICE_ID_MAP[environmentalSensors] environmental_sensors
Default action ambient_conditions

Parameters

Shared parameter set only.

Logic Flow (node-specific slice)

flowchart TD
  A[Dispatch] --> B[service_id = 'environmental_sensors']
  B --> C[POST /api/environmental_sensors]
  C --> D[Flatten data: temperature, humidity,<br/>pressure, light]

Edge cases & known limits

  • Many devices ship only a subset of environmental sensors; missing sensors are reported as null or omitted by the device service.
  • Shared edge cases only otherwise.

Related