USB fan speed? #2865
Replies: 2 comments
-
Complete Python script can be found here: https://github.com/kounch/argonone/blob/master/argononed.py but there is no API to get the Fan speed: https://github.com/kounch/argonone/blob/master/argononed.py#L88-L107 Perhaps the best solution to integrate it in Glances is by using AMP: https://glances.readthedocs.io/en/latest/aoa/amps.html By adding something like that in the glances.conf file:
|
Beta Was this translation helpful? Give feedback.
-
This almost works, but the returned format isn't compatible it appears. Also, this gives you the duty cycle of the fan, and not the actual speed. In zsh this returns "Fan Speed x" python3 /etc/argon/argonstatus.py "fan speed" | grep "Fan Speed" So a one line bash wrapper works (pipe symbol verboten in AMP). This is pretty "hacky", but it gets the job done in case anyone else sees this. Thanks for the suggestion @nicolargo
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Pi5 with an ArgonOne case that uses a USB bus connected fan. So unlike the factory PWM fan, you won't see the fan speed in glances. Has anyone looked at adding this to glances? Here is a code snippet from the Argon script in case it's of use.
Given how use case specific this is, it's likely not practical to add?
Beta Was this translation helpful? Give feedback.
All reactions