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

[Feature] Show cpu temperature #7

Open
DarthBenro008 opened this issue Sep 30, 2020 · 2 comments
Open

[Feature] Show cpu temperature #7

DarthBenro008 opened this issue Sep 30, 2020 · 2 comments
Labels
difficulty: hard enhancement New feature or request hacktoberfest help wanted Extra attention is needed

Comments

@DarthBenro008
Copy link
Member

Please describe the feature you want this project to offer
Show CPU temperature of the computer.

Describe the solution you'd like
Implement GetCpuTemperature() of cpu.go file.

@DarthBenro008 DarthBenro008 added enhancement New feature or request hacktoberfest difficulty: hard help wanted Extra attention is needed labels Sep 30, 2020
@Parth576
Copy link

The gopsutil host package has a function SensorsTemperatures() which returns a list of sensor keys and the corresponding temperature. Can this be used to implement this feature?

@DarthBenro008
Copy link
Member Author

@Parth576 i was looking for a more robust solution, sure the SensorsTemperatures() works well with unix like devices, but you will need to handle if its a windows build(SensorsTemperatures() returns a empty array on Windows) or if termiboard is being run in a virtual machine, hence the difficulty of the feature.

@robahl robahl removed their assignment Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: hard enhancement New feature or request hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants