kazunoko sync¶
Sync the device RTC (Real-Time Clock) to the current system time.
This ensures that detection event timestamps are accurate.
Previously, RTC synchronization only happened automatically inside kazunoko measure.
sync allows you to do it standalone at any time.
Basic Usage¶
CLI Options¶
| Option | Short | Default | Description |
|---|---|---|---|
--port |
-p |
auto |
Serial port, or auto for auto-detection |
--timeout |
-t |
0.1 |
Serial communication timeout in seconds |
--verbose / --quiet |
-v / -q |
--quiet |
Show or suppress status messages |
--format |
-f |
jsonl |
Output format: jsonl, table, json, csv, ssv, tsv, ltsv |
--use-flat / --use-raw |
--use-flat |
Use flattened or raw field names | |
--mock |
off | Use mock device (no hardware needed) |
Usage Examples¶
Sync RTC to system time¶
With verbose output¶
With specific port¶
Test without hardware¶
Related Commands¶
kazunoko status— display device status including RTC timekazunoko measure— automatically syncs RTC at the start of a measurementkazunoko query— sendSET_RTC_TIMEdirectly