diff --git a/README.md b/README.md index db9d234..e49f1de 100644 --- a/README.md +++ b/README.md @@ -905,10 +905,10 @@ $ npm install osx-temperature-sensor --save #### Windows Temperature, Battery, ... -`wmic` - which is used to determine temperature and battery sometimes needs to be run with admin +`get-WmiObject` - 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 we also discovered that `get-WmiObject` returned incorrect temperature values. #### Linux Temperature diff --git a/docs/battery.html b/docs/battery.html index e392680..1212850 100644 --- a/docs/battery.html +++ b/docs/battery.html @@ -267,7 +267,7 @@ si.battery().then(data => console.log(data));

Known issues

Windows Battery

-

wmic - which is used to determine temperature and battery sometimes needs to be run with admin +

get-WmiObject - 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.

diff --git a/docs/cpu.html b/docs/cpu.html index 8a5bde8..88a0829 100644 --- a/docs/cpu.html +++ b/docs/cpu.html @@ -603,7 +603,7 @@ si.cpuTemperature().then(data => console.log(data));Windows Temperature -

wmic - which is used to determine battery sometimes needs to be run with admin +

get-WmiObject - which is used to determine 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.

diff --git a/docs/general.html b/docs/general.html index d900d82..138a2d8 100644 --- a/docs/general.html +++ b/docs/general.html @@ -364,7 +364,7 @@ si.get(valueObject).then(data => console.log(data));Static data is all hardware related (or more or less constant) data like system, baseboard, bios, OS, versions, cpu, network interfces, memory and disk layout

Dynamic data will return user, cpu-speed, load, processes, services, temperature, file system, network and disk stats, ...

As not all funtions are supported in each operating system the result object might be different in each OS.

-

ATTENTION: Use this only if you really need ALL information. Especially on Windows this can take really long (up to 20 seconds) because the underlying WMIC command is very slow when using it the first time.

+

ATTENTION: Use this only if you really need ALL information. Especially on Windows this can take really long (up to 20 seconds) because the underlying get-WmiObject command is very slow when using it the first time.

diff --git a/docs/issues.html b/docs/issues.html index ca034ce..4fe1e62 100644 --- a/docs/issues.html +++ b/docs/issues.html @@ -59,9 +59,9 @@

Windows Temperature, Battery, ...

-

wmic - which is used to determine temperature and battery sometimes needs to be run with admin +

get-WmiObject - 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.

+ values, your system might not support this feature. In some cases we also discovered that get-WmiObject returned incorrect temperature values.

Linux Temperature

@@ -70,7 +70,7 @@

Windows, macOS - CPU Speed

-

node.js and wmic are not able to determine correct CPU current speed on windows and macOS. +

node.js and get-WmiObject are not able to determine correct CPU current speed on windows and macOS. This means, you will have constant values here on both platforms for all processor cores in cpuCurrentSpeed().

Linux S.M.A.R.T. Status

diff --git a/test/ci.js b/test/ci.js index 1d5e9e8..b324462 100644 --- a/test/ci.js +++ b/test/ci.js @@ -5,7 +5,7 @@ const testWithTimeout = async (fn) => { (async () => { const timeout = setTimeout(() => { reject('Test Timeout'); - }, 120000); + }, 240000); const result = await fn(); clearTimeout(timeout); return resolve(result);