Skip to content

Commit

Permalink
README: Add mqtt dependency instructions to README
Browse files Browse the repository at this point in the history
The optional dependencies for the mqtt feature can now be installed by
a standard pip mechanism, so we should document that in the README.

Signed-off-by: Leonard Göhrs <[email protected]>
  • Loading branch information
hnez committed Apr 29, 2024
1 parent 0428f47 commit 3e263af
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,20 @@ MQTT Statistics
---------------

This tool can be configured to send certain statistics to a MQTT broker.
To enable this function create a config file at ``/etc/usbsdmux.config`` or use ``--config`` specify a file location.
To use this feature the `usbsdmux` util has to be installed with some
additional dependencies:

See example config file `usbsdmux.config <contrib/usbsdmux.config>`_.
.. code-block:: bash
$ python3 -m venv venv
$ source venv/bin/activate
$ python3 -m pip install "usbsdmux[mqtt]"
To enable this feature create a config file at ``/etc/usbsdmux.config``
or use ``--config`` to specify a file location.

See the example config file `usbsdmux.config <contrib/usbsdmux.config>`_
for available configuration options.


Troubleshooting
Expand Down

0 comments on commit 3e263af

Please sign in to comment.