Includes binaries from Libre Hardware Monitor https://github.com/LibreHardwareMonitor/LibreHardwareMonitor Libre Hardware Monitor is licenced under MPL 2.0
LCD Smartie has to be run as administrator to use this plugin. DNBridge.dll is required. Copy LHM.dll, LibreHardwareMonitorLib.dll and HidSharp.dll to LCD Smartie plugins dir. On first run it should create a report called LHMreport.txt in the plugins folder. It will have basic variables for accessing each sensor. Delete this file to have it re-created.
- function 1 gets hardware or sensor name
- function 2 gets subhardware name
- function 3 gets sensor value
HardwareIndex
$dll(LHM.dll,1,0,0)
or
HardwareIndex#SensorIndex
$dll(LHM.dll,1,1#0,0)
or
HardwareIndex#SubHardwareIndex#SensorIndex
$dll(LHM.dll,1,0#0#0,0)
second parameter ignored but must be present (,0)
HardwareIndex#SubHardware
$dll(LHM.dll,2,0#0,0)
second parameter ignored but must be present (,0)
Param1: sensor:
HardwareIndex#SensorIndex
$dll(LHM.dll,3,1#0,0)
or
HardwareIndex#SubHardwareIndex#SensorIndex
$dll(LHM.dll,3,0#0#0,0)
param2: maths for value
0 Direct value as is
or
operator#operand
operator: index one of
Index | Operator | effect |
---|---|---|
1 | + | addition |
2 | - | subtraction |
3 | / | division |
4 | * | multiplication |
operand: Value, value to add, subtract, divide or multiply by
or
Operator#Operand#DecimalPlaces
Operator and operand can be zero to just trim the decimal places of a direct number
Examples: get name, hardware index,
$dll(LHM.dll,1,0,0)
get value, hardware index 0# sub hardware 0# sensor 4, multiply# by 6# trim decimal to 2
$dll(LHM.dll,3,0#0#4,4#6#2)