Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add sensor values for m1 #1339

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shubhindia
Copy link

@shubhindia shubhindia commented Aug 5, 2022

Added the necessary ids for sensors on m1 machines from https://github.com/exelban/stats/blob/master/Modules/Sensors/values.swift#L232
Still returns 0 😔
Signed-off-by: shubhindia [email protected]

Signed-off-by: shubhindia <[email protected]>
@vfpinheiro
Copy link

@shubhindia Do you have any updates on this? I have been trying to do the same, adding M1 and M2 keys to work.

Actually I found some keys that worked showing temperatures different than 0, but all of them were very weird, I'm letting just some of the M2 examples here because I couldn't find any explanation on why this is happening yet. Also the forked project where I have this changes applied: https://github.com/vfpinheiro/gopsutil/blob/task/INF-29522/host/smc_darwin.h

M2 Values (in ºC)
TW0P: 0
TH0x: 96
TH1B: 0
Tp05: 244
Tp0D: 42
Tp0j: 186
Tp0r: 219
Tp01: 172
Tp09: 26
Tp0f: 117
Tp0n: 151
Tg0f: 196
Tg0n: 250

@shubhindia
Copy link
Author

shubhindia commented May 24, 2023

@vfpinheiro hey, I haven't really got a change to work on it, so no progress so far from my side. Will take a look at your changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants