When the temperature reaches above 40 degrees (set low for testing) the LED does indeed change to yellow, but the fan doesn't start up. CPU temperature is now at 50 degrees and the fan doesn't start.
As soon as I stop the pimoroni-fanshim.service, the fan starts spinning (i.e. default behaviour) perfectly fine.
I have confirmed that I can read the CPU temp from psutil.sensors_temperatures().
If I try to run automatic.py I receive the following error:
(venv) [morrolan@europa examples]$ python automatic.py --on-threshold 65 --off-threshold 40 --delay 2
Traceback (most recent call last):
File "automatic.py", line 87, in
fanshim = FanShim()
File "/home/morrolan/Development/fanshim-python/venv/lib/python3.8/site-packages/fanshim/init.py", line 34, in init
GPIO.setup(self._pin_fancontrol, GPIO.OUT)
RuntimeError: Not running on a RPi!
However, I can assure you that I am running an an RPi :)
After installing fanshim on a Pi 4 running Manjaro ARM with i3wm, I have ran:
When the temperature reaches above 40 degrees (set low for testing) the LED does indeed change to yellow, but the fan doesn't start up. CPU temperature is now at 50 degrees and the fan doesn't start.
As soon as I stop the pimoroni-fanshim.service, the fan starts spinning (i.e. default behaviour) perfectly fine.
I have confirmed that I can read the CPU temp from psutil.sensors_temperatures().
If I try to run automatic.py I receive the following error:
However, I can assure you that I am running an an RPi :)