Skip to content

Commit

Permalink
Update LibreHardwareMonitor to v0.9
Browse files Browse the repository at this point in the history
Some highlights from [the new commits][0]:

- Add Intel integrated GPU sensors
- Add support for B560M AORUS PRO and B560M AORUS PRO AX
- Better detection of Samsung NVMe drives
- Support Z690 Aorus Pro
- Add EC T_Sensor for ROG Strix Z690-A
- "CPU Core" voltage sensor for intel CPU's
- IT8613E and Biostar B660GTN support
- Add X570 Aorus Ultra
- Add Gigabyte Z690 Gaming X

This commit also moves to the librehardwaremonitor nuget package which
should be updated nightly. So instead of fighting compile errors using a
git submodule, we can just pull the latest nuget package -- at least
that is the thought.

[0]: LibreHardwareMonitor/LibreHardwareMonitor@f0dd72a...v0.9.0
  • Loading branch information
nickbabcock committed May 8, 2022
1 parent ed824e2 commit a0499f9
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "LibreHardwareMonitor"]
path = LibreHardwareMonitor
url = https://github.com/LibreHardwareMonitor/LibreHardwareMonitor
1 change: 0 additions & 1 deletion LibreHardwareMonitor
Submodule LibreHardwareMonitor deleted from f0dd72
2 changes: 0 additions & 2 deletions OhmGraphite.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OhmGraphite", "OhmGraphite\
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OhmGraphite.Test", "OhmGraphite.Test\OhmGraphite.Test.csproj", "{E6C3F138-BED7-4350-B1F0-95AE87640CFB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LibreHardwareMonitorLib", "LibreHardwareMonitor\LibreHardwareMonitorLib\LibreHardwareMonitorLib.csproj", "{EBF013C2-0600-4439-8D16-1925A015D15B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down
5 changes: 1 addition & 4 deletions OhmGraphite/OhmGraphite.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="LibreHardwareMonitorLib" Version="0.9.0" />
<PackageReference Include="InfluxDB.Client" Version="3.3.0" />
<PackageReference Include="Npgsql" Version="6.0.4" />
<PackageReference Include="prometheus-net" Version="6.0.0" />
Expand All @@ -44,10 +45,6 @@
<PackageReference Include="InfluxDB.LineProtocol" Version="1.1.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\LibreHardwareMonitor\LibreHardwareMonitorLib\LibreHardwareMonitorLib.csproj" />
</ItemGroup>

<Target Name="ZipOutputPath" AfterTargets="Publish">
<RemoveDir Directories="$(BaseOutputPath)tmp\" ContinueOnError="true" />
<MakeDir Directories="$(BaseOutputPath)tmp\" />
Expand Down
3 changes: 3 additions & 0 deletions OhmGraphite/Translation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public enum HardwareType
RAM,
GpuNvidia,
GpuAti,
GpuIntel,
Cooler,
HDD,
NIC,
Expand Down Expand Up @@ -107,6 +108,8 @@ public static HardwareType ToOwnHardware(this LibreHardwareMonitor.Hardware.Hard
return HardwareType.GpuNvidia;
case LibreHardwareMonitor.Hardware.HardwareType.GpuAmd:
return HardwareType.GpuAti;
case LibreHardwareMonitor.Hardware.HardwareType.GpuIntel:
return HardwareType.GpuIntel;
case LibreHardwareMonitor.Hardware.HardwareType.Cooler:
return HardwareType.Cooler;
case LibreHardwareMonitor.Hardware.HardwareType.Storage:
Expand Down

0 comments on commit a0499f9

Please sign in to comment.