macOS - Temperature
To be able to measure temperature on macOS I created a little additional package. Due to some difficulties in NPM with optionalDependencies I unfortunately was getting unexpected warnings on other platforms. So I decided to drop this optional dependency for macOS - so by default, you will not get correct values.
But if you need to detect macOS temperature just run the following additional installation command:
$ npm install osx-temperature-sensor --save
systeminformation will then detect this additional library and return the temperature when calling systeminformations standard function cpuTemperature()
Windows Temperature, Battery, ...
wmic - which is used to determine temperature and battery sometimes needs to be run with admin privileges. So if you do not get any values, try to run it again with according privileges. If you still do not get any values, your system might not support this feature. In some cases we also discovered that wmic returned incorrect temperature values.
In some cases you need to install the linux sensors package to be able to measure temperature e.g. on DEBIAN based systems by running
$ sudo apt-get install lm-sensors
Linux S.M.A.R.T. Status
To be able to detect S.M.A.R.T. status on Linux you need to install smartmontools. On DEBIAN based linux distributions you can install it by running:
$ sudo apt-get install smartmontools
To get correct values with fsStats(), disksIO() and networkStats() please check this guide
Finding New Issues
If you still have problems, please feel free to open an issue on our github page