Graphite power chart

From rcarmo/piclaw · View interactive version

Graphite power chart is an AI agent skill from the GitHub repository rcarmo/piclaw. Generate a Graphite chart (12h default) for a Zigbee device metric and post it to the web timeline.

How to use this skill

Skill file

Graphite power chart

Use this skill to generate a 12-hour chart for a Zigbee device and post it to the web UI timeline.

The script lives alongside this skill so it can be adapted to other data sources.

Usage

Power chart for the server closet UPS (default 12h)

bun /workspace/.pi/skills/graphite-power-chart/graphite-power-chart.ts \
  --device server_closet_ups_power --ipc

Temperature chart (explicit metric + unit)

bun /workspace/.pi/skills/graphite-power-chart/graphite-power-chart.ts \
  --metric zigbee.server_closet_temperature.temperature \
  --label Temperature --unit "°C" \
  --ipc

Override the window and resampling

bun /workspace/.pi/skills/graphite-power-chart/graphite-power-chart.ts \
  --device server_closet_ups_power --hours 24 --resample 10min --ipc

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.