Start a background log
log_startStart background logging of live multimeter readings to a CSV or JSONL file and return the job ID and file path for later status checks or stopping.
Instructions
Start logging live readings to a CSV or JSONL file in the background and return the job id and the file. The log ends after duration, at log_stop, or when the Bluetooth link stays lost longer than reconnect_for; it keeps running if this client disconnects. One log at a time, and meanwhile the other meter tools return BUSY. Follow it with log_status, end it with log_stop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | output file (default data/log_<time>.csv in the open289 folder) | |
| every | No | write one reading per interval, e.g. '1s'; '0' = every reading (about 4/s) | 0 |
| format | No | file format (default: from the out extension, else csv) | |
| duration | No | e.g. '30s', '10m', '8h' or 'forever' (no limit: it ends at log_stop); must be longer than 0 | 10m |
| reconnect_for | No | keep retrying this long after the link is lost (default '5m'; '0' = end the log) | |
| snapshot_every | No | also save the full display (modes, MIN/MAX/AVG) at this interval, e.g. '10s' (a CSV log puts them in <file>.display.jsonl); '0' = off | 0 |