RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Shutdown Pi from SmartPhone

    Scheduled Pinned Locked Moved Ideas and Development
    appshutdownssh
    21 Posts 8 Posters 7.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • UDb23U
      UDb23 @herb_fargus
      last edited by

      @herb_fargus @Sano
      Thanks for the suggestions, will try them out asap.
      Is it safe to execute a shutdown thru ssh while ES is running or should I exit ES first?

      SanoS 1 Reply Last reply Reply Quote 0
      • SanoS
        Sano @UDb23
        last edited by Sano

        Shutdown does a clean shutdown (SIGTERM then SIGKILL if necessary), it's safe.

        UDb23U 1 Reply Last reply Reply Quote 0
        • B
          backstander @herb_fargus
          last edited by

          @herb_fargus

          I use raspberry ssh.

          Do you use the "Lite" version or the full version?

          herb_fargusH 1 Reply Last reply Reply Quote 0
          • UDb23U
            UDb23 @Sano
            last edited by

            @Sano thanks!

            1 Reply Last reply Reply Quote 0
            • herb_fargusH
              herb_fargus administrators @backstander
              last edited by

              @backstander I paid for the full version because I thought it was a worthwhile investment to support the dev.

              If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

              Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

              1 Reply Last reply Reply Quote 2
              • D
                dudleydes
                last edited by

                I have the free Android app Raspi Check installed on my phone in case I need to reboot my Pi. It is a system monitoring app but does include the shutdown options to Halt as well as Reboot.

                Checking the source code, it appears the Halt option runs the command sudo -S /sbin/shutdown -h now.

                1 Reply Last reply Reply Quote 2
                • B
                  backstander
                  last edited by

                  I've just been using Mobile SSH but I think I'll give the ones that @herb_fargus and @dudleydes mentioned above a try!

                  AlexMurphyA 1 Reply Last reply Reply Quote 0
                  • AlexMurphyA
                    AlexMurphy Banned @backstander
                    last edited by

                    @backstander ConnectBot is also worth checking out.

                    B 1 Reply Last reply Reply Quote 1
                    • B
                      backstander @AlexMurphy
                      last edited by

                      @AlexMurphy

                      ConnectBot is also worth checking out.

                      I'll give that one a try as well!

                      AlexMurphyA 1 Reply Last reply Reply Quote 0
                      • AlexMurphyA
                        AlexMurphy Banned @backstander
                        last edited by

                        @backstander It works great for me. Another tip is to set up bash aliases. This means when I type reboot the system gets the command sudo reboot -h now I have done this for quite a few commands as it makes it easier typing on a phone or tablet to keep it as short as possible. Here's some reading. https://www.raspberrypi.org/documentation/linux/usage/bashrc.md

                        1 Reply Last reply Reply Quote 2
                        • ?
                          A Former User
                          last edited by

                          Hey, something unrelated, but kinda on topic.

                          Is there a way to use a phone as a controller for the Pi somehow?

                          AlexMurphyA 1 Reply Last reply Reply Quote 0
                          • AlexMurphyA
                            AlexMurphy Banned @A Former User
                            last edited by

                            @itsnitro There are Apps for Kodi that you can use your phone with. RetroPie doesn't deal with html control or CEC, afaik.

                            1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User
                              last edited by

                              Aww. :(
                              I would like to see a way to do this using Bluetooth or something.

                              1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User
                                last edited by

                                HOLD UP.
                                https://github.com/RetroPie/RetroPie-Setup/wiki/Virtual-Gamepad

                                AlexMurphyA 1 Reply Last reply Reply Quote 0
                                • AlexMurphyA
                                  AlexMurphy Banned @A Former User
                                  last edited by AlexMurphy

                                  @itsnitro Try it. I heard it was buggy as hell and a pain to remove...

                                  Let me know how you get on.

                                  1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User
                                    last edited by

                                    What happened to AlexMurphy?

                                    UDb23U 1 Reply Last reply Reply Quote 0
                                    • UDb23U
                                      UDb23 @A Former User
                                      last edited by

                                      @itsnitro used "aggressive language" with another user.

                                      1 Reply Last reply Reply Quote 0
                                      • cyperghostC
                                        cyperghost
                                        last edited by

                                        Give Unified Remote a chance
                                        The server package for Rpi ARM6 is available here >> https://www.unifiedremote.com/download/other#linux

                                        Then download the android app und you can control the server

                                        But I'm not sure if this works with RetroPie and ES behind :)

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post

                                        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.