PiSupply / Pi-Supply-Switch

Pi Supply Switch On/Off Switch for Raspberry Pi
https://www.pi-supply.com/product/pi-supply-raspberry-pi-power-switch/
Other
58 stars 17 forks source link

Shutdown after a few minutes #12

Closed martinjungkunz closed 5 years ago

martinjungkunz commented 5 years ago

Hi there,

I have some problem with my Py-Supply On/Off Switch. On and Off work perfectly fine but the soft shutdown does not. That's not much of a problem since my main goal is to cut the power off.

Secondly, the Pi shuts down after a few minutes when used with the Pi-Supply. It's a hard shutdown. I installed the scripts from Github so I think the problem is with the hardware. Have you ever heard of the board acting like that? Thank you in advance, best Martin

francesco-vannini commented 5 years ago

Hey Martin, did you check the service is running fine? https://github.com/PiSupply/Pi-Supply-Switch#how-do-i-know-if-the-service-is-running-properly

martinjungkunz commented 5 years ago

Yes I did and I got the message posted in the your link

shawaj commented 5 years ago

It sounds like you didn't connect the flying GPIO cable between the switch and the Pi?

martinjungkunz commented 5 years ago

Actually i did connect it. If I don't, the Pi aborts the boot after a few seconds. In my case it works fine for about 1 to 3 minutes and then suddenly shuts down.

shawaj commented 5 years ago

It is likely you don't have the software correctly running then or you haven't connected the cable to the correct pin.

That's really the only two things that can cause the issue you're seeing.

martinjungkunz commented 5 years ago

OK, thank you. All I did was connecting the pin with the label 7 to 7 and 8 to 8 and installing via the install script. Don't know what else to do here... but perhaps I'll give it another try.

martinjungkunz commented 5 years ago

Hahaha... and just after I wrote my answer I re-read the readme and realized that 8 goes to 11... will try that later

shawaj commented 5 years ago

Awesome, let us know how you get on

martinjungkunz commented 5 years ago

Works perfect now. Sorry for bothering you although I just should have read more carefully

shawaj commented 5 years ago

No problem at all. That's what we are here for :-)