motan: Don't default to subscribing to all sensors in data_logger

Subscribing to all sensors can cause a burden on the MCU communication
channels.  Add a new '-s' command line option to data_logger.py that
allows a user to request the subscriptions that they wish to capture.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2026-02-23 14:59:21 -05:00
parent 60b6271c98
commit 43b2d55d9b
2 changed files with 83 additions and 29 deletions

View file

@ -90,7 +90,7 @@ later analyzed. To use this feature, Klipper must be started with the
Data logging is enabled with the `data_logger.py` tool. For example:
```
~/klipper/scripts/motan/data_logger.py /tmp/klippy_uds mylog
~/klipper/scripts/motan/data_logger.py /tmp/klippy_uds mylog -s '*'
```
This command will connect to the Klipper API Server, subscribe to