Sample the output
watchPolls the power supply at set intervals for a duration or sample count, returning min/max/mean voltage, current, power, temperature, Ah/Wh totals, observed modes, and the last reading.
Instructions
Query the status every every s for seconds (or count samples) and return statistics (min/max/mean of vout/iout/pout/vin/temp, modes seen, Ah/Wh) and the last sample. For longer runs or a file use log_start.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| every | No | interval s (default 1) | |
| seconds | No | duration in s (default 5) | |
| max_wall | No | time limit for the call in s (default 660) |