2019-12-09 22:28:38 +00:00
2019-12-09 23:19:30 +01:00
2019-12-09 23:19:30 +01:00
2019-12-09 23:19:30 +01:00
2019-12-09 22:28:38 +00:00
2019-12-09 23:19:30 +01:00

MQTT bridge for the KDE System Monitor (ksysguard)

A short Python script for monitoring arbitrary MQTT topics via ksysguard.

Install

Save the script somewhere sensible in your computer and give it executable permissions. Root is not required.

Configure

Take a look the example configuration file and use it as the basis for your own configuration.

Use

Open ksysguard and go to FileMonitor Remote Machine…. In the dialog box, enter an arbitrary name under “Host”, select “custom command” and in the command edit box enter the full path to the script in your computer, followed by -c (or --config) and the full path to your configuration file. For instance:

/home/navlost/bin/ksysguard-sensor-mqtt.py -c /home/navlost/.config/ksysguard-sensor-mqtt.yaml

Ensure that the sensor browser on the right-hand side of the ksysguard client is visible, if not, slide it into view by clicking near (but not on) the right-hand edge of the window and dragging left. You should now see your configured sensors and be able to drag them into a tab.

Description
Monitor arbitrary MQTT topics via KDE's ksysguard system monitor.
Readme 180 KiB
Languages
Python 100%