I got my 4 GB Pi 4 four days ago, and fitted it with a Pimoroni fan shim. Great. Idles at 40 C, can’t push it over about 64 even with cpuburn. Standard Raspbian Buster. This morning to my surprise, on boot up I saw that a bright blue LED was shining from the fan shim PCB. I can’t work out why it wasn’t lit before. Anyhow, I decided to download & install the software so I did
sudo pip install fanshim
git clone https://github.com/pimoroni/fanshim-python
I ran this python script
from fanshim import FanShim fanshim = FanShim() fanshim.set_fan(False) #fanshim.set_fan(True) fa=fanshim.get_fan() # returns 1 for 'on', 0 for 'off print fa # make LED red fanshim.set_light(255, 0, 0)
The fan didn’t stop, the value of fa was printed as 0, and the LED went out. (permanently so far, despite numerous reboots).
Has anybody got any ideas about what I did wrong?