I'm trying to get the CPU and GPU temperatures of my computer that I connect via ssh. When I try wmic /namespace:\\root\wmi PATH MSAcpi_ThermalZoneTemperature get CurrentTemperature command I got this error ;
Node - ADMIN
ERROR:
Description = Not supported
Then I decided to use https://openhardwaremonitor.org/
But I don't know how to use OpenHardwareMonitorLib.dll in nodejs. I am currently working with VS Code for my NodeJS project. I am trying to follow http://www.lattepanda.com/topic-f11t3004.html directions. According to the direction here, I need to add the OpenHardwareMonitorLib.dll file to the project and display the CPU and GPU temperature like that. I don't know much about how to add the dll file to the nodejs project and how to use the functions. I would be glad if you help.