-
Posts
5,318 -
Joined
-
Last visited
-
Days Won
174
argumentum last won the day on November 15
argumentum had the most liked content!
About argumentum

Profile Information
-
Member Title
✨Universalist ✨
-
Location
I'm in your browser now =)
-
WWW
https://www.youtube.com/watch?v=SjwX-zMRxO0&t=5s
-
Interests
Relax
argumentum's Achievements
-
argumentum reacted to a post in a topic:
Can the hidden Autoit window receive "Custom Messages" through GUIRegisterMsg()
-
wolflake reacted to a post in a topic:
Can the hidden Autoit window receive "Custom Messages" through GUIRegisterMsg()
-
Trong reacted to a post in a topic:
Debug-console version of AutoIt3.exe and AutoIt3_x64.exe?
-
Debug-console version of AutoIt3.exe and AutoIt3_x64.exe?
argumentum replied to Trong's topic in AutoIt Technical Discussion
ok, my bad I guess ( because I didn't test with errors as my code is always perfect ) AutoItCui.bat: @Echo OFF :: AutoItCui.bat ; name of the batch file that runs Autoit3cui Autoit3cui /ErrorStdOut /AutoIt3ExecuteScript %* echo rc:%errorlevel% With the above batch file you'd run your script. Say: Opt("SetExitCode",1) Global $a[1] $a[1] = 1 and the output would be: >Autoitcui MyFlaw.au3 "D:\Utilities\AutoIt3\MyFlaw.au3" (3) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: $a[1] = 1 ^ ERROR rc:2147479674 were the 2147479674 errorlevel in hex is 0x7FFFF07A. So the code I posted in the beginning is all that is really needed. -
argumentum reacted to a post in a topic:
Immersive UX (formerly DwmColorBlurMica)
-
Debug-console version of AutoIt3.exe and AutoIt3_x64.exe?
argumentum replied to Trong's topic in AutoIt Technical Discussion
Because you need to "echo %ERRORLEVEL%". That is the "rc:1" on SciTE. -
argumentum reacted to a post in a topic:
Guiscape -- A new GUI builder project!
-
Trong reacted to a post in a topic:
Debug-console version of AutoIt3.exe and AutoIt3_x64.exe?
-
Debug-console version of AutoIt3.exe and AutoIt3_x64.exe?
argumentum replied to Trong's topic in AutoIt Technical Discussion
#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=Icons\au3script_v9.ico #AutoIt3Wrapper_Outfile=Autoit3cui.exe #AutoIt3Wrapper_Outfile_x64=AutoIt3_x64cui.exe #AutoIt3Wrapper_Compile_Both=y #AutoIt3Wrapper_UseX64=y #AutoIt3Wrapper_Change2CUI=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.16.1 Author: myName #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here FileChangeDir(@ScriptDir) ; my AutoIt is installed there Opt("TrayAutoPause", 0) ; Script pauses when click on tray icon = OFF/0 Opt("TrayOnEventMode", 0) ; Enable/disable OnEvent functions notifications for the tray = OFF/0 Opt("GUICloseOnESC", 1) ; When ESC is pressed on a GUI the $GUI_EVENT_CLOSE message is sent = ON/1 #pragma compile(Console, True) #pragma compile(AutoItExecuteAllowed, True) ..also used the above and instead of running a script with AutoIt3.exe, I would run it with Autoit3cui.exe If these cui versions are in the same folder as AutoIt3.exe, all will be running just fine. -
WildByDesign reacted to a post in a topic:
Debug-console version of AutoIt3.exe and AutoIt3_x64.exe?
-
Debug-console version of AutoIt3.exe and AutoIt3_x64.exe?
argumentum replied to Trong's topic in AutoIt Technical Discussion
I wrote an example some time ago too ( https://www.autoitscript.com/forum/topic/209902-optsetexitcode01 ) -
Debug-console version of AutoIt3.exe and AutoIt3_x64.exe?
argumentum replied to Trong's topic in AutoIt Technical Discussion
SciTE don't get those popups. They run with "/ErrorStdOut." Then you also have Opt("SetExitCode",1) 1 = Set @exitCode on Fatal error - see Exitcodes. If that is not enough then, let me know. P.S.: I really like the open source code you're integrating. Like really really like it. Thanks for that 💯 -
Danyfirex reacted to a post in a topic:
WMI on Libre/Open Hardware Monitor
-
WMI on Libre/Open Hardware Monitor
argumentum replied to argumentum's topic in AutoIt Example Scripts
Open Hardware Monitor was abandoned Libre Hardware Monitor is here ; Generated by https://www.autoitscript.com/forum/files/file/338-scriptomatic-warraysupport ; Hardware #include <Array.au3> Opt("MustDeclareVars",1) Opt("TrayIconDebug",1) Opt("TrayAutoPause",0) Global $_nice_COMerrorArray, $_nice_COMerrorObj _nice_COMerrorHandler(1) ; COM error handler. ToolTip("mouse over the trayicon for debug info.", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Hardware",1,4) Local $a = _WMI_Hardware() If @error Then Switch @error Case 1 MsgBox(262144, "WMI ScriptOMatic error", "No WMI Objects Found for class: ""Hardware""" ) Case 2 MsgBox(262144, "WMI ScriptOMatic error", "ObjGet failed") Case 3 MsgBox(262144, "WMI ScriptOMatic error", "ObjCreate failed") Case 4 MsgBox(262144, "WMI ScriptOMatic error", "ConnectServer failed") Case Else MsgBox(262144, "WMI ScriptOMatic error", "unknown error") EndSwitch Else Switch @extended Case 0 ToolTip("Done.", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Hardware",1,4) Case 1 ToolTip("Nothing, you've got nothing."&@CR&@CR&"Adjust the query", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Hardware",2,4) Case 2 ToolTip("More than you can chew."&@CR&@CR&"Adjust the ""$iLimit"" or the query", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Hardware",2,4) EndSwitch If $_nice_COMerrorArray[0][0] Then _nice_COMerrorHandler(2) _Array_Rotate2D( $a ) _ArrayDisplay( $a ,"ScriptOMatic - ""Hardware""") EndIf Func _WMI_Hardware( $iLimit = 1000 , $sComputer = "." , $sUser = "" , $sPassword = "" ) ; Generated by AutoIt ScriptOMatic ; https://www.autoitscript.com/forum/topic/166268-wmi-on-libreopen-hardware-monitor/#findComment-1547553 ; Description: ; Class Methods: ; ; ( this Class did not list methods ) Local $wbemFlagReturnImmediately = 0x10 Local $wbemFlagForwardOnly = 0x20 Local $colItems = "" Local $sReturn="" Local $iExt = 0 If 1 > Int( $iLimit ) Then $iLimit = 1 Local $aReturn[1000][ Int( $iLimit ) + 1] $aReturn[0][0] = 0 $aReturn[0][1] = 0 Local $aErr[1][2] = [[0, 0]] If $sComputer & $sUser & $sPassword = "." Then ToolTip("...ObjGet", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Hardware",1,4) Local $oWMIService = ObjGet("winmgmts:\\" & $sComputer & "\root\LibreHardwareMonitor") If Not IsObj($oWMIService) Then Return SetError(2, 99, $aErr) Else ToolTip("...ObjCreate", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Hardware",1,4) Local $wmiLocator = ObjCreate("WbemScripting.SWbemLocator") If Not IsObj($wmiLocator) Then Return SetError(3, 99, $aErr) ToolTip("...ConnectServer", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Hardware",1,4) Local $oWMIService = $wmiLocator.ConnectServer($sComputer, "\root\LibreHardwareMonitor", $sUser, $sPassword) If Not IsObj($oWMIService) Then Return SetError(4, 99, $aErr) EndIf ToolTip("...ExecQuery", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Hardware",1,4) Local $colItems = $oWMIService.ExecQuery("SELECT * FROM Hardware", _ "WQL", $wbemFlagReturnImmediately + $wbemFlagForwardOnly) ToolTip("...ExecQuery executed."& @CR &"...waiting for data.", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Hardware",1,4) If IsObj($colItems) Then ; Class Properties: Names: ; $aReturn[ 1 ][ 0 ] = "HardwareType" $aReturn[ 2 ][ 0 ] = "Identifier" $aReturn[ 3 ][ 0 ] = "InstanceId" $aReturn[ 4 ][ 0 ] = "Name" $aReturn[ 5 ][ 0 ] = "Parent" $aReturn[ 6 ][ 0 ] = "ProcessId" $aReturn[0][0] = 6 For $objItem In $colItems $aReturn[0][1] = $aReturn[0][1] + 1 If Not Mod( $aReturn[0][1] , 100 ) Then ToolTip("...adding "& $aReturn[0][1] &" of "&$iLimit &" ??", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Hardware",1,4) If $aReturn[0][1] > $iLimit Then $iExt = 2 ExitLoop EndIf ; Class Properties: Values: ; $aReturn[ 1 ][ $aReturn[0][1] ] = $objItem.HardwareType $aReturn[ 2 ][ $aReturn[0][1] ] = $objItem.Identifier $aReturn[ 3 ][ $aReturn[0][1] ] = $objItem.InstanceId $aReturn[ 4 ][ $aReturn[0][1] ] = $objItem.Name $aReturn[ 5 ][ $aReturn[0][1] ] = $objItem.Parent $aReturn[ 6 ][ $aReturn[0][1] ] = $objItem.ProcessId Next If $aReturn[0][1] = 0 Then $iExt = 1 ReDim $aReturn[$aReturn[0][0] + 1][$aReturn[0][1] + 1] Return SetError( 0 , $iExt , $aReturn ) Else Return SetError(1 ,99 ,$aErr) EndIf EndFunc Func _Array_Rotate2D(ByRef $a) Local $u1 = UBound($a, 1) - 1 If @error Then Return SetError(1) Local $u2 = UBound($a, 2) - 1 If @error Then Local $n, $m, $u2 = 1 Local $b[$u2][$u1 + 1] For $n = 0 To $u1 For $m = 0 To 0 $b[$m][$n] = $a[$n] Next Next Else Local $n, $m Local $b[$u2 + 1][$u1 + 1] For $n = 0 To $u1 For $m = 0 To $u2 $b[$m][$n] = $a[$n][$m] Next Next EndIf $a = $b EndFunc ;==>_Array_Rotate2D #Region # ValueToDescription Functions # #EndRegion # ValueToDescription Functions # Func _nice_COMerrorHandler($i = 0) If $i == 1 Then Dim $_nice_COMerrorArray[301][9] $_nice_COMerrorArray[0][0] = 0 $_nice_COMerrorObj = ObjEvent("AutoIt.Error", "_nice_COMerrorHandler") Return EndIf If $i == 2 Then If Not @Compiled Then Local $n = 0, $c = 0, $s = FileRead(@ScriptFullPath) Local $a = StringSplit($s, @CRLF, 1) For $n = 1 To $_nice_COMerrorArray[0][0] If Int($_nice_COMerrorArray[$n][7]) > $a[0] Then ContinueLoop $_nice_COMerrorArray[$n][8] = StringStripWS($a[Int($_nice_COMerrorArray[$n][7])], 3) Next If StringInStr($s, "; only for the ANSI compiled version" & @CRLF) Then For $n = 1 To $a[0] If StringInStr($a[$n], "; only for the ANSI compiled version") Then $c += 1 If $n > 50 Then ExitLoop Next For $n = 1 To $_nice_COMerrorArray[0][0] $_nice_COMerrorArray[$n][7] = $_nice_COMerrorArray[$n][7] - $c Next EndIf EndIf $_nice_COMerrorArray[1][0] = "" ReDim $_nice_COMerrorArray[$_nice_COMerrorArray[0][0] + 1][9] _ArrayDisplay($_nice_COMerrorArray, "ScriptOMatic - COM Errors intercepted ( the script will continue after this screen )") Return EndIf If $_nice_COMerrorArray[0][0] = 300 Then $_nice_COMerrorArray[0][8] = "ScriptLine: only first 300 errors shown !!!" Return EndIf If StringInStr($_nice_COMerrorArray[1][0], "|" & $_nice_COMerrorObj.scriptline & "|") Then Return $i = $_nice_COMerrorArray[0][0] + 1 $_nice_COMerrorArray[0][0] = $i $_nice_COMerrorArray[$i][1] = "0x" & Hex($_nice_COMerrorObj, 8) $_nice_COMerrorArray[$i][2] = $_nice_COMerrorObj.windescription $_nice_COMerrorArray[$i][3] = $_nice_COMerrorObj.source $_nice_COMerrorArray[$i][4] = $_nice_COMerrorObj.helpfile $_nice_COMerrorArray[$i][5] = $_nice_COMerrorObj.helpcontext $_nice_COMerrorArray[$i][6] = $_nice_COMerrorObj.lastdllerror $_nice_COMerrorArray[$i][7] = $_nice_COMerrorObj.scriptline $_nice_COMerrorArray[1][0] = $_nice_COMerrorArray[1][0] & "|" & $_nice_COMerrorObj.scriptline & "|" If $i == 1 Then $_nice_COMerrorArray[0][1] = "ErrorNumber:" $_nice_COMerrorArray[0][2] = "WinDescription:" $_nice_COMerrorArray[0][3] = "Source:" $_nice_COMerrorArray[0][4] = "HelpFile:" $_nice_COMerrorArray[0][5] = "HelpContext:" $_nice_COMerrorArray[0][6] = "LastDLLerror:" $_nice_COMerrorArray[0][7] = "ScriptLineNumber:" $_nice_COMerrorArray[0][8] = "ScriptLine:" EndIf EndFunc ;==>_nice_COMerrorHandler #comments-start List of all the Properties and Methods for \root\LibreHardwareMonitor:Hardware Hardware Class Qualifiers ------------------------- 1. dynamic = True 2. provider = LibreHardwareMonitor_SN__Version_0.9.4.0 Hardware Class Properties and Property Qualifiers ------------------------------------------------- 1. HardwareType 1.1. CIMTYPE = string 2. Identifier 2.1. CIMTYPE = string 3. InstanceId 3.1. CIMTYPE = string 3.2. key = True 4. Name 4.1. CIMTYPE = string 5. Parent 5.1. CIMTYPE = string 6. ProcessId 6.1. CIMTYPE = string 6.2. key = True Hardware Class Methods and Method Qualifiers -------------------------------------------- #comments-end ; Generated by https://www.autoitscript.com/forum/files/file/338-scriptomatic-warraysupport ; Sensor #include <Array.au3> Opt("MustDeclareVars",1) Opt("TrayIconDebug",1) Opt("TrayAutoPause",0) Global $_nice_COMerrorArray, $_nice_COMerrorObj _nice_COMerrorHandler(1) ; COM error handler. ToolTip("mouse over the trayicon for debug info.", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Sensor",1,4) Local $a = _WMI_Sensor() If @error Then Switch @error Case 1 MsgBox(262144, "WMI ScriptOMatic error", "No WMI Objects Found for class: ""Sensor""" ) Case 2 MsgBox(262144, "WMI ScriptOMatic error", "ObjGet failed") Case 3 MsgBox(262144, "WMI ScriptOMatic error", "ObjCreate failed") Case 4 MsgBox(262144, "WMI ScriptOMatic error", "ConnectServer failed") Case Else MsgBox(262144, "WMI ScriptOMatic error", "unknown error") EndSwitch Else Switch @extended Case 0 ToolTip("Done.", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Sensor",1,4) Case 1 ToolTip("Nothing, you've got nothing."&@CR&@CR&"Adjust the query", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Sensor",2,4) Case 2 ToolTip("More than you can chew."&@CR&@CR&"Adjust the ""$iLimit"" or the query", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Sensor",2,4) EndSwitch If $_nice_COMerrorArray[0][0] Then _nice_COMerrorHandler(2) _Array_Rotate2D( $a ) _ArrayDisplay( $a ,"ScriptOMatic - ""Sensor""") EndIf Func _WMI_Sensor( $iLimit = 1000 , $sComputer = "." , $sUser = "" , $sPassword = "" ) ; Generated by AutoIt ScriptOMatic ; https://www.autoitscript.com/forum/topic/166268-wmi-on-libreopen-hardware-monitor/#findComment-1547553 ; Description: ; Class Methods: ; ; ( this Class did not list methods ) Local $wbemFlagReturnImmediately = 0x10 Local $wbemFlagForwardOnly = 0x20 Local $colItems = "" Local $sReturn="" Local $iExt = 0 If 1 > Int( $iLimit ) Then $iLimit = 1 Local $aReturn[1000][ Int( $iLimit ) + 1] $aReturn[0][0] = 0 $aReturn[0][1] = 0 Local $aErr[1][2] = [[0, 0]] If $sComputer & $sUser & $sPassword = "." Then ToolTip("...ObjGet", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Sensor",1,4) Local $oWMIService = ObjGet("winmgmts:\\" & $sComputer & "\root\LibreHardwareMonitor") If Not IsObj($oWMIService) Then Return SetError(2, 99, $aErr) Else ToolTip("...ObjCreate", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Sensor",1,4) Local $wmiLocator = ObjCreate("WbemScripting.SWbemLocator") If Not IsObj($wmiLocator) Then Return SetError(3, 99, $aErr) ToolTip("...ConnectServer", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Sensor",1,4) Local $oWMIService = $wmiLocator.ConnectServer($sComputer, "\root\LibreHardwareMonitor", $sUser, $sPassword) If Not IsObj($oWMIService) Then Return SetError(4, 99, $aErr) EndIf ToolTip("...ExecQuery", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Sensor",1,4) Local $colItems = $oWMIService.ExecQuery("SELECT * FROM Sensor", _ "WQL", $wbemFlagReturnImmediately + $wbemFlagForwardOnly) ToolTip("...ExecQuery executed."& @CR &"...waiting for data.", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Sensor",1,4) If IsObj($colItems) Then ; Class Properties: Names: ; $aReturn[ 1 ][ 0 ] = "Identifier" $aReturn[ 2 ][ 0 ] = "Index" $aReturn[ 3 ][ 0 ] = "InstanceId" $aReturn[ 4 ][ 0 ] = "Max" $aReturn[ 5 ][ 0 ] = "Min" $aReturn[ 6 ][ 0 ] = "Name" $aReturn[ 7 ][ 0 ] = "Parent" $aReturn[ 8 ][ 0 ] = "ProcessId" $aReturn[ 9 ][ 0 ] = "SensorType" $aReturn[ 10 ][ 0 ] = "Value" $aReturn[0][0] = 10 For $objItem In $colItems $aReturn[0][1] = $aReturn[0][1] + 1 If Not Mod( $aReturn[0][1] , 100 ) Then ToolTip("...adding "& $aReturn[0][1] &" of "&$iLimit &" ??", @DesktopWidth - 30,@DesktopHeight - 130, "ScriptOMatic - Sensor",1,4) If $aReturn[0][1] > $iLimit Then $iExt = 2 ExitLoop EndIf ; Class Properties: Values: ; $aReturn[ 1 ][ $aReturn[0][1] ] = $objItem.Identifier $aReturn[ 2 ][ $aReturn[0][1] ] = $objItem.Index $aReturn[ 3 ][ $aReturn[0][1] ] = $objItem.InstanceId $aReturn[ 4 ][ $aReturn[0][1] ] = $objItem.Max $aReturn[ 5 ][ $aReturn[0][1] ] = $objItem.Min $aReturn[ 6 ][ $aReturn[0][1] ] = $objItem.Name $aReturn[ 7 ][ $aReturn[0][1] ] = $objItem.Parent $aReturn[ 8 ][ $aReturn[0][1] ] = $objItem.ProcessId $aReturn[ 9 ][ $aReturn[0][1] ] = $objItem.SensorType $aReturn[ 10 ][ $aReturn[0][1] ] = $objItem.Value Next If $aReturn[0][1] = 0 Then $iExt = 1 ReDim $aReturn[$aReturn[0][0] + 1][$aReturn[0][1] + 1] Return SetError( 0 , $iExt , $aReturn ) Else Return SetError(1 ,99 ,$aErr) EndIf EndFunc Func _Array_Rotate2D(ByRef $a) Local $u1 = UBound($a, 1) - 1 If @error Then Return SetError(1) Local $u2 = UBound($a, 2) - 1 If @error Then Local $n, $m, $u2 = 1 Local $b[$u2][$u1 + 1] For $n = 0 To $u1 For $m = 0 To 0 $b[$m][$n] = $a[$n] Next Next Else Local $n, $m Local $b[$u2 + 1][$u1 + 1] For $n = 0 To $u1 For $m = 0 To $u2 $b[$m][$n] = $a[$n][$m] Next Next EndIf $a = $b EndFunc ;==>_Array_Rotate2D #Region # ValueToDescription Functions # #EndRegion # ValueToDescription Functions # Func _nice_COMerrorHandler($i = 0) If $i == 1 Then Dim $_nice_COMerrorArray[301][9] $_nice_COMerrorArray[0][0] = 0 $_nice_COMerrorObj = ObjEvent("AutoIt.Error", "_nice_COMerrorHandler") Return EndIf If $i == 2 Then If Not @Compiled Then Local $n = 0, $c = 0, $s = FileRead(@ScriptFullPath) Local $a = StringSplit($s, @CRLF, 1) For $n = 1 To $_nice_COMerrorArray[0][0] If Int($_nice_COMerrorArray[$n][7]) > $a[0] Then ContinueLoop $_nice_COMerrorArray[$n][8] = StringStripWS($a[Int($_nice_COMerrorArray[$n][7])], 3) Next If StringInStr($s, "; only for the ANSI compiled version" & @CRLF) Then For $n = 1 To $a[0] If StringInStr($a[$n], "; only for the ANSI compiled version") Then $c += 1 If $n > 50 Then ExitLoop Next For $n = 1 To $_nice_COMerrorArray[0][0] $_nice_COMerrorArray[$n][7] = $_nice_COMerrorArray[$n][7] - $c Next EndIf EndIf $_nice_COMerrorArray[1][0] = "" ReDim $_nice_COMerrorArray[$_nice_COMerrorArray[0][0] + 1][9] _ArrayDisplay($_nice_COMerrorArray, "ScriptOMatic - COM Errors intercepted ( the script will continue after this screen )") Return EndIf If $_nice_COMerrorArray[0][0] = 300 Then $_nice_COMerrorArray[0][8] = "ScriptLine: only first 300 errors shown !!!" Return EndIf If StringInStr($_nice_COMerrorArray[1][0], "|" & $_nice_COMerrorObj.scriptline & "|") Then Return $i = $_nice_COMerrorArray[0][0] + 1 $_nice_COMerrorArray[0][0] = $i $_nice_COMerrorArray[$i][1] = "0x" & Hex($_nice_COMerrorObj, 8) $_nice_COMerrorArray[$i][2] = $_nice_COMerrorObj.windescription $_nice_COMerrorArray[$i][3] = $_nice_COMerrorObj.source $_nice_COMerrorArray[$i][4] = $_nice_COMerrorObj.helpfile $_nice_COMerrorArray[$i][5] = $_nice_COMerrorObj.helpcontext $_nice_COMerrorArray[$i][6] = $_nice_COMerrorObj.lastdllerror $_nice_COMerrorArray[$i][7] = $_nice_COMerrorObj.scriptline $_nice_COMerrorArray[1][0] = $_nice_COMerrorArray[1][0] & "|" & $_nice_COMerrorObj.scriptline & "|" If $i == 1 Then $_nice_COMerrorArray[0][1] = "ErrorNumber:" $_nice_COMerrorArray[0][2] = "WinDescription:" $_nice_COMerrorArray[0][3] = "Source:" $_nice_COMerrorArray[0][4] = "HelpFile:" $_nice_COMerrorArray[0][5] = "HelpContext:" $_nice_COMerrorArray[0][6] = "LastDLLerror:" $_nice_COMerrorArray[0][7] = "ScriptLineNumber:" $_nice_COMerrorArray[0][8] = "ScriptLine:" EndIf EndFunc ;==>_nice_COMerrorHandler #comments-start List of all the Properties and Methods for \root\LibreHardwareMonitor:Sensor Sensor Class Qualifiers ----------------------- 1. dynamic = True 2. provider = LibreHardwareMonitor_SN__Version_0.9.4.0 Sensor Class Properties and Property Qualifiers ----------------------------------------------- 1. Identifier 1.1. CIMTYPE = string 2. Index 2.1. CIMTYPE = sint32 3. InstanceId 3.1. CIMTYPE = string 3.2. key = True 4. Max 4.1. CIMTYPE = real32 5. Min 5.1. CIMTYPE = real32 6. Name 6.1. CIMTYPE = string 7. Parent 7.1. CIMTYPE = string 8. ProcessId 8.1. CIMTYPE = string 8.2. key = True 9. SensorType 9.1. CIMTYPE = string 10. Value 10.1. CIMTYPE = real32 Sensor Class Methods and Method Qualifiers ------------------------------------------ #comments-end If you enable the web interface ( Options > Remote web server ) then you can get the data anywhere in your network ( or just your PC ): #include <JSON.au3> ; https://github.com/Sylvan86/autoit-json-udf #include <Array.au3> ; extract array of devices from the json structure Global $aDevices = _JSON_LHM_ExtractDevices(_JSON_Parse(BinaryToString(InetRead("http://192.168.0.127:8085/data.json")))) ; use your IP and PORT ; display the result _ArrayDisplay($aDevices, "Devices", "", 64, "|", "Index|JSON-Path|ID|Text|Min|Value|Max|SensorID|Type|ImageURL") Func _JSON_LHM_ExtractDevices($mDevice, $bMaster = True, $sIndex = 0) Local Static $aDevices[0][0], $iElements ; https://www.autoitscript.com/forum/topic/213328-walking-a-json-and-failing/#findComment-1547542 Local Enum $eIdx, $ePath, $eID, $eText, $eMin, $eValue, $eMax, $eSensorID, $eType, $eImg ; check Input validity If Not IsMap($mDevice) Then Return SetError(1, 0, Null) ; first recursion level has to initialize things If $bMaster Then ReDim $aDevices[8][$eImg + 1] $iElements = 0 EndIf ; add current device to result array If UBound($aDevices) <= $iElements Then ReDim $aDevices[UBound($aDevices) * 2][$eImg + 1] ; resize array if necessary $aDevices[$iElements][$eIdx] = $sIndex $aDevices[$iElements][$ePath] = StringReplace(StringRegExpReplace(StringTrimLeft($sIndex, 2), "(\d+)", 'Children[$1]'), ',', '.') $aDevices[$iElements][$eID] = $mDevice["id"] $aDevices[$iElements][$eText] = $mDevice["Text"] $aDevices[$iElements][$eMin] = $mDevice["Min"] $aDevices[$iElements][$eValue] = $mDevice["Value"] $aDevices[$iElements][$eMax] = $mDevice["Max"] $aDevices[$iElements][$eSensorID] = $mDevice["SensorId"] $aDevices[$iElements][$eType] = $mDevice["Type"] $aDevices[$iElements][$eImg] = $mDevice["ImageURL"] $iElements += 1 ; process the childrens Local $aChildren = $mDevice["Children"] If IsArray($aChildren) And UBound($aChildren, 1) > 0 And UBound($aChildren, 0) = 1 Then For $i = 0 To UBound($aChildren) - 1 _JSON_LHM_ExtractDevices($aChildren[$i], False, $sIndex & "," & $i) Next EndIf If $bMaster Then ReDim $aDevices[$iElements][$eImg + 1] Return $aDevices EndIf EndFunc ;==>_JSON_LHM_ExtractDevices To make it bind to all networks or local or any IPv4 and port you'll need to edit this by hand ( as it only shows NIC IPs ) <add key="listenerIp" value="0.0.0.0" /> <add key="listenerPort" value="8085" /> in LibreHardwareMonitor.config The file is created after you close LibreHardwareMonitor.exe, because it only updates/saves the file after exit. If for any reason you don't want to see the icon, hide the GUI #RequireAdmin Local $sWinTitleEx = "[TITLE:Libre Hardware Monitor;REGEXPCLASS:(?i)(WindowsForms*);]" Local $hWin = WinGetHandle($sWinTitleEx) If $hWin Then WinSetState($hWin, "", @SW_HIDE) ; or @SW_SHOW ; If $hWin Then WinClose($hWin) ; when you're done Needless to say that unless LibreHardwareMonitor.exe is running, no Web or WMI will return a value.- 4 replies
-
- wmi
- openhardwaremonitor
-
(and 1 more)
Tagged with:
-
Using .NET libary with AutoIt, possible?
argumentum replied to mjolnirmarkiv's topic in AutoIt Projects and Collaboration
For 1 and 2, go to https://www.autoitscript.com/forum/topic/166268-wmi-on-libreopen-hardware-monitor/#findComment-1547553 For 3 you may have better luck with https://www.autoitscript.com/forum/files/file/540-hardwaremonitorudf The DLL way I have no idea, nor I'll investigate as am not familiar with those. -
Walking a .json ( and failing )
argumentum replied to argumentum's topic in AutoIt General Help and Support
@AspirinJunkie, thank you for the code above and a bigger thank you for the JSON UDF -
Walking a .json ( and failing )
argumentum replied to argumentum's topic in AutoIt General Help and Support
ok: -
Using the json UDF, started to discern the json from https://github.com/LibreHardwareMonitor/LibreHardwareMonitor/releases To save you from installing the software to solve my problem, the test code has the json string in it. The problem is that walking the json, I don't get all the values: #include <JSON.au3> #include <Array.au3> Exit Test() Func Test() Local $hTimer = TimerInit() Local $sTempJson, $mMap = _JSON_Parse(TheJsonStr()) Local $aValues[10000][10], $iIndex0 = 0 Local $sValue1, $iIndex1 = -1 Local $sValue2, $iIndex2 = -1 Local $sValue3, $iIndex3 = -1 Local $sValue4, $iIndex4 = -1 Local $sValue5, $iIndex5 = -1 Local $sValue6, $iIndex6 = -1 Local $sValue7, $iIndex7 = -1 Do $iIndex1 += 1 $sValue1 = _JSON_Get($mMap, "Children[" & $iIndex1 & "].id") If $sValue1 = "" Then ExitLoop ;~ If VarGetType(_JSON_Get($mMap, "Children[" & $iIndex1 & "].Children")) <> "Array" Then ExitLoop $iIndex0 += 1 If $iIndex0 > 270 Then ExitLoop ConsoleWrite('>' & Asc($sValue1) & '<' & @CRLF) $aValues[$iIndex0][1] = $sValue1 $aValues[$iIndex0][0] = _JSON_Get($mMap, "Children[" & $iIndex1 & "].ImageURL") $aValues[$iIndex0][9] = _JSON_Get($mMap, "Children[" & $iIndex1 & "].id") ;~ $aValues[$iIndex0][0] = $iIndex1 ;~ ConsoleWrite('->' & $sValue1 & '<' & @CRLF) ; @ComputerName $iIndex2 = -1 Do $iIndex2 += 1 $sTempJson = "Children[" & $iIndex1 & "].Children[" & $iIndex2 & "]." $sValue2 = _JSON_Get($mMap, $sTempJson & "id") ;~ If $sValue2 = "" Then ExitLoop If VarGetType(_JSON_Get($mMap, $sTempJson & "Children")) <> "Array" Then ExitLoop $iIndex0 += 1 $aValues[$iIndex0][0] = $iIndex1 & "," & $iIndex2 $aValues[$iIndex0][1] = _JSON_Get($mMap, $sTempJson & "ImageURL") $aValues[$iIndex0][2] = _JSON_Get($mMap, $sTempJson & "Text") $aValues[$iIndex0][9] = $sValue2 $iIndex3 = -1 Do $iIndex3 += 1 $sTempJson = "Children[" & $iIndex1 & "].Children[" & $iIndex2 & "].Children[" & $iIndex3 & "]." $sValue3 = _JSON_Get($mMap, $sTempJson & "id") ;~ If $sValue3 = "" Then ExitLoop If VarGetType(_JSON_Get($mMap, $sTempJson & "Children")) <> "Array" Then ExitLoop $iIndex0 += 1 $aValues[$iIndex0][0] = $iIndex1 & "," & $iIndex2 & "," & $iIndex3 ;~ $aValues[$iIndex0][1] = $sTempJson & "($iIndex3)" $aValues[$iIndex0][2] = _JSON_Get($mMap, $sTempJson & "ImageURL") $aValues[$iIndex0][3] = _JSON_Get($mMap, $sTempJson & "Text") $aValues[$iIndex0][9] = $sValue3 $iIndex4 = -1 Do $iIndex4 += 1 $sTempJson = "Children[" & $iIndex1 & "].Children[" & $iIndex2 & "].Children[" & $iIndex3 & "].Children[" & $iIndex4 & "]." $sValue4 = _JSON_Get($mMap, $sTempJson & "id") ConsoleWrite('- 4 ' & VarGetType(_JSON_Get($mMap, $sTempJson & "Children")) & @TAB & $sValue4 & @TAB & $sTempJson & @CRLF) If VarGetType(_JSON_Get($mMap, $sTempJson & "Children")) <> "Array" Then ExitLoop $iIndex0 += 1 $aValues[$iIndex0][0] = $iIndex1 & "," & $iIndex2 & "," & $iIndex3 & "," & $iIndex4 $aValues[$iIndex0][1] = $sTempJson & "($iIndex4)" $aValues[$iIndex0][3] = _JSON_Get($mMap, $sTempJson & "ImageURL") $aValues[$iIndex0][4] = _JSON_Get($mMap, $sTempJson & "Text") $aValues[$iIndex0][5] = _JSON_Get($mMap, $sTempJson & "Value") $aValues[$iIndex0][9] = $sValue4 $iIndex5 = -1 Do $iIndex5 += 1 $sTempJson = "Children[" & $iIndex1 & "].Children[" & $iIndex2 & "].Children[" & $iIndex4 & "].Children[" & $iIndex4 & "].Children[" & $iIndex5 & "]." $sValue5 = _JSON_Get($mMap, $sTempJson & "id") ConsoleWrite('- 5 ' & VarGetType($sValue5) & @TAB & $sValue5 & @TAB & $sTempJson & @CRLF) ;~ If $sValue5 = "" Then ExitLoop If VarGetType(_JSON_Get($mMap, $sTempJson & "Children")) <> "Array" Then ExitLoop $iIndex0 += 1 $aValues[$iIndex0][0] = $iIndex1 & "," & $iIndex2 & "," & $iIndex3 & "," & $iIndex4 & "," & $iIndex5 $aValues[$iIndex0][1] = $sTempJson & "($iIndex5)" $aValues[$iIndex0][4] = _JSON_Get($mMap, $sTempJson & "ImageURL") $aValues[$iIndex0][5] = _JSON_Get($mMap, $sTempJson & "Text") $aValues[$iIndex0][6] = _JSON_Get($mMap, $sTempJson & "Value") $aValues[$iIndex0][9] = $sValue5 $iIndex6 = -1 Do $iIndex6 += 1 $sTempJson = "Children[" & $iIndex1 & "].Children[" & $iIndex2 & "].Children[" & $iIndex4 & "].Children[" & $iIndex4 & "].Children[" & $iIndex5 & "].Children[" & $iIndex6 & "]." $sValue6 = _JSON_Get($mMap, $sTempJson & "id") ;~ If $sValue6 = "" Then ExitLoop If VarGetType(_JSON_Get($mMap, $sTempJson & "Children")) <> "Array" Then ExitLoop $iIndex0 += 1 $aValues[$iIndex0][0] = $iIndex1 & "," & $iIndex2 & "," & $iIndex3 & "," & $iIndex4 & "," & $iIndex5 & "," & $iIndex6 ;~ $aValues[$iIndex0][1] = $sTempJson & "($iIndex6)" $aValues[$iIndex0][5] = _JSON_Get($mMap, $sTempJson & "ImageURL") $aValues[$iIndex0][6] = _JSON_Get($mMap, $sTempJson & "Text") $aValues[$iIndex0][7] = _JSON_Get($mMap, $sTempJson & "Value") $aValues[$iIndex0][9] = $sValue6 $iIndex7 = -1 Do $iIndex7 += 1 $sTempJson = "Children[" & $iIndex1 & "].Children[" & $iIndex2 & "].Children[" & $sValue3 & "].Children[" & $iIndex4 & "].Children[" & $iIndex5 & "].Children[" & $iIndex6 & "].Children[" & $iIndex7 & "]." $sValue7 = _JSON_Get($mMap, $sTempJson & "id") ;~ If $sValue7 = "" Then ExitLoop If VarGetType(_JSON_Get($mMap, $sTempJson & "Children")) <> "Array" Then ExitLoop $iIndex0 += 1 $aValues[$iIndex0][0] = $iIndex1 & "," & $iIndex2 & "," & $iIndex3 & "," & $iIndex4 & "," & $iIndex5 & "," & $iIndex6 & "," & $iIndex7 ;~ $aValues[$iIndex0][1] = $sTempJson & "($iIndex7)" $aValues[$iIndex0][6] = _JSON_Get($mMap, $sTempJson & "ImageURL") $aValues[$iIndex0][7] = _JSON_Get($mMap, $sTempJson & "Text") $aValues[$iIndex0][8] = _JSON_Get($mMap, $sTempJson & "Value") $aValues[$iIndex0][9] = $sValue7 $iIndex7 = -1 Until $sValue7 = "" Until $sValue6 = "" Until $sValue5 = "" Until $sValue4 = "" Until $sValue3 = "" Until $sValue2 = "" Until $sValue1 = "" ReDim $aValues[$iIndex0 + 1][10] ConsoleWrite(@CRLF & TimerDiff($hTimer) & @CRLF & @CRLF) ConsoleWrite('+++ $iIndex0 = ' & $iIndex0 & @CRLF) _ArrayDisplay($aValues) Return $aValues EndFunc ;==>Test Func TheJsonStr() Local $sJson = '{"id":0,"Text":"Sensor","Min":"Min","Value":"Value","Max":"Max","ImageURL":"","Children":[' $sJson &= '{"id":1,"Text":"PEPE-PC","Min":"","Value":"","Max":"","ImageURL":"images_icon/computer.png","Children":[' $sJson &= '{"id":2,"Text":"AHWSA","Min":"","Value":"","Max":"","ImageURL":"images_icon/mainboard.png","Children":[' $sJson &= '{"id":3,"Text":"Nuvoton NCT6796D-R","Min":"","Value":"","Max":"","ImageURL":"images_icon/chip.png","Children":[' $sJson &= '{"id":4,"Text":"Voltages","Min":"","Value":"","Max":"","ImageURL":"images_icon/voltage.png","Children":[' $sJson &= '{"id":5,"Text":"Vcore","Min":"0.336 V","Value":"0.448 V","Max":"0.704 V","SensorId":"/lpc/nct6796dr/0/voltage/0","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":6,"Text":"Voltage #2","Min":"1.032 V","Value":"1.040 V","Max":"1.040 V","SensorId":"/lpc/nct6796dr/0/voltage/1","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":7,"Text":"AVCC","Min":"3.344 V","Value":"3.360 V","Max":"3.360 V","SensorId":"/lpc/nct6796dr/0/voltage/2","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":8,"Text":"+3.3V","Min":"3.344 V","Value":"3.360 V","Max":"3.360 V","SensorId":"/lpc/nct6796dr/0/voltage/3","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":9,"Text":"Voltage #5","Min":"1.088 V","Value":"1.096 V","Max":"1.096 V","SensorId":"/lpc/nct6796dr/0/voltage/4","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":10,"Text":"Voltage #6","Min":"0.152 V","Value":"0.168 V","Max":"0.168 V","SensorId":"/lpc/nct6796dr/0/voltage/5","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":11,"Text":"Voltage #7","Min":"0.136 V","Value":"0.144 V","Max":"0.144 V","SensorId":"/lpc/nct6796dr/0/voltage/6","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":12,"Text":"+3V Standby","Min":"3.344 V","Value":"3.344 V","Max":"3.360 V","SensorId":"/lpc/nct6796dr/0/voltage/7","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":13,"Text":"CMOS Battery","Min":"3.136 V","Value":"3.152 V","Max":"3.152 V","SensorId":"/lpc/nct6796dr/0/voltage/8","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":14,"Text":"CPU Termination","Min":"0.504 V","Value":"0.512 V","Max":"0.512 V","SensorId":"/lpc/nct6796dr/0/voltage/9","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":15,"Text":"Voltage #11","Min":"0.080 V","Value":"0.088 V","Max":"0.088 V","SensorId":"/lpc/nct6796dr/0/voltage/10","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":16,"Text":"Voltage #12","Min":"0.064 V","Value":"0.072 V","Max":"0.072 V","SensorId":"/lpc/nct6796dr/0/voltage/11","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":17,"Text":"Voltage #13","Min":"0.992 V","Value":"1.000 V","Max":"1.008 V","SensorId":"/lpc/nct6796dr/0/voltage/12","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":18,"Text":"Voltage #14","Min":"0.152 V","Value":"0.160 V","Max":"0.168 V","SensorId":"/lpc/nct6796dr/0/voltage/13","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":19,"Text":"Voltage #15","Min":"1.264 V","Value":"1.264 V","Max":"1.272 V","SensorId":"/lpc/nct6796dr/0/voltage/14","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":20,"Text":"Temperatures","Min":"","Value":"","Max":"","ImageURL":"images_icon/temperature.png","Children":[' $sJson &= '{"id":21,"Text":"CPU Core","Min":"54.0 °C","Value":"59.0 °C","Max":"89.0 °C","SensorId":"/lpc/nct6796dr/0/temperature/0","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":22,"Text":"Temperature #1","Min":"50.0 °C","Value":"51.0 °C","Max":"56.0 °C","SensorId":"/lpc/nct6796dr/0/temperature/1","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":23,"Text":"Temperature #2","Min":"111.0 °C","Value":"112.0 °C","Max":"114.0 °C","SensorId":"/lpc/nct6796dr/0/temperature/2","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":24,"Text":"Temperature #3","Min":"108.0 °C","Value":"109.5 °C","Max":"111.0 °C","SensorId":"/lpc/nct6796dr/0/temperature/3","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":25,"Text":"Temperature #4","Min":"109.0 °C","Value":"110.0 °C","Max":"111.0 °C","SensorId":"/lpc/nct6796dr/0/temperature/4","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":26,"Text":"Temperature #5","Min":"109.0 °C","Value":"110.0 °C","Max":"112.0 °C","SensorId":"/lpc/nct6796dr/0/temperature/5","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":27,"Text":"Temperature #6","Min":"-36.0 °C","Value":"-34.0 °C","Max":"-30.0 °C","SensorId":"/lpc/nct6796dr/0/temperature/6","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":28,"Text":"Fans","Min":"","Value":"","Max":"","ImageURL":"images_icon/fan.png","Children":[' $sJson &= '{"id":29,"Text":"Fan #1","Min":"2486 RPM","Value":"2505 RPM","Max":"2567 RPM","SensorId":"/lpc/nct6796dr/0/fan/0","Type":"Fan","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":30,"Text":"Fan #2","Min":"2202 RPM","Value":"2373 RPM","Max":"3207 RPM","SensorId":"/lpc/nct6796dr/0/fan/1","Type":"Fan","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":31,"Text":"Fan #3","Min":"0 RPM","Value":"0 RPM","Max":"0 RPM","SensorId":"/lpc/nct6796dr/0/fan/2","Type":"Fan","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":32,"Text":"Fan #4","Min":"0 RPM","Value":"0 RPM","Max":"0 RPM","SensorId":"/lpc/nct6796dr/0/fan/3","Type":"Fan","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":33,"Text":"Fan #5","Min":"0 RPM","Value":"0 RPM","Max":"0 RPM","SensorId":"/lpc/nct6796dr/0/fan/4","Type":"Fan","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":34,"Text":"Fan #6","Min":"0 RPM","Value":"0 RPM","Max":"0 RPM","SensorId":"/lpc/nct6796dr/0/fan/5","Type":"Fan","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":35,"Text":"Fan #7","Min":"0 RPM","Value":"0 RPM","Max":"0 RPM","SensorId":"/lpc/nct6796dr/0/fan/6","Type":"Fan","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":36,"Text":"Controls","Min":"","Value":"","Max":"","ImageURL":"images_icon/control.png","Children":[' $sJson &= '{"id":37,"Text":"Fan #1","Min":"35.3 %","Value":"35.3 %","Max":"36.1 %","SensorId":"/lpc/nct6796dr/0/control/0","Type":"Control","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":38,"Text":"Fan #2","Min":"34.5 %","Value":"37.3 %","Max":"58.8 %","SensorId":"/lpc/nct6796dr/0/control/1","Type":"Control","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":39,"Text":"Fan #3","Min":"60.0 %","Value":"60.0 %","Max":"60.0 %","SensorId":"/lpc/nct6796dr/0/control/2","Type":"Control","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":40,"Text":"Fan #4","Min":"60.0 %","Value":"60.0 %","Max":"60.0 %","SensorId":"/lpc/nct6796dr/0/control/3","Type":"Control","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":41,"Text":"Fan #5","Min":"60.0 %","Value":"60.0 %","Max":"60.0 %","SensorId":"/lpc/nct6796dr/0/control/4","Type":"Control","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":42,"Text":"Fan #6","Min":"100.0 %","Value":"100.0 %","Max":"100.0 %","SensorId":"/lpc/nct6796dr/0/control/5","Type":"Control","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":43,"Text":"Fan #7","Min":"38.4 %","Value":"40.0 %","Max":"58.8 %","SensorId":"/lpc/nct6796dr/0/control/6","Type":"Control","ImageURL":"images/transparent.png","Children":[]}]}]}]},' $sJson &= '{"id":44,"Text":"12th Gen Intel Core i9-12900H","Min":"","Value":"","Max":"","ImageURL":"images_icon/cpu.png","Children":[' $sJson &= '{"id":45,"Text":"Voltages","Min":"","Value":"","Max":"","ImageURL":"images_icon/voltage.png","Children":[' $sJson &= '{"id":46,"Text":"CPU Core","Min":"0.632 V","Value":"1.234 V","Max":"1.463 V","SensorId":"/intelcpu/0/voltage/0","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":47,"Text":"CPU Core #1","Min":"0.700 V","Value":"1.299 V","Max":"1.458 V","SensorId":"/intelcpu/0/voltage/1","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":48,"Text":"CPU Core #2","Min":"0.637 V","Value":"1.374 V","Max":"1.439 V","SensorId":"/intelcpu/0/voltage/2","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":49,"Text":"CPU Core #3","Min":"0.581 V","Value":"1.334 V","Max":"1.413 V","SensorId":"/intelcpu/0/voltage/3","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":50,"Text":"CPU Core #4","Min":"0.580 V","Value":"1.322 V","Max":"1.428 V","SensorId":"/intelcpu/0/voltage/4","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":51,"Text":"CPU Core #5","Min":"0.582 V","Value":"1.287 V","Max":"1.476 V","SensorId":"/intelcpu/0/voltage/5","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":52,"Text":"CPU Core #6","Min":"0.606 V","Value":"1.262 V","Max":"1.487 V","SensorId":"/intelcpu/0/voltage/6","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":53,"Text":"CPU Core #7","Min":"0.644 V","Value":"1.207 V","Max":"1.498 V","SensorId":"/intelcpu/0/voltage/7","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":54,"Text":"CPU Core #8","Min":"0.631 V","Value":"1.297 V","Max":"1.423 V","SensorId":"/intelcpu/0/voltage/8","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":55,"Text":"CPU Core #9","Min":"0.632 V","Value":"1.297 V","Max":"1.443 V","SensorId":"/intelcpu/0/voltage/9","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":56,"Text":"CPU Core #10","Min":"0.632 V","Value":"1.297 V","Max":"1.441 V","SensorId":"/intelcpu/0/voltage/10","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":57,"Text":"CPU Core #11","Min":"0.661 V","Value":"1.362 V","Max":"1.431 V","SensorId":"/intelcpu/0/voltage/11","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":58,"Text":"CPU Core #12","Min":"0.691 V","Value":"1.362 V","Max":"1.411 V","SensorId":"/intelcpu/0/voltage/12","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":59,"Text":"CPU Core #13","Min":"0.696 V","Value":"1.302 V","Max":"1.416 V","SensorId":"/intelcpu/0/voltage/13","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":60,"Text":"CPU Core #14","Min":"0.696 V","Value":"1.302 V","Max":"1.426 V","SensorId":"/intelcpu/0/voltage/14","Type":"Voltage","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":61,"Text":"Powers","Min":"","Value":"","Max":"","ImageURL":"images_icon/power.png","Children":[' $sJson &= '{"id":62,"Text":"CPU Package","Min":"8.8 W","Value":"17.4 W","Max":"53.8 W","SensorId":"/intelcpu/0/power/0","Type":"Power","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":63,"Text":"CPU Cores","Min":"4.5 W","Value":"8.4 W","Max":"42.5 W","SensorId":"/intelcpu/0/power/1","Type":"Power","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":64,"Text":"CPU Memory","Min":"0.0 W","Value":"0.0 W","Max":"0.0 W","SensorId":"/intelcpu/0/power/3","Type":"Power","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":65,"Text":"CPU Platform","Min":"0.0 W","Value":"0.0 W","Max":"0.0 W","SensorId":"/intelcpu/0/power/4","Type":"Power","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":66,"Text":"Clocks","Min":"","Value":"","Max":"","ImageURL":"images_icon/clock.png","Children":[' $sJson &= '{"id":67,"Text":"Bus Speed","Min":"100.6 MHz","Value":"100.6 MHz","Max":"100.6 MHz","SensorId":"/intelcpu/0/clock/0","Type":"Clock","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":68,"Text":"CPU Core #1","Min":"402.5 MHz","Value":"4327.3 MHz","Max":"4931.5 MHz","SensorId":"/intelcpu/0/clock/1","Type":"Clock","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":69,"Text":"CPU Core #2","Min":"402.5 MHz","Value":"4629.2 MHz","Max":"4931.5 MHz","SensorId":"/intelcpu/0/clock/2","Type":"Clock","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":70,"Text":"CPU Core #3","Min":"402.5 MHz","Value":"4327.3 MHz","Max":"5032.2 MHz","SensorId":"/intelcpu/0/clock/3","Type":"Clock","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":71,"Text":"CPU Core #4","Min":"402.5 MHz","Value":"4629.2 MHz","Max":"4931.6 MHz","SensorId":"/intelcpu/0/clock/4","Type":"Clock","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":72,"Text":"CPU Core #5","Min":"402.5 MHz","Value":"4629.2 MHz","Max":"5032.2 MHz","SensorId":"/intelcpu/0/clock/5","Type":"Clock","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":73,"Text":"CPU Core #6","Min":"402.5 MHz","Value":"4629.2 MHz","Max":"4931.6 MHz","SensorId":"/intelcpu/0/clock/6","Type":"Clock","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":74,"Text":"CPU Core #7","Min":"402.5 MHz","Value":"3824.1 MHz","Max":"3824.5 MHz","SensorId":"/intelcpu/0/clock/7","Type":"Clock","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":75,"Text":"CPU Core #8","Min":"402.5 MHz","Value":"3824.1 MHz","Max":"3824.5 MHz","SensorId":"/intelcpu/0/clock/8","Type":"Clock","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":76,"Text":"CPU Core #9","Min":"402.5 MHz","Value":"3824.1 MHz","Max":"3824.5 MHz","SensorId":"/intelcpu/0/clock/9","Type":"Clock","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":77,"Text":"CPU Core #10","Min":"402.5 MHz","Value":"3824.1 MHz","Max":"3824.5 MHz","SensorId":"/intelcpu/0/clock/10","Type":"Clock","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":78,"Text":"CPU Core #11","Min":"402.5 MHz","Value":"3824.1 MHz","Max":"3824.5 MHz","SensorId":"/intelcpu/0/clock/11","Type":"Clock","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":79,"Text":"CPU Core #12","Min":"402.5 MHz","Value":"3824.1 MHz","Max":"3824.5 MHz","SensorId":"/intelcpu/0/clock/12","Type":"Clock","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":80,"Text":"CPU Core #13","Min":"402.5 MHz","Value":"3824.1 MHz","Max":"3824.5 MHz","SensorId":"/intelcpu/0/clock/13","Type":"Clock","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":81,"Text":"CPU Core #14","Min":"402.5 MHz","Value":"3824.1 MHz","Max":"3824.5 MHz","SensorId":"/intelcpu/0/clock/14","Type":"Clock","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":82,"Text":"Temperatures","Min":"","Value":"","Max":"","ImageURL":"images_icon/temperature.png","Children":[' $sJson &= '{"id":83,"Text":"Core Max","Min":"51.0 °C","Value":"85.0 °C","Max":"100.0 °C","SensorId":"/intelcpu/0/temperature/0","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":84,"Text":"Core Average","Min":"48.6 °C","Value":"58.4 °C","Max":"74.6 °C","SensorId":"/intelcpu/0/temperature/1","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":85,"Text":"CPU Core #1","Min":"44.0 °C","Value":"61.0 °C","Max":"96.0 °C","SensorId":"/intelcpu/0/temperature/2","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":86,"Text":"CPU Core #2","Min":"45.0 °C","Value":"51.0 °C","Max":"97.0 °C","SensorId":"/intelcpu/0/temperature/3","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":87,"Text":"CPU Core #3","Min":"46.0 °C","Value":"85.0 °C","Max":"100.0 °C","SensorId":"/intelcpu/0/temperature/4","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":88,"Text":"CPU Core #4","Min":"44.0 °C","Value":"55.0 °C","Max":"96.0 °C","SensorId":"/intelcpu/0/temperature/5","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":89,"Text":"CPU Core #5","Min":"45.0 °C","Value":"80.0 °C","Max":"96.0 °C","SensorId":"/intelcpu/0/temperature/6","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":90,"Text":"CPU Core #6","Min":"44.0 °C","Value":"62.0 °C","Max":"96.0 °C","SensorId":"/intelcpu/0/temperature/7","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":91,"Text":"CPU Core #7","Min":"45.0 °C","Value":"58.0 °C","Max":"75.0 °C","SensorId":"/intelcpu/0/temperature/8","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":92,"Text":"CPU Core #8","Min":"45.0 °C","Value":"58.0 °C","Max":"77.0 °C","SensorId":"/intelcpu/0/temperature/9","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":93,"Text":"CPU Core #9","Min":"45.0 °C","Value":"58.0 °C","Max":"77.0 °C","SensorId":"/intelcpu/0/temperature/10","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":94,"Text":"CPU Core #10","Min":"45.0 °C","Value":"58.0 °C","Max":"77.0 °C","SensorId":"/intelcpu/0/temperature/11","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":95,"Text":"CPU Core #11","Min":"46.0 °C","Value":"48.0 °C","Max":"78.0 °C","SensorId":"/intelcpu/0/temperature/12","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":96,"Text":"CPU Core #12","Min":"46.0 °C","Value":"48.0 °C","Max":"78.0 °C","SensorId":"/intelcpu/0/temperature/13","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":97,"Text":"CPU Core #13","Min":"46.0 °C","Value":"48.0 °C","Max":"78.0 °C","SensorId":"/intelcpu/0/temperature/14","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":98,"Text":"CPU Core #14","Min":"46.0 °C","Value":"48.0 °C","Max":"78.0 °C","SensorId":"/intelcpu/0/temperature/15","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":99,"Text":"CPU Package","Min":"51.0 °C","Value":"85.0 °C","Max":"100.0 °C","SensorId":"/intelcpu/0/temperature/16","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":100,"Text":"CPU Core #1 Distance to TjMax","Min":"4.0 °C","Value":"39.0 °C","Max":"56.0 °C","SensorId":"/intelcpu/0/temperature/17","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":101,"Text":"CPU Core #2 Distance to TjMax","Min":"3.0 °C","Value":"49.0 °C","Max":"55.0 °C","SensorId":"/intelcpu/0/temperature/18","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":102,"Text":"CPU Core #3 Distance to TjMax","Min":"0.0 °C","Value":"15.0 °C","Max":"54.0 °C","SensorId":"/intelcpu/0/temperature/19","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":103,"Text":"CPU Core #4 Distance to TjMax","Min":"4.0 °C","Value":"45.0 °C","Max":"56.0 °C","SensorId":"/intelcpu/0/temperature/20","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":104,"Text":"CPU Core #5 Distance to TjMax","Min":"4.0 °C","Value":"20.0 °C","Max":"55.0 °C","SensorId":"/intelcpu/0/temperature/21","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":105,"Text":"CPU Core #6 Distance to TjMax","Min":"4.0 °C","Value":"38.0 °C","Max":"56.0 °C","SensorId":"/intelcpu/0/temperature/22","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":106,"Text":"CPU Core #7 Distance to TjMax","Min":"25.0 °C","Value":"42.0 °C","Max":"55.0 °C","SensorId":"/intelcpu/0/temperature/23","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":107,"Text":"CPU Core #8 Distance to TjMax","Min":"23.0 °C","Value":"42.0 °C","Max":"55.0 °C","SensorId":"/intelcpu/0/temperature/24","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":108,"Text":"CPU Core #9 Distance to TjMax","Min":"23.0 °C","Value":"42.0 °C","Max":"55.0 °C","SensorId":"/intelcpu/0/temperature/25","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":109,"Text":"CPU Core #10 Distance to TjMax","Min":"23.0 °C","Value":"42.0 °C","Max":"55.0 °C","SensorId":"/intelcpu/0/temperature/26","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":110,"Text":"CPU Core #11 Distance to TjMax","Min":"22.0 °C","Value":"52.0 °C","Max":"54.0 °C","SensorId":"/intelcpu/0/temperature/27","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":111,"Text":"CPU Core #12 Distance to TjMax","Min":"22.0 °C","Value":"52.0 °C","Max":"54.0 °C","SensorId":"/intelcpu/0/temperature/28","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":112,"Text":"CPU Core #13 Distance to TjMax","Min":"22.0 °C","Value":"52.0 °C","Max":"54.0 °C","SensorId":"/intelcpu/0/temperature/29","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":113,"Text":"CPU Core #14 Distance to TjMax","Min":"22.0 °C","Value":"52.0 °C","Max":"54.0 °C","SensorId":"/intelcpu/0/temperature/30","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":114,"Text":"Load","Min":"","Value":"","Max":"","ImageURL":"images_icon/load.png","Children":[' $sJson &= '{"id":115,"Text":"CPU Total","Min":"0.0 %","Value":"2.2 %","Max":"32.9 %","SensorId":"/intelcpu/0/load/0","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":116,"Text":"CPU Core Max","Min":"0.0 %","Value":"24.1 %","Max":"84.6 %","SensorId":"/intelcpu/0/load/1","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":117,"Text":"CPU Core #1 Thread #1","Min":"0.0 %","Value":"1.0 %","Max":"69.8 %","SensorId":"/intelcpu/0/load/2","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":118,"Text":"CPU Core #1 Thread #2","Min":"0.0 %","Value":"0.7 %","Max":"45.4 %","SensorId":"/intelcpu/0/load/3","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":119,"Text":"CPU Core #2 Thread #1","Min":"0.0 %","Value":"0.9 %","Max":"67.6 %","SensorId":"/intelcpu/0/load/4","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":120,"Text":"CPU Core #2 Thread #2","Min":"0.0 %","Value":"0.5 %","Max":"48.2 %","SensorId":"/intelcpu/0/load/5","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":121,"Text":"CPU Core #3 Thread #1","Min":"0.0 %","Value":"24.1 %","Max":"79.1 %","SensorId":"/intelcpu/0/load/6","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":122,"Text":"CPU Core #3 Thread #2","Min":"0.0 %","Value":"0.6 %","Max":"84.6 %","SensorId":"/intelcpu/0/load/7","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":123,"Text":"CPU Core #4 Thread #1","Min":"0.0 %","Value":"1.1 %","Max":"60.6 %","SensorId":"/intelcpu/0/load/8","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":124,"Text":"CPU Core #4 Thread #2","Min":"0.0 %","Value":"0.5 %","Max":"47.5 %","SensorId":"/intelcpu/0/load/9","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":125,"Text":"CPU Core #5 Thread #1","Min":"0.0 %","Value":"8.3 %","Max":"81.9 %","SensorId":"/intelcpu/0/load/10","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":126,"Text":"CPU Core #5 Thread #2","Min":"0.0 %","Value":"0.6 %","Max":"79.7 %","SensorId":"/intelcpu/0/load/11","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":127,"Text":"CPU Core #6 Thread #1","Min":"0.0 %","Value":"1.0 %","Max":"64.0 %","SensorId":"/intelcpu/0/load/12","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":128,"Text":"CPU Core #6 Thread #2","Min":"0.0 %","Value":"0.5 %","Max":"51.2 %","SensorId":"/intelcpu/0/load/13","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":129,"Text":"CPU Core #7","Min":"0.0 %","Value":"0.6 %","Max":"45.4 %","SensorId":"/intelcpu/0/load/14","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":130,"Text":"CPU Core #8","Min":"0.0 %","Value":"0.6 %","Max":"14.6 %","SensorId":"/intelcpu/0/load/15","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":131,"Text":"CPU Core #9","Min":"0.0 %","Value":"0.6 %","Max":"21.6 %","SensorId":"/intelcpu/0/load/16","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":132,"Text":"CPU Core #10","Min":"0.0 %","Value":"0.6 %","Max":"27.0 %","SensorId":"/intelcpu/0/load/17","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":133,"Text":"CPU Core #11","Min":"0.0 %","Value":"0.8 %","Max":"74.2 %","SensorId":"/intelcpu/0/load/18","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":134,"Text":"CPU Core #12","Min":"0.0 %","Value":"0.6 %","Max":"60.5 %","SensorId":"/intelcpu/0/load/19","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":135,"Text":"CPU Core #13","Min":"0.0 %","Value":"0.6 %","Max":"36.7 %","SensorId":"/intelcpu/0/load/20","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":136,"Text":"CPU Core #14","Min":"0.0 %","Value":"0.6 %","Max":"17.0 %","SensorId":"/intelcpu/0/load/21","Type":"Load","ImageURL":"images/transparent.png","Children":[]}]}]},' $sJson &= '{"id":137,"Text":"Generic Memory","Min":"","Value":"","Max":"","ImageURL":"images_icon/ram.png","Children":[' $sJson &= '{"id":138,"Text":"Load","Min":"","Value":"","Max":"","ImageURL":"images_icon/load.png","Children":[' $sJson &= '{"id":139,"Text":"Memory","Min":"46.9 %","Value":"48.0 %","Max":"48.5 %","SensorId":"/ram/load/0","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":140,"Text":"Virtual Memory","Min":"46.7 %","Value":"48.1 %","Max":"48.6 %","SensorId":"/ram/load/1","Type":"Load","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":141,"Text":"Data","Min":"","Value":"","Max":"","ImageURL":"images_icon/power.png","Children":[' $sJson &= '{"id":142,"Text":"Memory Used","Min":"44.9 GB","Value":"45.9 GB","Max":"46.5 GB","SensorId":"/ram/data/0","Type":"Data","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":143,"Text":"Memory Available","Min":"49.3 GB","Value":"49.8 GB","Max":"50.9 GB","SensorId":"/ram/data/1","Type":"Data","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":144,"Text":"Virtual Memory Used","Min":"44.8 GB","Value":"46.0 GB","Max":"46.6 GB","SensorId":"/ram/data/2","Type":"Data","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":145,"Text":"Virtual Memory Available","Min":"49.2 GB","Value":"49.7 GB","Max":"51.0 GB","SensorId":"/ram/data/3","Type":"Data","ImageURL":"images/transparent.png","Children":[]}]}]},' $sJson &= '{"id":146,"Text":"Samsung SSD 990 PRO 4TB","Min":"","Value":"","Max":"","ImageURL":"images_icon/hdd.png","Children":[' $sJson &= '{"id":147,"Text":"Temperatures","Min":"","Value":"","Max":"","ImageURL":"images_icon/temperature.png","Children":[' $sJson &= '{"id":148,"Text":"Temperature","Min":"0.0 °C","Value":"47.0 °C","Max":"49.0 °C","SensorId":"/nvme/0/temperature/0","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":149,"Text":"Temperature 1","Min":"0.0 °C","Value":"47.0 °C","Max":"49.0 °C","SensorId":"/nvme/0/temperature/6","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":150,"Text":"Temperature 2","Min":"0.0 °C","Value":"65.0 °C","Max":"73.0 °C","SensorId":"/nvme/0/temperature/7","Type":"Temperature","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":151,"Text":"Load","Min":"","Value":"","Max":"","ImageURL":"images_icon/load.png","Children":[' $sJson &= '{"id":152,"Text":"Used Space","Min":"23.0 %","Value":"23.0 %","Max":"23.0 %","SensorId":"/nvme/0/load/0","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":153,"Text":"Read Activity","Min":"0.0 %","Value":"0.0 %","Max":"97.3 %","SensorId":"/nvme/0/load/31","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":154,"Text":"Write Activity","Min":"0.0 %","Value":"0.2 %","Max":"10.4 %","SensorId":"/nvme/0/load/32","Type":"Load","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":155,"Text":"Total Activity","Min":"0.0 %","Value":"0.8 %","Max":"100.0 %","SensorId":"/nvme/0/load/33","Type":"Load","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":156,"Text":"Levels","Min":"","Value":"","Max":"","ImageURL":"images_icon/level.png","Children":[' $sJson &= '{"id":157,"Text":"Available Spare","Min":"0.0 %","Value":"100.0 %","Max":"100.0 %","SensorId":"/nvme/0/level/1","Type":"Level","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":158,"Text":"Available Spare Threshold","Min":"0.0 %","Value":"10.0 %","Max":"10.0 %","SensorId":"/nvme/0/level/2","Type":"Level","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":159,"Text":"Percentage Used","Min":"0.0 %","Value":"3.0 %","Max":"3.0 %","SensorId":"/nvme/0/level/3","Type":"Level","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":160,"Text":"Data","Min":"","Value":"","Max":"","ImageURL":"images_icon/power.png","Children":[' $sJson &= '{"id":161,"Text":"Data Read","Min":"0.0 GB","Value":"5877.0 GB","Max":"5877.0 GB","SensorId":"/nvme/0/data/4","Type":"Data","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":162,"Text":"Data Written","Min":"0.0 GB","Value":"7136.0 GB","Max":"7136.0 GB","SensorId":"/nvme/0/data/5","Type":"Data","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":163,"Text":"Throughput","Min":"","Value":"","Max":"","ImageURL":"images_icon/throughput.png","Children":[' $sJson &= '{"id":164,"Text":"Read Rate","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"184.2 MB/s","SensorId":"/nvme/0/throughput/34","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":165,"Text":"Write Rate","Min":"0.0 KB/s","Value":"273.4 KB/s","Max":"261.5 MB/s","SensorId":"/nvme/0/throughput/35","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]}]}]},' $sJson &= '{"id":166,"Text":"Bluetooth Network Connection","Min":"","Value":"","Max":"","ImageURL":"images_icon/nic.png","Children":[' $sJson &= '{"id":167,"Text":"Load","Min":"","Value":"","Max":"","ImageURL":"images_icon/load.png","Children":[' $sJson &= '{"id":168,"Text":"Network Utilization","Min":"0.0 %","Value":"0.0 %","Max":"0.0 %","SensorId":"/nic/%7B5EB07683-663D-4FFF-9BF9-53AB66DB234E%7D/load/1","Type":"Load","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":169,"Text":"Data","Min":"","Value":"","Max":"","ImageURL":"images_icon/power.png","Children":[' $sJson &= '{"id":170,"Text":"Data Uploaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7B5EB07683-663D-4FFF-9BF9-53AB66DB234E%7D/data/2","Type":"Data","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":171,"Text":"Data Downloaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7B5EB07683-663D-4FFF-9BF9-53AB66DB234E%7D/data/3","Type":"Data","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":172,"Text":"Throughput","Min":"","Value":"","Max":"","ImageURL":"images_icon/throughput.png","Children":[' $sJson &= '{"id":173,"Text":"Upload Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"0.0 KB/s","SensorId":"/nic/%7B5EB07683-663D-4FFF-9BF9-53AB66DB234E%7D/throughput/7","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":174,"Text":"Download Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"0.0 KB/s","SensorId":"/nic/%7B5EB07683-663D-4FFF-9BF9-53AB66DB234E%7D/throughput/8","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]}]}]},' $sJson &= '{"id":175,"Text":"Local Area Connection* 10","Min":"","Value":"","Max":"","ImageURL":"images_icon/nic.png","Children":[' $sJson &= '{"id":176,"Text":"Load","Min":"","Value":"","Max":"","ImageURL":"images_icon/load.png","Children":[' $sJson &= '{"id":177,"Text":"Network Utilization","Min":"0.0 %","Value":"0.0 %","Max":"0.0 %","SensorId":"/nic/%7B3203B47A-CD12-4559-9988-CBE4A293B134%7D/load/1","Type":"Load","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":178,"Text":"Data","Min":"","Value":"","Max":"","ImageURL":"images_icon/power.png","Children":[' $sJson &= '{"id":179,"Text":"Data Uploaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7B3203B47A-CD12-4559-9988-CBE4A293B134%7D/data/2","Type":"Data","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":180,"Text":"Data Downloaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7B3203B47A-CD12-4559-9988-CBE4A293B134%7D/data/3","Type":"Data","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":181,"Text":"Throughput","Min":"","Value":"","Max":"","ImageURL":"images_icon/throughput.png","Children":[' $sJson &= '{"id":182,"Text":"Upload Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"0.0 KB/s","SensorId":"/nic/%7B3203B47A-CD12-4559-9988-CBE4A293B134%7D/throughput/7","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":183,"Text":"Download Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"0.0 KB/s","SensorId":"/nic/%7B3203B47A-CD12-4559-9988-CBE4A293B134%7D/throughput/8","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]}]}]},' $sJson &= '{"id":184,"Text":"Local Area Connection* 9","Min":"","Value":"","Max":"","ImageURL":"images_icon/nic.png","Children":[' $sJson &= '{"id":185,"Text":"Load","Min":"","Value":"","Max":"","ImageURL":"images_icon/load.png","Children":[' $sJson &= '{"id":186,"Text":"Network Utilization","Min":"0.0 %","Value":"0.0 %","Max":"0.0 %","SensorId":"/nic/%7BE631063B-F124-4320-A55E-10F6FBFA8809%7D/load/1","Type":"Load","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":187,"Text":"Data","Min":"","Value":"","Max":"","ImageURL":"images_icon/power.png","Children":[' $sJson &= '{"id":188,"Text":"Data Uploaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7BE631063B-F124-4320-A55E-10F6FBFA8809%7D/data/2","Type":"Data","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":189,"Text":"Data Downloaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7BE631063B-F124-4320-A55E-10F6FBFA8809%7D/data/3","Type":"Data","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":190,"Text":"Throughput","Min":"","Value":"","Max":"","ImageURL":"images_icon/throughput.png","Children":[' $sJson &= '{"id":191,"Text":"Upload Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"0.0 KB/s","SensorId":"/nic/%7BE631063B-F124-4320-A55E-10F6FBFA8809%7D/throughput/7","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":192,"Text":"Download Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"0.0 KB/s","SensorId":"/nic/%7BE631063B-F124-4320-A55E-10F6FBFA8809%7D/throughput/8","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]}]}]},' $sJson &= '{"id":193,"Text":"vEthernet (Default Switch)","Min":"","Value":"","Max":"","ImageURL":"images_icon/nic.png","Children":[' $sJson &= '{"id":194,"Text":"Load","Min":"","Value":"","Max":"","ImageURL":"images_icon/load.png","Children":[' $sJson &= '{"id":195,"Text":"Network Utilization","Min":"0.0 %","Value":"0.0 %","Max":"0.0 %","SensorId":"/nic/%7B6E0870E1-CCF6-4BF0-BBEB-5DEBD5E4CA20%7D/load/1","Type":"Load","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":196,"Text":"Data","Min":"","Value":"","Max":"","ImageURL":"images_icon/power.png","Children":[' $sJson &= '{"id":197,"Text":"Data Uploaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7B6E0870E1-CCF6-4BF0-BBEB-5DEBD5E4CA20%7D/data/2","Type":"Data","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":198,"Text":"Data Downloaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7B6E0870E1-CCF6-4BF0-BBEB-5DEBD5E4CA20%7D/data/3","Type":"Data","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":199,"Text":"Throughput","Min":"","Value":"","Max":"","ImageURL":"images_icon/throughput.png","Children":[' $sJson &= '{"id":200,"Text":"Upload Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"0.2 KB/s","SensorId":"/nic/%7B6E0870E1-CCF6-4BF0-BBEB-5DEBD5E4CA20%7D/throughput/7","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":201,"Text":"Download Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"0.0 KB/s","SensorId":"/nic/%7B6E0870E1-CCF6-4BF0-BBEB-5DEBD5E4CA20%7D/throughput/8","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]}]}]},' $sJson &= '{"id":202,"Text":"vEthernet (External-10G1)","Min":"","Value":"","Max":"","ImageURL":"images_icon/nic.png","Children":[' $sJson &= '{"id":203,"Text":"Load","Min":"","Value":"","Max":"","ImageURL":"images_icon/load.png","Children":[' $sJson &= '{"id":204,"Text":"Network Utilization","Min":"0.0 %","Value":"0.0 %","Max":"1.2 %","SensorId":"/nic/%7B3A2A9FA7-B791-4A10-BD96-0F42901DA286%7D/load/1","Type":"Load","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":205,"Text":"Data","Min":"","Value":"","Max":"","ImageURL":"images_icon/power.png","Children":[' $sJson &= '{"id":206,"Text":"Data Uploaded","Min":"0.2 GB","Value":"0.3 GB","Max":"0.3 GB","SensorId":"/nic/%7B3A2A9FA7-B791-4A10-BD96-0F42901DA286%7D/data/2","Type":"Data","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":207,"Text":"Data Downloaded","Min":"1.6 GB","Value":"1.7 GB","Max":"1.7 GB","SensorId":"/nic/%7B3A2A9FA7-B791-4A10-BD96-0F42901DA286%7D/data/3","Type":"Data","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":208,"Text":"Throughput","Min":"","Value":"","Max":"","ImageURL":"images_icon/throughput.png","Children":[' $sJson &= '{"id":209,"Text":"Upload Speed","Min":"0.0 KB/s","Value":"0.1 KB/s","Max":"329.2 KB/s","SensorId":"/nic/%7B3A2A9FA7-B791-4A10-BD96-0F42901DA286%7D/throughput/7","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":210,"Text":"Download Speed","Min":"0.0 KB/s","Value":"0.1 KB/s","Max":"14.5 MB/s","SensorId":"/nic/%7B3A2A9FA7-B791-4A10-BD96-0F42901DA286%7D/throughput/8","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]}]}]},' $sJson &= '{"id":211,"Text":"vEthernet (External-10G2)","Min":"","Value":"","Max":"","ImageURL":"images_icon/nic.png","Children":[' $sJson &= '{"id":212,"Text":"Load","Min":"","Value":"","Max":"","ImageURL":"images_icon/load.png","Children":[' $sJson &= '{"id":213,"Text":"Network Utilization","Min":"NaN %","Value":"NaN %","Max":"NaN %","SensorId":"/nic/%7B3B737EFB-82A0-455A-BAEE-AE96F07A8468%7D/load/1","Type":"Load","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":214,"Text":"Data","Min":"","Value":"","Max":"","ImageURL":"images_icon/power.png","Children":[' $sJson &= '{"id":215,"Text":"Data Uploaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7B3B737EFB-82A0-455A-BAEE-AE96F07A8468%7D/data/2","Type":"Data","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":216,"Text":"Data Downloaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7B3B737EFB-82A0-455A-BAEE-AE96F07A8468%7D/data/3","Type":"Data","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":217,"Text":"Throughput","Min":"","Value":"","Max":"","ImageURL":"images_icon/throughput.png","Children":[' $sJson &= '{"id":218,"Text":"Upload Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"0.0 KB/s","SensorId":"/nic/%7B3B737EFB-82A0-455A-BAEE-AE96F07A8468%7D/throughput/7","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":219,"Text":"Download Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"0.0 KB/s","SensorId":"/nic/%7B3B737EFB-82A0-455A-BAEE-AE96F07A8468%7D/throughput/8","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]}]}]},' $sJson &= '{"id":220,"Text":"vEthernet (External-1G-LM)","Min":"","Value":"","Max":"","ImageURL":"images_icon/nic.png","Children":[' $sJson &= '{"id":221,"Text":"Load","Min":"","Value":"","Max":"","ImageURL":"images_icon/load.png","Children":[' $sJson &= '{"id":222,"Text":"Network Utilization","Min":"0.0 %","Value":"0.0 %","Max":"0.0 %","SensorId":"/nic/%7B66E1E14F-15F1-43B8-860E-8D1F67C4D1E0%7D/load/1","Type":"Load","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":223,"Text":"Data","Min":"","Value":"","Max":"","ImageURL":"images_icon/power.png","Children":[' $sJson &= '{"id":224,"Text":"Data Uploaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7B66E1E14F-15F1-43B8-860E-8D1F67C4D1E0%7D/data/2","Type":"Data","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":225,"Text":"Data Downloaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7B66E1E14F-15F1-43B8-860E-8D1F67C4D1E0%7D/data/3","Type":"Data","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":226,"Text":"Throughput","Min":"","Value":"","Max":"","ImageURL":"images_icon/throughput.png","Children":[' $sJson &= '{"id":227,"Text":"Upload Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"0.0 KB/s","SensorId":"/nic/%7B66E1E14F-15F1-43B8-860E-8D1F67C4D1E0%7D/throughput/7","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":228,"Text":"Download Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"0.0 KB/s","SensorId":"/nic/%7B66E1E14F-15F1-43B8-860E-8D1F67C4D1E0%7D/throughput/8","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]}]}]},' $sJson &= '{"id":229,"Text":"vEthernet (External-1G-V)","Min":"","Value":"","Max":"","ImageURL":"images_icon/nic.png","Children":[' $sJson &= '{"id":230,"Text":"Load","Min":"","Value":"","Max":"","ImageURL":"images_icon/load.png","Children":[' $sJson &= '{"id":231,"Text":"Network Utilization","Min":"0.0 %","Value":"0.0 %","Max":"0.0 %","SensorId":"/nic/%7B32D010F6-B973-4762-BDAC-FA4266A2D4D4%7D/load/1","Type":"Load","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":232,"Text":"Data","Min":"","Value":"","Max":"","ImageURL":"images_icon/power.png","Children":[' $sJson &= '{"id":233,"Text":"Data Uploaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7B32D010F6-B973-4762-BDAC-FA4266A2D4D4%7D/data/2","Type":"Data","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":234,"Text":"Data Downloaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7B32D010F6-B973-4762-BDAC-FA4266A2D4D4%7D/data/3","Type":"Data","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":235,"Text":"Throughput","Min":"","Value":"","Max":"","ImageURL":"images_icon/throughput.png","Children":[' $sJson &= '{"id":236,"Text":"Upload Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"0.0 KB/s","SensorId":"/nic/%7B32D010F6-B973-4762-BDAC-FA4266A2D4D4%7D/throughput/7","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":237,"Text":"Download Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"0.0 KB/s","SensorId":"/nic/%7B32D010F6-B973-4762-BDAC-FA4266A2D4D4%7D/throughput/8","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]}]}]},' $sJson &= '{"id":238,"Text":"vEthernet (External-WiFi)","Min":"","Value":"","Max":"","ImageURL":"images_icon/nic.png","Children":[' $sJson &= '{"id":239,"Text":"Load","Min":"","Value":"","Max":"","ImageURL":"images_icon/load.png","Children":[' $sJson &= '{"id":240,"Text":"Network Utilization","Min":"0.0 %","Value":"0.0 %","Max":"0.0 %","SensorId":"/nic/%7B17DC36A3-5016-4FBF-BACA-303B7BF118FD%7D/load/1","Type":"Load","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":241,"Text":"Data","Min":"","Value":"","Max":"","ImageURL":"images_icon/power.png","Children":[' $sJson &= '{"id":242,"Text":"Data Uploaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7B17DC36A3-5016-4FBF-BACA-303B7BF118FD%7D/data/2","Type":"Data","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":243,"Text":"Data Downloaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7B17DC36A3-5016-4FBF-BACA-303B7BF118FD%7D/data/3","Type":"Data","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":244,"Text":"Throughput","Min":"","Value":"","Max":"","ImageURL":"images_icon/throughput.png","Children":[' $sJson &= '{"id":245,"Text":"Upload Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"0.0 KB/s","SensorId":"/nic/%7B17DC36A3-5016-4FBF-BACA-303B7BF118FD%7D/throughput/7","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":246,"Text":"Download Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"0.0 KB/s","SensorId":"/nic/%7B17DC36A3-5016-4FBF-BACA-303B7BF118FD%7D/throughput/8","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]}]}]},' $sJson &= '{"id":247,"Text":"vEthernet (Internal)","Min":"","Value":"","Max":"","ImageURL":"images_icon/nic.png","Children":[' $sJson &= '{"id":248,"Text":"Load","Min":"","Value":"","Max":"","ImageURL":"images_icon/load.png","Children":[' $sJson &= '{"id":249,"Text":"Network Utilization","Min":"0.0 %","Value":"0.0 %","Max":"0.0 %","SensorId":"/nic/%7B53CDE2B8-DD00-463B-B79E-60E0F7E10CF1%7D/load/1","Type":"Load","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":250,"Text":"Data","Min":"","Value":"","Max":"","ImageURL":"images_icon/power.png","Children":[' $sJson &= '{"id":251,"Text":"Data Uploaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7B53CDE2B8-DD00-463B-B79E-60E0F7E10CF1%7D/data/2","Type":"Data","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":252,"Text":"Data Downloaded","Min":"0.0 GB","Value":"0.0 GB","Max":"0.0 GB","SensorId":"/nic/%7B53CDE2B8-DD00-463B-B79E-60E0F7E10CF1%7D/data/3","Type":"Data","ImageURL":"images/transparent.png","Children":[]}]},' $sJson &= '{"id":253,"Text":"Throughput","Min":"","Value":"","Max":"","ImageURL":"images_icon/throughput.png","Children":[' $sJson &= '{"id":254,"Text":"Upload Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"1.3 KB/s","SensorId":"/nic/%7B53CDE2B8-DD00-463B-B79E-60E0F7E10CF1%7D/throughput/7","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]},' $sJson &= '{"id":255,"Text":"Download Speed","Min":"0.0 KB/s","Value":"0.0 KB/s","Max":"0.0 KB/s","SensorId":"/nic/%7B53CDE2B8-DD00-463B-B79E-60E0F7E10CF1%7D/throughput/8","Type":"Throughput","ImageURL":"images/transparent.png","Children":[]}]}]}]}]}' Return $sJson EndFunc ;==>TheJsonStr also, the new UDF update may have broken things retuning a nul instead of an empty string ? IDs between 20 and 44 don't show. @AspirinJunkie, @SOLVE-SMART, ..help
-
Using .NET libary with AutoIt, possible?
argumentum replied to mjolnirmarkiv's topic in AutoIt Projects and Collaboration
No, is not. But if you're looking to get the data from LibreHardwareMonitor, you can use WMI or grab the JSON: $sJson = BinaryToString(InetRead("http://" & $sIP & ":8085/data.json")) Then with the JSON you can do something like: that to me is better, because you can gather data from all PCs in your network. Unless you "need" to use the DLL way, this was the idea I presented. Edit: I mean that I am off-topic, not you. Pardon the misinterpretation. -
Using .NET libary with AutoIt, possible?
argumentum replied to mjolnirmarkiv's topic in AutoIt Projects and Collaboration
Off-Topic, but I would either use http://<yourIP>:8085/data.json or WMI ( my take long ago ). If the DLL is lighter on the script ( less CPU ) then, go after the DLL ( and share the code once you get it working ) -
WinSockUDF - TCP/UDP Networking Library for AutoIt
argumentum replied to Trong's topic in AutoIt Example Scripts
Forum in dark theme: vs. Dark Reader extension: So yeah, I use the default forum theme with the DarkReader extension that does what @Trong say the forum should have done for it's dark theme. 🤷♂️