Njanderson / resmon

Displays resource utilization in the VSCode status bar.
80 stars 22 forks source link

Temperate not working on Mac #19

Open kshahzada opened 4 years ago

kshahzada commented 4 years ago

On my mac, the temperature reading is always -1 C

System info:

Happy to fork and add a fix.

baciucristian commented 4 years ago

Same on Windows.

Dshosev commented 4 years ago

Same here, is someone working on a fix?

System info:

letmaik commented 4 years ago

Temperature is read by the systeminformation package, which this extension relies on. Updating this package to the latest version may fix these issues. If not, then the issue should be reported here instead: https://github.com/sebhildebrandt/systeminformation.

EDIT: There's this note as well: https://github.com/sebhildebrandt/systeminformation#macos---temperature-sensor. Apparently osx-temperature-sensor is required to get temperatures on macOS. This package requires native compilation and therefore can't be easily included in VS Code extensions as of yet. So for now temperature reading on macOS may have to wait and be documented as not working.

Njanderson commented 4 years ago

I'll take a look at solutions here. Let me know if you come up with anything as well!