I installed the Fanshim on a PI4 8gb - I’ve tried both with an ubuntu and a raspbian but it seems that the behavior of the fan is quite erratic: while the LEDs respond to sw library, the fan seems not really affected by whatever I do using the library (i’m using the python examples); only if i tilt or move it a bit it either starts or stops.
For example, at the moment it’s running at full speed, noisily, while from the command line :
pi@raspberrypi:~/fanshim-python/examples $ sudo python3 automatic.py --verbose Current: 32.13 Target: 55.00 Freq 1.50 Automatic: True On: True Current: 31.64 Target: 55.00 Freq 0.60 Automatic: True On: False Current: 30.18 Target: 55.00 Freq 0.60 Automatic: True On: False Current: 31.64 Target: 55.00 Freq 0.60 Automatic: True On: False
more explicitly, the fan goes at full speed - noisily - if i do this:
>>> from fanshim import FanShim >>> fanshim = FanShim() >>> fanshim.get_fan() 0 >>> fanshim.set_fan(False) False >>> fanshim.get_fan() 0
Is there anything I can try to understand if it’s an hardware issue (of the fan or of the raspberry) ?