night-crawler / led_matrix_monitoring

Renders metrics on Framework 16" LED Matrix via daemon
MIT License
2 stars 0 forks source link
framework-16 framework-laptop led-matrix

led_matrix_monitoring

This service collects metrics and renders them on Framework 16" LED matrix using LED Matrix Daemon. All in all, it just renders a PNG image with the metrics and sends it to the daemon responsible for rendering it on LED matrix.

Features

Metric collectors:

Widgets:

Installation

Arch Linux

yay -S led_matrix_monitoring

Enable daemon with default configuration:

sudo systemctl enable --now led_matrix_monitoring.service

Build

Install Rust:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Check out the repository and build the binary:

git clone https://github.com/night-crawler/led_matrix_monitoring.git
cd led_matrix_monitoring
cargo build --release

Copy the binary to a location in your path:

sudo cp ./target/release/led_matrix_monitoring /usr/local/bin

Configuration

Take a look at example_config.toml.

In the collector section, everything that takes a list of values will produce an average of those values. You might want to change widget position here and there.