Skip to content

Restore temperature info for macOS #797

@adamsmith

Description

@adamsmith

macOS used to support temperature readings. Support for this was added in #334 but later reverted in c95755e because the original PR included GPL-covered code (issue).

Describe the solution you'd like
I believe this functionality can be added back using open source code. Specifically, there is C code that reads the same information from the Apple SMC here.

If in the future you want to add support for fan speeds, there's a C implementation of that here.

(I found these by searching Github-wide for SMCParamStruct NOT MERCHANTABILITY.)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions