Here I want to turn off / start my Raspberry Pi model 3b + via a push button. I use the GPIO 13 which connects to the mass if you press the button. check http://pi4j.com/images/j8header-3b.png2
Python code is used to handle the extinction. A long press (5s) actually turn it off. but how to turn on back again???
it seems that waiting a few seconds and double click on the same button makes it start. But why the hell it starting? the code cannot affect it because the Rpi is "sleep" (the red led stays on but not the green). I waited in case it restart by itself but no.
anyone knows why it turnon when connecting GPIO 13 to the mass?
thanks in advance for your suggestions: slight_smile: