Release 3.4.0 - Line graphs & bugfix
New feature: line graphs!
Thanks to @hicwic's PR #371 the System Monitor program now supports line graphs!
The line graph feature has been added to many metrics like: CPU/GPU/Disk/Memory usage, temperature, CPU Fan speed, FPS...
Check https://github.com/mathoudebine/turing-smart-screen-python/blob/main/res/themes/theme_example.yaml and look for LINE_GRAPH
key:
LINE_GRAPH:
SHOW: False
X: 300
Y: 220
WIDTH: 133
HEIGHT: 70
MIN_VALUE: 0
MAX_VALUE: 100
HISTORY_SIZE: 10
AUTOSCALE: False
LINE_COLOR: 61, 184, 225
AXIS: True
AXIS_COLOR: 255, 135, 0
# BACKGROUND_COLOR: 0, 0, 0
BACKGROUND_IMAGE: background.png
The history size (number of previous values displayed on the graph) can be adjusted for its data.
With AUTOSCALE: True
the line graph Y axis will constantly adjust to the min/max displayed values, otherwise set MIN_VALUE
/ MAX_VALUE
for a static Y axis
Graph axis can be show or hidden with AXIS: True
/ False
and set to a specific color with AXIS_COLOR
(default to the LINE_COLOR
if not set)
New themes:
This release comes with 2 new themes that use the line graph functionality:
Cyberdeck theme (3.5 inch)
@hicwic released the theme he made for his Cyberdeck project
Check this discussion #374 for more details and final prototype!
Task Manager theme (5 inch)
This theme takes full advantage of the line graph feature, and is inspired by the (in)famous Windows Task Manager
Other fixes
This release also contain the following fixes:
- System Monitor: Workaround for models failing to display their previous content after being turned off/on #427 (fixes #419)
- Theme Editor: only refresh theme if theme file still exists (fix for vim text editor) #428 (fixes #401)
- System Monitor: Custom stats not displayed if numeric value is zero #444 (fixes #442)
- System Monitor: Better error message when missing ImageTk dependency #443
- System Monitor: Do not use psutil virtual_memory used/free: not reliable. Use total/available instead #462 (fixes #450)
- System Monitor: User proper conversion for Memory values (power of 1024 instead of power of 1000) #463 (fixes #449 partially)
- System Monitor: Fix LibreHardwareMonitor computation for swap/pagefile usage in case no swap/pagefile defined #391 (fixes #390)
What's Changed
- Fix LibreHardwareMonitor computation for swap/pagefile usage in case no swap/pagefile defined by @mathoudebine in #391
- Add listing of SubHardware from LibreHardwareMonitor by @mathoudebine in #395
- ⬆️ Update psutil requirement from ~=5.9.6 to ~=5.9.7 by @dependabot in #422
- ⬆️ Bump actions/setup-python from 4 to 5 by @dependabot in #407
- ⬆️ Bump actions/upload-artifact from 3 to 4 by @dependabot in #414
- ⬆️ Bump github/codeql-action from 2 to 3 by @dependabot in #412
- ⬆️ Update babel requirement from ~=2.13.1 to ~=2.14.0 by @dependabot in #411
- Workaround for models failing to display their previous content after being turned off/on by @mathoudebine in #427
- Theme Editor: only refresh theme if theme file still exists (fix for vim text editor) by @mathoudebine in #428
- Fix: Custom stats not displayed if numeric value is zero by @mathoudebine in #444
- Update error message when missing ImageTk dependency by @mathoudebine in #443
- ⬆️ Update pillow requirement from ~=10.1.0 to ~=10.2.0 by @dependabot in #434
- ⬆️ Update psutil requirement from ~=5.9.7 to ~=5.9.8 by @dependabot in #457
- ⬆️ Bump actions/dependency-review-action from 3 to 4 by @dependabot in #454
- Feature - plot graph by @hicwic in #371
- Do not use psutil virtual_memory used/free: not reliable. Use total/available instead by @mathoudebine in #462
- User proper conversion for Memory values (power of 1024 instead of power of 1000) by @mathoudebine in #463
- ⬆️ Update sv-ttk requirement from ~=2.5.5 to ~=2.6.0 by @dependabot in #464
- ⬆️ Update ruamel-yaml requirement from ~=0.18.5 to ~=0.18.6 by @dependabot in #466
- @hicwic PR #371 by @mathoudebine in #461
New Contributors
Full Changelog: 3.3.4...3.4.0