Monitor arbitrary MQTT topics via KDE's ksysguard system monitor.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Navlost 2cb7a01988 Initial commit 1 år sedan
doc Initial commit 1 år sedan
README.md Initial commit 1 år sedan
example-config.yaml Initial commit 1 år sedan
ksysguard-sensor-mqtt.py Initial commit 1 år sedan

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.