dfrobotstcc4i2c

SkillDev tools

Use this skill when the user asks to detect or read Sensirion STCC4 CO2 concentration (ppm). This sensor readout also includes temperature and humidity.

Use dfrobotstcc4i2c in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add dfrobotstcc4i2c and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the dfrobotstcc4i2c skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

dfrobotstcc4i2cStart free
About this skill

ESP-Claw Skills Lab

What this skill tells your AI

The instructions your AI receives, as published by espressif/esp-claw-skills-lab in skills/dfrobot_stcc4_i2c/SKILL.md and read by Ahel’s review.

Use this skill when the user asks to detect or read Sensirion STCC4 CO2 concentration (ppm). This sensor readout also includes temperature and humidity.

Typical Chinese requests:

  • 帮我检测一下 STCC4 的 CO2 浓度
  • 读取 STCC4 的二氧化碳浓度
  • 看一下 STCC4 的空气质量
  • 读取 STCC4 的温湿度和 CO2

Typical English requests:

  • Check STCC4 CO2 concentration
  • Read STCC4 CO2 ppm
  • Measure air quality with STCC4
  • Read STCC4 CO2, temperature, and humidity

Run exactly one bundled Lua script with lua_run_script.

Script Args Schema

{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": ["read", "start", "stop"]
    },
    "i2c_port": { "type": "integer", "minimum": 0, "maximum": 1 },
    "sda": { "type": "integer", "minimum": 0, "maximum": 63 },
    "scl": { "type": "integer", "minimum": 0, "maximum": 63 },
    "i2c_freq_hz": { "type": "integer", "minimum": 10000, "maximum": 1000000 },
    "addr": { "type": "integer", "minimum": 8, "maximum": 119 },
    "start_if_needed": { "type": "boolean" },
    "wait_after_start_ms": { "type": "integer", "minimum": 0, "maximum": 5000 },
    "verify_crc": { "type": "boolean" }
  }
}

Tool Call Inputs

{"path":"{CUR_SKILL_DIR}/scripts/read_sensor_data.lua","args":{"action":"read"}}

Use explicit address 0x64 and CRC verification:

{"path":"{CUR_SKILL_DIR}/scripts/read_sensor_data.lua","args":{"action":"read","addr":100,"verify_crc":true}}

Start continuous measurement only:

{"path":"{CUR_SKILL_DIR}/scripts/read_sensor_data.lua","args":{"action":"start"}}

Stop continuous measurement only:

{"path":"{CUR_SKILL_DIR}/scripts/read_sensor_data.lua","args":{"action":"stop"}}

Recommended Flow

  1. Confirm sensor wiring and I2C address.
  2. If user does not provide address, use STCC4 default address 0x64.
  3. Run {CUR_SKILL_DIR}/scripts/read_sensor_data.lua with action = "read" to get one sample.
  4. Use start and stop actions only when user explicitly asks to control measurement state.
  5. Report script output directly.

Signals

GitHub stars
34
Forks
17
Last commit
Sep 2026
Advanced
Item type
skill
Key
dfrobot-stcc4-i2c
Source
github.com/espressif/esp-claw-skills-lab