v1.2.0 - Configuration Overhaul & Display Control
This release introduces a major shift to file-based configuration, adds new display control features primarily aimed at trying to prevent OLED burn-in, and includes significant code cleanup and optimizations.
- Configuration Method: Command-line arguments (
--temp-on
,--temp-off
) for setting fan temperature thresholds have been removed. - The
temp_on
andtemp_off
parameters must now be done via the configuration file located at$HOME/.config/rustberry-poe-monitor/config.toml
. The application will create this file with defaults on first run if it doesn't exist.
Key Changes:
- Revamped Configuration System:
- Central configuration file (
config.toml
) replaces command-line arguments. - Automatic default config file creation on first run if missing.
- New Configurable Options:
display.brightness
: Set OLED brightness level (0=dimmest to 4=brightest).display.screen_timeout
: Dims display to lowest brightness after specified seconds of inactivity (0 disables).display.enable_periodic_off
: Enables a cycle where the display turns completely off and back on.display.periodic_on_duration
: Seconds the display stays ON during the periodic cycle.display.periodic_off_duration
: Seconds the display stays OFF during the periodic cycle.display.refresh_interval_ms
: Update frequency (in milliseconds) for stats and display refresh.fan.temp_on
/fan.temp_off
: Fan control temperature thresholds (Celsius), now in config.- Please refer to README of the repository to learn more.
- Central configuration file (
- OLED Burn-in Prevention Features:
- Includes screen timeout dimming (
screen_timeout
). - Configurable periodic display on/off cycle (
enable_periodic_off
, durations). - Added horizontal pixel shifting (subtly moves content periodically).
- Includes screen timeout dimming (
Noteworthy:
- Reduced Binary Size: Optimized release binary size is now approximately ~2.7MB.