UNIHIKER Expansion Battery
SkillDev toolsUse this skill when the user asks to read battery percentage from a DFRobot UNIHIKER Expansion board (SKU: DFR1216). Chinese name is 行空板扩展板.
Use UNIHIKER Expansion Battery in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add UNIHIKER Expansion Battery and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the UNIHIKER Expansion Battery skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
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/unihiker_expansion_battery/SKILL.md and read by Ahel’s review.
Use this skill when the user asks to read battery percentage from a DFRobot UNIHIKER Expansion board (SKU: DFR1216). Chinese name is 行空板扩展板.
Run exactly one bundled Lua script with lua_run_script.
If script execution returns an error, report that error directly to the user. Do not retry with changed arguments in the same turn unless the user explicitly asks.
Script Args Schema
{
"type": "object",
"properties": {
"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
},
"retry_count": {
"type": "integer",
"minimum": 1,
"maximum": 20
},
"retry_delay_ms": {
"type": "integer",
"minimum": 0,
"maximum": 1000
}
}
}
Tool Call Inputs
Read battery with default wiring:
{"path":"{CUR_SKILL_DIR}/scripts/get_battery.lua","args":{}}
Read battery with custom I2C pins:
{"path":"{CUR_SKILL_DIR}/scripts/get_battery.lua","args":{"i2c_port":0,"sda":47,"scl":48,"i2c_freq_hz":400000,"addr":51}}
Recommended Flow
- Confirm the expansion board is connected to the expected I2C bus.
- Use default I2C settings unless the user explicitly provides custom wiring.
- Run
{CUR_SKILL_DIR}/scripts/get_battery.lua. - Report the script output directly to the user, including any error.
Signals
- GitHub stars
- 34
- Forks
- 17
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
unihiker-expansion-battery- Source
- github.com/espressif/esp-claw-skills-lab
github.com/espressif/esp-claw-skills-lab