Generate a Graphite chart (12h default) for a Zigbee device metric and post it to the web timeline.
Generate a 12-hour chart for a Zigbee device and post it to the web UI timeline. The script lives alongside this skill for easy adaptation to other data sources.
bun /workspace/.pi/skills/graphite-power-chart/graphite-power-chart.ts \
--device server_closet_ups_power --ipc
bun /workspace/.pi/skills/graphite-power-chart/graphite-power-chart.ts \
--metric zigbee.server_closet_temperature.temperature \
--label Temperature --unit "°C" \
--ipc
bun /workspace/.pi/skills/graphite-power-chart/graphite-power-chart.ts \
--device server_closet_ups_power --hours 24 --resample 10min --ipc
summarize(..., "avg").--resample raw to disable resampling.--ipc posts the chart to the web timeline as an inline SVG attachment (no push by default).http://192.168.1.250:8086 (override with --base-url or GRAPHITE_BASE_URL).--metric to adapt to other data sources.