Monitor arbitrary MQTT topics via KDE's ksysguard system monitor.
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
Navlost 316bfba3ff Add LICENCE hace 1 año
doc Initial commit hace 1 año
LICENCE Add LICENCE hace 1 año
README.md Initial commit hace 1 año
example-config.yaml Initial commit hace 1 año
ksysguard-sensor-mqtt.py Initial commit hace 1 año

README.md

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.