Read the statement by Michael Teeuw here.
Does a hardware on/off button conflict with the mirror software?
-
Hi all,
I’m still in the process of gathering all components voor my mirror and reading up on it.
And I run into a small thing: I’d like to shutdown my Raspberry Pi 3B+ when I go to bed.
So I’d like to add a fysical button like discribed here: howchoo
And I’d like to use this button for that.But I’d like to know if this works with the MagicMirror software?
On a windows pc this would work (the “sleep-mode”) but I haven’t got that much experience with a Pi to know it would work.
So that’s why I’m asking it here.Kind regards,
Mike -
@MWel1977
Hi,It should work without problem with any raspberry with raspbian installed, and MagicMirror works on raspbian ;). The important thing is to connect the button in the apropiate GPIO pins and then the scripts point to that pins. I think the tutorial of the link it should work. Follow instructions on that tutorial.
Make sure the button is a push button instead of a switch.
-
@qu1que
Hi there,Thanks for your reply. Best thing is just to test it with a new clean install of resbian I guess.
I also found this post but after I posted my own question.
I find the possibility of using an app to “shut down” the system also great and hope this also works for an Android device. ;)I’ll just have to use my breadboard and test it out. But I think I’ll order a Pi zero W for that purpose.
If I screw it up it only costed about €10,- :face_with_tears_of_joy: :rolling_on_the_floor_laughing: