Skip to content

A controller for the display and fan of the Raspberry Pi Waveshare PoE HAT written in Rust πŸ¦€

License

Notifications You must be signed in to change notification settings

jackra1n/RustBerry-PoE-Monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

52 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ¦€πŸ‡ RustBerry-PoE-Monitor

Build Rust License: GPL v3 Raspi

RustBerry-PoE-Monitor is a Rust-based monitoring and control tool for the Raspberry Pi, specifically designed for use with the Waveshare PoE HAT (B).

Example image

This tool provides real-time monitoring of your Raspberry Pi's system statistics, including IP address, memory usage, CPU load, and more, displayed on the PoE HAT's OLED display. Additionally, it offers fan control to maintain optimal operating temperatures.

πŸ“– Table of Contents

🌟 Features

  • Minimal resource usage
  • Developed in Rust for memory safety πŸ¦€
  • Display real-time system statistics (IP address, memory, CPU usage, etc.) on the PoE HAT's OLED screen πŸ“Š
  • Automatic fan control based on the CPU temperature 🌑️

πŸ“¦ Installation

Easy Installation

Run the following command to install:

curl -sSL https://rustberry.jackra1n.com/install | sudo bash

And that's it!

Manual Installation

Check out the wiki page to learn how to install manually.

πŸ“ Configuration

To change the fan on/off temperature, you can add temp-on and temp-off arguments to the application. If you installed the application using the install script, you can edit the systemd service file to change the arguments.

sudo nano /etc/systemd/system/rustberry-poe-monitor.service 

Change the ExecStart line to the following:

ExecStart=/usr/local/bin/rustberry-poe-monitor --temp-on 60 --temp-off 50

πŸ› οΈ Building

Prerequisites

For building for Rasberry Pi I'm using cross

Building for Raspberry Pi

 cross build --target=aarch64-unknown-linux-gnu --release

πŸƒβ€β™‚οΈ Running

Just run the binary file

./rustberry-poe-monitor

Links