Monitor arbitrary MQTT topics via KDE's ksysguard system monitor.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

1 ano atrás
12345678910111213141516171819202122232425
  1. # MQTT bridge for the KDE System Monitor (ksysguard)
  2. A short Python script for monitoring arbitrary MQTT topics via [ksysguard](https://userbase.kde.org/KSysGuard).
  3. # Install
  4. Save the script somewhere sensible in your computer and give it executable permissions. Root is not required.
  5. # Configure
  6. Take a look the [example configuration file](./example-config.yaml) and use it as the basis for your own configuration.
  7. # Use
  8. Open ksysguard and go to `File` → `Monitor 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:
  9. ```
  10. /home/navlost/bin/ksysguard-sensor-mqtt.py -c /home/navlost/.config/ksysguard-sensor-mqtt.yaml
  11. ```
  12. ![](./doc/connect-host.png)
  13. 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.
  14. ![](./doc/ksysguard-window.png)