Onoff SHIM : No led, power on but does not shutdown


I have an issue with my onoff shim : The led does not blink anymore, yet when I press the button it turns on correctly . When I try to hold 5s to shutdown my pi, nothing happens …
Any ideas ? The button seems to work, and the pin soldering seems ok .
I tried to edit /etc/cleanshutd.conf and add “4” to led pin but no improvement .
sudo raspi-gpio set 4 op dl works and turns off my pi

Thanks !

Hello , i dont use mine everyday ,but it always works for me , i’m no expert ,but if mine was to start acting up i would first try re-installing it by typing or copy/ paste this into the terminal ,to run the installer again
curl https://get.pimoroni.com/onoffshim |

Thank you for your message Caperjack1953 !

I tried to reinstall again but no improvement .

I have nothing plugged on GPIO4 exept the onoff shim . I used the ground on pin 6 for my oled screen, but I moved it to another ground, just to be sure it was the cause of my problem . No improvement either .
Any ideas please?


The ground pins are all common (tied together) on the Pi. Having two devices use the same ground pin won’t be an issue. Same deal for the two +5V pins, they are connected to each other.

Ok, so it “was” working in the past but isn’t now?
Installed any other software lately or done and apt-get update upgarde or something?
How is it connected, header or soldered right to the Pi’s GPIO?

Thanks alphanumeric,
Yes it was working and I haven’t installed anything lately … I soldered directly on the Pi .
What is bothering me is that there is no led when I press the button directly on the onoff shim , I think it must blink even if cleanshutd is not installed .
Is it possible to change the GPIO for the shutdown command ? Can I solder directly a remote button to the GPIO (4 and 17 ? )

Thanks !

I better mention I don’t own one. Do you have a second button connected to the two BTN contacts?
If yes does that work? If no, what happens if you temporarily short those two solder contacts together?
A male jumper wire will work for simulating a switch on the two BTN contacts. A flat balded screwdriver would likely work two. Just be careful to only touch those two BTN solder contacts and nothing else.

Have a look at this, might be relevant.