Skip to content

1.2.0

Latest
Compare
Choose a tag to compare
@jackra1n jackra1n released this 08 Apr 23:00
· 1 commit to main since this release

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.

⚠️ Breaking Changes:

  • Configuration Method: Command-line arguments (--temp-on, --temp-off) for setting fan temperature thresholds have been removed.
  • The temp_on and temp_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.
  • 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).

Noteworthy:

  • Reduced Binary Size: Optimized release binary size is now approximately ~2.7MB.