Measure energy over time
measure_energyAccumulate charge and energy from a JS220 device over a given duration and interval. Returns total and per-interval measurements in mAh and mWh.
Instructions
Measure JS220 charge and energy over duration_s using interval_s accumulation. Returns total charge/energy plus one sample per interval, including mAh and mWh.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration_s | Yes | ||
| interval_s | Yes | ||
| device_path | No | ||
| configure_auto_range | No | ||
| compact | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||