Commit Graph
175 Commits
Author SHA1 Message Date
LORDofDOOM 4ce099c5bf Add Network (NIC) support (updated) (#52)
* [Core] Add Network (NIC) support - All credits to XiaofengdiZhu (https://github.com/XiaofengdiZhu/openhardwaremonitor/commits/EditeByXiaofengdizhu)

* [Core] NIC: Rename InternetSpeed to Throughput, drop non physical devices (like loopback), fix alltime stats for adapter
2018-08-26 10:51:09 +02:00
Phyxion 2a4641e933 Pr/40 (#45)
* Added basic Aquastream Hardware Support using HidLibrary from mikeobrien (https://github.com/mikeobrien/HidLibrary)

* * Using hidlibrary from Nuget and fixing ProductName.
* Added missing string Format for Gadget.
* Changed variable names to follow style.
* Added new newlines. Make AquacomputerGroup public accessible.
* Added aquacomputer Icon after they allowed me to use it ;-)

* Corrected spelling
Corrected Variable names

* Removed External/HidLibrary

* Aquastream

- Remove Debug.

* A

- Clean up remains.
2018-06-30 15:03:50 +02:00
Nicholas Seckar c873b66cd9 Update main form to save and restore split distance. (#35)
Restoring split distance also requires restoring the window bounds earlier during initialization.
2018-03-28 09:47:40 +02:00
David Wilhelm 5ded4049c4 Scale OxyPlot elements based on DPI 2018-01-01 14:12:45 -08:00
Phyxion 28e20d2397 Merge pull request #13 from Maddimax/DefaultToWhite
Tray Icons default to white color
2017-09-19 13:41:33 +02:00
Marcus Tillmanns d307027242 Tray Icons default to white 2017-09-18 23:57:59 +02:00
Marcus Tillmanns fc0cd04b53 Adding a REST like web api and introducing Json.NET
Adds the ability to handle simple REST like api calls to the Webserver.

If a POST request is received by the webserver it calls HttpServer::HandlePostRequest

"Get" Action Example:
http://localhost:8085/Sensor?action=Get&id=/ltc/example/0

This will return a JSON response containing either the value of the Sensor
or an error message.

Example response:
If it succeeded:
	{ "result" : "ok", "value" : "42" }
If it failed:
	{ "result" : "fail" , "message" : "Some error message" }

"Set" Action Example:
http://localhost:8085/Sensor?action=Set&id=/ltc/example/0&value=42.0

This will try to set the Control value of the specified Sensor.

Example response:
If it succeeded:
        { "result" : "ok" }
If it failed:
        { "result" : "fail" , "message" : "Some error message" }

The TestScripts folder contains 3 python scripts that demonstrate the
usage of the WebServer and the WMI provider.
2017-09-18 23:49:48 +02:00
Michael Möller ba523c8f92 Updated the year to 2017 and fixed a typo in the about box. 2017-01-18 20:12:53 +01:00
Michael Möller c0d4125deb Merge branch 'Added customizable pen colors' 2016-11-06 15:03:14 +01:00
Michael Möller bb45f65447 Added a menu item to reset the pen color (to use again the plotColorPalette based color). Moved the saving/loading code to the SensorNode class (as with the other properties). 2016-11-06 15:02:12 +01:00
Michael Möller 9be5da3e0b Merge branch 'Nvidia VRAM AddOn' 2016-11-06 12:29:42 +01:00
shrddr 9479c08df9 Added customizable pen colors
New node property, penColor, is null by default; this means that color
will be picked using the existing plotColorPalette method.
New node context menu item, Pen color, lets user choose the color to be
used when plotting this particular node.
This property is also saved/loaded from settings based on sensor
identifier.
2016-07-13 23:09:05 +03:00
Michael Möller d7316f81bb Added Intel CPU models 0x4F and 0x56. 2016-05-26 15:14:29 +02:00
DarthDestroyer 6ea14cb58d Update TypeNode.cs 2016-04-28 19:58:19 +02:00
DarthDestroyer 0469416627 Update SensorNode.cs 2016-04-28 19:57:12 +02:00
Michael Möller 0e5e4afe5e Corrected the source formatting. 2015-12-18 22:49:53 +01:00
ivanatpr 6cbfdce0bc Prevent plot from reusing line colors if possible
CURRENTLY: the code that sets plot line colors loops determines a
default color for the all sensors, such that, AFAIK, a given sensor will
always get the same plot color across different runs of the application
(as long as the list of all detected sensors stays the same). This
consistency is nice, but there's no duplicate handling so if the user is
unlucky they can end up with duplicate colors in their plot even when
the plot only contains 2 sensors.

MY CHANGE: I added a second step that attempts to find a new color for
sensors in the plot whose color is being used by another sensor.
However, I tried to keep as much of the old consistency as I could, so
the default color for each sensor is still calculated in the same way as
before. That way if there aren't any duplicate colors, all sensors will
keep the same color they had before the change, so I'm guessing most
users won't even notice the change.
That said, in certain circumstances this change can cause plot colors to
jump around a bit as sensors get added/removed from the plot. For
Example, if sensors A & B have the same default color and you add both
to the plot, sensor B will get assigned a different color in order to
prevent a duplicate color. However if you then remove sensor A from the
plot, sensor B will suddenly revert to it's default color, which may
seem to the user like mysterious action at a distance. Should be rare
though.
2015-12-16 03:04:39 -05:00
Michael Möller f069e4c6e8 Updated the about box date. 2015-12-08 19:58:54 +01:00
Michael Möller f054320731 Fixed the following issue (present only on 32-bit systems):
Version: 0.7.0.0

System.NullReferenceException: Object reference not set to an instance of an object.
   at OpenHardwareMonitor.GUI.MainForm.timer_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Common Language Runtime: 4.0.30319.18444
Operating System: Microsoft Windows NT 6.1.7601 Service Pack 1
Process Type: 32-Bit
2014-12-30 22:47:39 +00:00
Michael Möller 9eee90c076 Fixed Issue 645. 2014-12-28 22:42:36 +00:00
Michael Möller 9f28081100 Added a configurable logging interval. 2013-08-25 19:13:35 +00:00
Michael Möller 94cbde3e97 Fixed a few stability issues in the logging implementation. Added support for logging sensors once the reappear. 2013-08-18 21:44:08 +00:00
Michael Möller 92d4954da6 Added a first data logging implementation. 2013-08-11 21:26:56 +00:00
Michael Möller 81a926cfc9 Added Fahrenheit support to the plot. 2013-06-09 17:44:05 +00:00
Michael Möller 3ab2982c85 Small correction to the plot with multiple axes. 2013-06-09 16:53:16 +00:00
Michael Möller a9ae1a293f Added an option to disable stacked axes in the plot. 2013-06-09 16:44:19 +00:00
Michael Möller ea68316dc7 Added the new OxyPlot based plot implementation. 2013-06-09 16:08:59 +00:00
Michael Möller 9a1d0d5c08 Fixed Issue 368. Fixed Issue 369. Fixed Issue 370. 2012-10-28 15:19:45 +00:00
Michael Möller 69b0050008 Changed the source formatting of the HttpServer class to match the rest of the project. 2012-10-28 14:06:50 +00:00
Michael Möller c2f1a51725 Fixed Issue 387. The new implementation does not try to start a ring 0 driver that already exists, but could not be opened. It tries to delete the driver and install it new. The driver is now stored temporarily in the application folder. The driver is not correctly removed on system shutdown. 2012-09-23 18:37:43 +00:00
Michael Möller e32ce0060d Changed a few context menu items to display a radio option style. Added additional information from the SMBIOS to the report. 2012-08-11 21:32:59 +00:00
Michael Möller a3f3febfb3 Added a new icon for RAM hardware. 2012-07-25 15:33:16 +00:00
Michael Möller 5d04d3f2f4 Added a wrapper for the NotifyIconAdv to use the normal NotifyIcon class on Linux systems and the (fixed) custom implementation on Windows systems. 2012-07-24 16:04:30 +00:00
Michael Möller 4bebb21f12 Added a RAM hardware and sensor, fixed Issue 115. 2012-07-23 21:54:35 +00:00
Michael Möller b9d30a4602 Changed the system tray icon font scaling to adapt to the size of the tray icon in pixels, because on Windows 7 the tray icon scales with the system font size, while on Windows XP the tray icons are always 16 pixels large. 2012-07-18 19:45:59 +00:00
Michael Möller 0d43433aa4 Fixed Issue 269. 2012-07-14 19:24:04 +00:00
Michael Möller fc026664d3 Fixed Issue 86. 2012-07-12 10:17:18 +00:00
Michael Möller 028248273b Added the option to enable/disable all hardware groups. 2012-07-11 17:35:30 +00:00
Michael Möller d6262767bb Added support for SSDs with a controller from Micron. 2012-07-08 15:24:44 +00:00
Michael Möller 465f8b82d4 Added a missing menu label. 2012-05-27 20:22:06 +00:00
Michael Möller 52c47c76e2 Added the remote web enhancement developed by Prince Samuel. 2012-05-27 20:15:32 +00:00
Michael Möller 2e3489e1f7 Changed the license to the Mozilla Public License 2.0 and update the licensing information. 2012-05-27 14:23:31 +00:00
Michael Möller 71f477d9e6 Added a simple way to customize the sensor gadget background. If any of the files gadget_background.png, gadget_image.png, gadget_foreground.png, gadget_bar_background.png or gadget_bar_foreground.png is present in the working directory then these files are used instead of the built in files. 2012-02-22 23:32:06 +00:00
Michael Möller f8867d671a Added a new sensor type "Factor" for dimensionless values (and similar) that are not to be shown as percent ("Level" type). Changed the write amplification sensor to use the new "Factor" sensor type. Added the temperature SMART attribute for Sandforce SSDs as hidden sensor (as it may show fake results on some hardware). 2012-02-14 23:07:55 +00:00
Michael Möller 5546398713 Fixed Issue 313. 2012-01-15 22:06:59 +00:00
Michael Möller ca50bf01b4 Updated year to 2012 in properties and about box. 2012-01-08 18:47:56 +00:00
Michael Möller 7b66e3f1b5 Added code to save and restore the plot sensor selection. 2012-01-01 17:12:34 +00:00
Michael Möller 0b184bb65e Added a context menu to the plot which allows the user to configure the time window for plotting. 2012-01-01 15:46:42 +00:00
Michael Möller de089a3d28 Modified and extended version of the patch v4 by Roland Reinl (see Issue 256). Main differences to the original patch: DeviceIoControl refactorings removed, SmartAttribute is now descriptive only and does not hold any state, report is written as one 80 columns table, sensors are created only for meaningful values and without duplicates (remaining life, temperatures, host writes and reads). Also the current implementation should really preserve all the functionality of the old system. Additionally there is now a simple SMART devices emulation class (DebugSmart) that can be used in place of WindowsSmart for testing with reported data. 2011-12-31 17:31:04 +00:00
Michael Möller d7eebcf1ad Fixed the power sensor display in the desktop gadget. 2011-07-28 21:51:02 +00:00