fanshim-python icon indicating copy to clipboard operation
fanshim-python copied to clipboard

Python library for the Fan SHIM for Raspberry Pi

Results 25 fanshim-python issues
Sort by recently updated
recently updated
newest added

Hey guys, the preempt feature doesn't seem to work with 32bit userland 64bit kernel on raspberry pi os / rpi 4b. when i use with the preempt, everything is ok...

If someone takes a fresh Pi 4 and installs a fan shim and nothing else, it is possible it will never spin at all. Any older revision of the Pi...

It looks like in many (all?) cases we can just attempt to read `/sys/class/thermal/thermal_zone0/temp` and `/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq` to get the current CPU temperature and CPU scaling frequency- avoiding the psutil dependency....

enhancement

Fixes #13 (which is still present)

Added basic fan status logging for use with external metrics collectors. Example for Telegraf: ``` [[inputs.file]] files = ["/var/log/fanshim_status"] name_override = "fanshim_status" data_format = "value" data_type = "integer" ```

enhancement

Fixing the manual mode. After switching modes by long press, once a short press on button is detected the fan will switch and stay in new mode rather than reverting...

bug
enhancement
help wanted

Currently the setup script generates a unit file with the settings (on/off temperature etc) hardcoded into the command line. This has a few problems: * The settings are difficult to...

enhancement
help wanted

My umask for user pi is 077 because I don't like everything to be world-readable by default. I installed the fanshim library and daemon and it works well. Later, I...

Following up on https://github.com/pimoroni/fanshim-python/issues/19, I made a quick C++ code for the fanshim (no button yet). Anyone interested in review the code for bugs, etc? Note that it's very experimental/rough...

help wanted

When automatic.py first loads, the python start-up causes a CPU spike large enough to trigger the fan preempt mode. This causes the fan to spin for a few ms at...

enhancement