Skip to content

[WIP] Add sensor values for m1#1339

Open
shubhindia wants to merge 1 commit into
shirou:masterfrom
shubhindia:fix-temperature-readings-on-m1
Open

[WIP] Add sensor values for m1#1339
shubhindia wants to merge 1 commit into
shirou:masterfrom
shubhindia:fix-temperature-readings-on-m1

Conversation

@shubhindia
Copy link
Copy Markdown

@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 shubhindia123@gmail.com

Signed-off-by: shubhindia <shubhindia123@gmail.com>
@vfpinheiro
Copy link
Copy Markdown

@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
Copy Markdown
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