The logging functionality can be used if one wants to gather sensor data without having a Homeassistant install. Currently logging is done via USB-C, but BLE is in the works.
Logging is also used to calibrate the soil probe, as it is the only way to receive RAW probe measurement values.
To start a logging session, simply connect Sensus via USB-C and run:
sensus log --port /dev/ttyUSB0 --every 1s --output-file out.csv
|--port ||True||The port where Sensus is connected|
|--every ||False||How often to retrieve data from Sensus. Not specifying means data is retrieved only once|
|--output-file ||False||CSV file where to store the measurements. Optionally, one can use STDOUT redirection instead of this option ( > outfile.csv )|
For more information you can consult the help page of the logging functionality:
sensus log --help