The sharklocal CLI is invoked as a Python module and provides discovery, testing, monitoring, and direct command capabilities.
python -m sharklocal <IP_ADDRESS> [OPTIONS]Identify which mapping configuration works for your vacuum model. This is the recommended first step for new hardware:
python -m sharklocal <IP_ADDRESS> --probeRun non-destructive tests (Status, Events, Info) to verify support for local REST and MQTT features:
python -m sharklocal <IP_ADDRESS> --testRun all tests, including destructive commands (Start, Stop, Dock), and automatically generate a compatibility matrix for contributing back to the project:
python -m sharklocal <IP_ADDRESS> --test-all --save-reportStream real-time status updates via MQTT. This is the best way to verify that a vacuum is correctly publishing its state:
python -m sharklocal <IP_ADDRESS> --monitorSend a specific command via a chosen transport (defaults to mqtt):
python -m sharklocal <IP_ADDRESS> --cmd dock --transport mqttAvailable commands: start, stop, dock, status, events, info.