Njanderson/resmon

Temperate not working on Mac

Opened this issue · 4 comments

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

System info:

  • macOS Mojave 10.14.6
  • MacBook Pro 13" 2017
  • Intel Core i5 2.3 GHz

Happy to fork and add a fix.

Same on Windows.

Same here, is someone working on a fix?

System info:

  • macOS Catalina 10.15.3
  • MacBook Pro 15" late 2013
  • Intel Core i7 2.0 GHz

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.

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