Commit Graph
67 Commits
Author SHA1 Message Date
Blacktempel 43e728f1de Fix Nodes auto-closing right after expanding via Right key. (#2021)
Fix Nodes not saving Expanded when opening or closing via Left and Right key.
2025-11-09 13:30:30 +01:00
Blacktempel c542e856d4 Replace Storage implementation with CrystalDiskInfo based implementation (#2015)
* Replace Storage implementation with CrystalDiskInfo based implementation.

* Formatting.

* Code review.

* Code review.

* Increase space for attribute name in report.

* Implement dynamic disk handling for usage sensor.

Disable unused warnings.

* Further cleanup in NativeMethods.txt and referenced.
2025-11-08 10:53:43 +01:00
Abel G. Perez 313e076aeb Update SensorGadget.cs (#1788)
-Added Extremely Large font size to SensorGadget
-Added menu item "Hide/Show Main Window" to SensorGadget
2025-10-31 10:38:32 +01:00
Teemu KorhonenandPhyxionNL c56cf3f042 Use PawnIO driver directly in LibreHardwareMonitorLib (#1908)
* Use PawnIO driver directly.

- Implemented PawnIO library in C#
- Builds in AnyCPU, x64 and x86
- Fixes #1895

* Implement review changes for PawnIO.

- Use existing Kernel32.CreateFile import.
- Move new DeviceIOControl to Kernel32.
- Replace Lazy Version loading with static property.
- Remove bin resource cache.
- Add constant for function name length.

* More review changes for PawnIO.

- Replace redundant internal checks with IsLoaded.
- Convert Win32 error code to HRESULT before returning it in
  ExecuteHR()

* Drop KernelDriver

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2025-09-29 16:41:57 +02:00
Sab44andPhyxionNL be647cce78 Provide fixed unit for sensors in data.json (#1876)
* Remove redundant second null check for sensor value

* Add base formatted raw values to data.json for consistent units

* Update HttpServer.cs

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2025-09-23 10:46:06 +02:00
namazsoandPhyxionNL eb5e1a20be Swap WinRing0 to PawnIO (#1857)
* Replace WinRing0 with PawnIO

* Update RAMSPDToolkit

* Add install check + cleanup

* Move folder + formatting

* Add back missing TryLoadDll

* Update PawnIo.cs

* Add third party notices file

* Remove the how to apply section

* Drop silent

* Don't crash if PawnIO isn't installed

* Formatting

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2025-09-16 11:58:31 +02:00
Blacktempel 3f8294898d RAMSPDToolkit Update + timings added (#1835)
* Workaround for page changing on DDR5 systems with SPD Write Protection active has been implemented in new version of RAMSPDToolkit.

Code for LHM has been adjusted accordingly.

Added more sensors (timings).

* Move abbreviation of timings to start of string.

* Simplify names for timings.

* Update version.

* Remove extra padding.
2025-09-08 13:14:32 +02:00
Tolga YILDIRIMandPhyxionNL cb39938143 Persist “File rotation method” across Windows reboot + SDK9 build fix (#1823)
* Fix .NET SDK 9 resource build errors (System.Resources.Extensions)

* Persist file rotation method across Windows reboot

* Update MainForm.cs

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2025-08-29 10:42:42 +02:00
Abel G. Perez 90f601650d Main form GUI tweaks (#1804)
- Added Expand All Nodes menu
- Added Collapse All Nodes menu
2025-07-28 15:11:12 +02:00
Shinyeong Hyun bdafcd92b8 Implemented storage update interval at the UI side (#1706)
* Minor refactoring for #1699

* Implemented storage update interval for the UI

* Revert "Implemented storage update interval for the UI"

This reverts commit 977ff2f5518d420e35cadad17054f4e69c260df1.

* Revert "Minor refactoring for #1699"

This reverts commit 923f6d6f636a2a10ff44b8c23f84e8985ccbf667.

* Made update interval configurable for storage devices

* Changed label text m to min for consistency

* Revised 8e6c669 as requested

* ATA Update interval defaults to 1s in the UI

* Simplified storage update interval menu
2025-05-02 20:07:43 +02:00
Peter Åslund 0ef7db1193 API endpoints for resetting Min/Max-values (#1658)
* API: Reset Min/Max for individual sensor

* API: Able to reset all Min/Max values
2025-04-22 16:51:24 +02:00
David Klingenberg a86f0e1da1 Add 0.0.0.0 to server IP combo box, allow listening on all IPs (#1612) 2025-04-22 16:46:43 +02:00
techberetandPhyxionNL 41f1ac3a09 Add Selectable Network Interface in Web Server Form (#1511)
* Add Selectable Network Interface in Web Server

Update the Web Server port form to allow for editing the network interface the web server is run on. Added storage of the interface to the settings so it is persisted.

This should resolve issue #1089 .

* Update HttpServer.cs

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2024-11-24 11:12:56 +01:00
akaspeh1andJakub Aqaba Štarman 834bca7c56 Ported SensorNotifyIcon drawing logic of CreateTransparentIcon() from the OpenHwRepository (#1249)
* Ported SensorNotifyIcon drawing logic of CreateTransparentIcon() from the OpenHwRepository

I hate unreadable text in tray icon. Ported the working code from the unmaintained repository for the temperature tray icon to draw the way the original one draws.

* Added back logic to correctly center the icon

---------

Co-authored-by: Jakub Aqaba Štarman <akaspeh1@picusek.eu>
2024-08-26 12:05:24 +02:00
PhyxionNL 4f09a80f78 #1425 2024-08-23 16:15:46 +02:00
Markus ZuckerandPhyxionNL 83af117ea4 Add Aqua Computer high flow NEXT support (#1268)
* Add support for electrical conductivity measurements

* Add Aqua Computer high flow NEXT support

* Expose alarm flags as hidden binary sensors

* Update HighFlowNext.cs

* Update ISensor.cs

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2024-08-23 15:42:11 +02:00
sebastian-devsebastian-dev <sebastian-dev>PhyxionNL
5476ac16c9 Bugfix: ScrollBar Issue (#1428)
* Bugfix: ScrollBar Issue
Scrollbars not working with Mouse Drag
https://github.com/LibreHardwareMonitor/LibreHardwareMonitor/issues/1406

* Format Update
added rule for line endings: lf
windows default is: cr+lf
reformat from crlf to lf

* Update code style

* Update ThemedVScrollIndicator.cs

---------

Co-authored-by: sebastian-dev <sebastian-dev>
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2024-08-16 23:45:19 +02:00
hcabelandPhyxionNL 499ac0e214 #1393 Scale up Sensor column on resize & Log file rotation method (#1397)
* Add CSV file rotation method

Add a new option to choose how the csv file is being rotated.
Before it was everyday, which meant that we had to make sure the csv file was deleted before recording a new session.
Now by default it's set to "Per session" meaning anytime you start a new session it create a new CSV file.
Unless the daily method is used, in this case it will behave like before (1 file per day)

* Scale up the first TreeView column ("Sensor") on resize

The first ("Sensor") column being the most important and most likely the one that need the more space as hardware names can be pretty long.
I've changed so that the first column is the one scaling up when the tree view is being resized (instead of the last one)

* Change treeview column resize behaviour

I've made so that the separator a controlling the size of the column to the left instead of the right.
This make a lot easier to scale up the last column, but worth for the first one.
Thought the previous commit made it so that the first column size is resize by the total with of the tree view.
Sounds weird like that, but feel much more natural than before, and there is no overflow anymore.

* Fix typo in daily file rotation menu item tool tip

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>

* Fix requested changes

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2024-08-06 13:42:58 +02:00
Michael Rogers 2e207a4523 Add theme and plot thickness options (#847)
* Add theme and plot thickness options

* Cleanup

* Fixed themes, and made it so the plot colors are updated when the theme is changed

* I think supporting themes beyond dark, light, and black is unecessary for the time being.

* recall theme from settings before instantiating plot

* Check for null setting

* committing to merge

* Fix

* Cleanup

* Cleanup

* Fix from comments. Thank you kamkie!

* Fixing last UI bugs

* Fix windowed plot not theming on relaunch, change theme, show plot
2024-07-31 16:42:22 +02:00
xmikedanielsxandPhyxionNL 46746e7a86 Prevent Menu From Closing When Turning On or Off Sensors to Display (#1395)
* Prevent Hardware Menu From Closing When Selecting Sensors To Turn Off

* Fix Double Declaration of PSU Menu Item in Designer. Not allowing Designer to Load in VS

* Remove Properties Resource File as it's auto generated.

* Implemented @pedrosimoes79  suggestion. Work and much cleaner. Thank you.

* Update MainForm.cs

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2024-07-31 09:54:10 +02:00
wlkmanist 4fb49c5e80 Add Humidity Sensors support (#1281)
* Add Humidity Sensors support

Signed-off-by: wlkmanist <vlad.king5555@mail.ru>

* Humidity icon

Signed-off-by: wlkmanist <vlad.king5555@mail.ru>

* fix humidity icon

Signed-off-by: wlkmanist <vlad.king5555@mail.ru>

---------

Signed-off-by: wlkmanist <vlad.king5555@mail.ru>
2024-03-25 17:07:22 +01:00
KitVanDeBunt 137e91e0ad Attached plot panel fixed width plot or sensor panel (#1179)
* Plot panel right fixed width when chnaging window width

* Fixed with plot panel or sensor panel as an option

* Fixed capitalisation of menu items.

Edited the names of menu items added for split panel scaling options.

Corrected some variable names to corrospond to menu item name changes.
2023-11-15 19:20:22 +01:00
PhyxionNL 4bab5d55e3 Fixes #1010
[ci skip]
2023-03-15 18:02:10 +01:00
Nathan 038952aa41 Change "Hard Disk Drives" menu option to read "Storage Devices" (#947)
* Change "Hard Disk Drives" to read "Internal Storage Drives"

Change the text of the "File > Hardware > Hard Disk Drives" menu option to read "Internal Storage Drives".
Motivation is that this option affects Solid State Drives in addition to Hard Disk Drives.

* Change to "Storage Drives" as external storage drives are also affected

* Change to "Storage Devices"
2023-01-14 11:02:56 +01:00
ntoff 777b78a741 Add view menu item to clear the plot (#900) 2022-11-21 14:43:11 +01:00
ntoff 47d4ffb94d Add update interval (#882)
* Add update interval

* Set update rate default to 1 second
2022-11-12 16:31:27 +01:00
Nicolas Graziano 4efc652ed5 Do not modify enumerated tree when plot is shown. (#853)
When going to sleep some node are removed on my PC and it crash with
InvalidOperationException because the collection is modified during
enumeration.

 So return a copy of the filtered list instead of yield return.
2022-11-01 09:49:09 +01:00
PhyxionNL 58cef111a1 Use file-scoped namespaces (#842) 2022-10-09 13:22:57 +02:00
Johen8 f3a0b7d91f Cancel Context Menu if was panning (#829) 2022-10-04 13:59:37 +02:00
Sergey Vergun 34c9284da6 Add Noise Sensors support (#814) 2022-09-16 10:29:31 +02:00
PhyxionNL 54a407dc50 Fixes #749 2022-06-27 19:07:18 +02:00
Bjarni Ivarsson 627f0a56ce Add Intel integrated GPU (#671)
Thanks to @bjarniivarsson.
2022-02-26 10:14:09 +01:00
queaderandqueader f0dd72add9 Fix percentage tray icon when using high dpi display (#666)
Co-authored-by: queader <queader@users.noreply.github.com>
2022-02-14 19:57:14 +01:00
PhyxionNL 0cedefd246 Update OxyPlot
Closes #569
Closes #570
2022-02-07 17:50:38 +01:00
EMN-CSharp 5152b435fc Add support for battery monitoring (#612)
Thanks to @EMN-CSharp.
2022-02-07 17:05:36 +01:00
JoeBroesele 448923df1e Fixes OxyPlot exception message shown every few seconds in the plot window. (#638) 2022-01-23 22:44:11 +01:00
Paul fc74039044 Fluid UI by updating sensors in a background thread. (#626)
* On computers with lots of devices/sensors, the timer update routine will cause a performance hit on the main window redraw when moving it around. This commit address the issue by moving the timer routine to a backgroundworker object that does the work in an async manner (thread).

* White spaces.

* White spaces.

* Keep the ui redraw in the main thread to prevent breaking the tray context menu for the instance.
2022-01-22 11:21:33 +01:00
JoeBroesele 88761c0921 Update PlotPanel.cs (#509) 2021-08-08 10:28:07 +02:00
Eugene Shalygin e5a852457f Add support for Corsair PSUs (#458)
Thanks to @zeule
2021-06-22 10:13:54 +02:00
Eugene Shalygin 37e917a4f8 Add sensors for ASUS Crosshair VIII Hero (#453)
Thanks to @zeule!
2021-06-01 11:06:42 +02:00
CzBiX 5a47cda6ed Center align text in tray icon (#435)
* Center align text in tray icon

* Use GetHicon instead of bitmap copy
2021-05-08 11:36:55 +02:00
Campbell 965a4188cf Add Font Color menu to Gadget (#362)
Thanks @qwertydog
2021-01-23 11:55:24 +01:00
CampbellandCampbell Harding-Deason faf484eb4c Convert ContextMenu -> ContextMenuStrip, MenuItem -> ToolStripItem, MainMenu -> MenuStrip. (#317)
Also, add ToolStripRadioButtonMenuItem class

Co-authored-by: Campbell Harding-Deason <campbell@alarmnz.com>
2020-10-20 15:41:31 +02:00
PhyxionNL 8210cc2516 Switch to new csproj format. (#308)
* Switch to new csproj
2020-10-02 15:05:52 +02:00
JoeBroesele ed834c0457 Fixes the settings of the scheduled task, so that LibreHardwareMonitor is not terminated after 3 days. (#298) 2020-09-15 15:23:32 +02:00
Phyxion 5d7f476711 Fixes #266
Groups must be locked during reset, otherwise the collection can be modified while enumerating.
2020-07-17 09:48:35 +02:00
NeoAcheron 1ebc639e74 Added support for NZXT Kraken X3 devices. (#248)
Thanks to @NeoAcheron
2020-06-02 13:14:55 +02:00
Phyxion d9ec250460 Use new Computer.Reset method. 2020-05-25 12:10:35 +02:00
Phyxion 738752b899 Add PowerModeChanged event handler to reset the hardware tree when resuming from sleep
Based on the work of @moellerm
2020-05-25 12:09:05 +02:00
Djordje 6387ebf2c2 Added http login, json data compression, ati.png, favicon, fixed compile error for debug build, port form updated (#256)
Thanks to @DjordjeMandic
2020-05-25 11:20:25 +02:00