Node JS, Read CPU temperature

darclander picture darclander · Nov 6, 2017 · Viewed 10.7k times · Source

I am currently working on a project where I want to read the temperature of my CPU but I do not know how to it properly without using external programs such as "CpuTemp" etcetera. According to some sources I should be able to use Node JS together with a package to read the CPU temperature. I managed to read total memory on my PC and uptime via the package "OS". Are there any package I can use to display the CPU temperature or should I do something else to read it?

I have been told I should use Node JS together with WMI, I dont know how to continue on that though.

Answer

ag_ picture ag_ · Nov 6, 2017

Simple web search will return a bunch of nodeJS packages for tracking CPU temperature. For example https://github.com/sebhildebrandt/systeminformation

Have not tested it, but does look like something you would be looking for.