RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Run shutdown script via Amazon Alexa?

    Scheduled Pinned Locked Moved Help and Support
    alexaretropieshutdown script
    6 Posts 2 Posters 513 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.
    • D
      Dinsdale
      last edited by

      Hey everyone

      Currently moving all my AV equipment into a hidden unit in the kitchen. Receiver, PS4 etc - to support my surround sound setup.

      The only kicker and only device I can’t control with Alexa is of course my 3B+ running RetroPie.

      It’s been suggested I can simply plug this into a smart plug, and this will give the desired effect “Alexa, turn on/off RetroPie” but - turning it off will simply cut the power and this means no safe shutdown script will run, obviously.

      Is there a way I can use Alexa to control the Pi, so essentially when I say “Alexa, turn off the RetroPie”, it’ll simply just execute the script?

      B 1 Reply Last reply Reply Quote 0
      • B
        BJRetro @Dinsdale
        last edited by

        @Dinsdale aren’t you still using some sort of controller when actually using the pi? If so then wouldn’t you just go to the shutdown menu, safe shut down, then tell Alexa to turn the plug off? Then you tell it to turn the plug on and it will start up again.

        D 1 Reply Last reply Reply Quote 0
        • D
          Dinsdale @BJRetro
          last edited by

          @BJRetro There’s a shutdown menu? I had no idea. I’ll take a look at that later. That might do it. Thank you.

          B 1 Reply Last reply Reply Quote 0
          • B
            BJRetro @Dinsdale
            last edited by BJRetro

            @Dinsdale you are running retropie with emulation station right? How have you been shutting down before this? While in emulation station before you select a game, you just press the key that you have configured as your start key and one of the options is to quit and then select that and shut down. That is then a safe shut down. Then you power off.

            1 Reply Last reply Reply Quote 0
            • D
              Dinsdale
              last edited by

              Thanks - never thought of that! Prior I was just flicking the button on my RetroFlag case which initiated the safe shutdown script.

              B 1 Reply Last reply Reply Quote 0
              • B
                BJRetro @Dinsdale
                last edited by

                @Dinsdale ah got it! Well glad it works now sounds like a really neat set up. On the other hand I would have never thought to use an Alexa powered outlet so I guess teamwork!

                1 Reply Last reply Reply Quote 1
                • 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.