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 Request: External Temperature Sensors #576

Open
mdr92 opened this issue Jun 17, 2023 · 2 comments
Open

Feature Request: External Temperature Sensors #576

mdr92 opened this issue Jun 17, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@mdr92
Copy link

mdr92 commented Jun 17, 2023

A feature request rather than a bug report. I currently use RPi-Monitor but it's well out of support having not been updated since 2017 by the looks of it, one great feature is the ability to use external sensors and have them plotted on the dashboard, graphs etc (along with a custom name), adding support for cheap temperature/humidty sensors like the DHT-11/DHT-22 would be great, a long with an easy way to setup and use them.

Thanks

@mdr92 mdr92 added the bug Something isn't working label Jun 17, 2023
@ravenclaw900 ravenclaw900 added enhancement New feature or request and removed bug Something isn't working labels Jun 17, 2023
@MichaIng
Copy link
Collaborator

Such an external sensor would not be used for the CPU temperature, right? So it would not be a replacement for CPU temp graph, but an additional graph.

I have not so much experience with sensors, but there are several different interfaces possible, 1-wire, I2C and others. And the kind of values may be pretty different, sometimes with associated timestamps, sometimes without etc. Do you know how it is implemented in RPi-Monitor? A generic method, just reading from a file (real or kernel API) and expecting it to be numerical, would be of course possible.

@ravenclaw900
Copy link
Owner

ravenclaw900 commented Jul 27, 2023

I'm considering eventually switching from the psutil crate to sysinfo to get system data. It seems to be similar in size, if not slightly lighter weight, and provides more options for getting data, like listing external device temperatures through sysfs.

EDIT: Apparantly, 2 versions of nix are compiled into the project. psutil pulls in 0.23, while pty-process uses 0.26. Eliminating one of those would almost certainly help reduce binary size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants