TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Alexa -->TriggerCmd-->Pi-->Fruitbox Jukebox integration

    General Discussion
    2
    5
    484
    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.
    • L
      legtod2
      last edited by

      I have a Raspberry Pi running Fruitbox Jukebox application. I modified the application to provide Text to Speech to announce songs before they play. Now I would like to integrate Amazon Alexa so that I can power on/off the pi (that's simple), and have my own integration to the fruitbox jukebox application. I want it to do commands like volume Up/Down, Play, Next, Pause, Stop, Play selection A1, Play random/Shuffle, Play playlist 80's music.

      There are existing skills out there like plex, mymedia, that do this stuff but it stream the music via the alexa device. I want the application to behave like a fancy remote control via voice and the music playing from the pi not alexa.

      I probably could also use the Linux Lircd remote control samples to but I am not using that to control the app.

      Any sample scripts and curl like urls for volume control, play buttons, etc that could help me on my journey ?

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @legtod2
        last edited by

        @legtod2, I like the idea. Are you going to use hdmi for audio output or the headphone jack?

        My initial google research found this. It has commands for changing volume etc.

        http://raspberrypi-aa.github.io/session3/audio.html

        Russell VanderMey

        L 1 Reply Last reply Reply Quote 0
        • L
          legtod2 @Russ
          last edited by legtod2

          @russ I have the pi inside a 1945 Radio Cabinet. The Audio out is via the headphone jack to an amplifier. The pi is connected to a 7" touchscreen display so the user can navigate the menu interface.

          I will set up a short youtube to provide details of the project.
          https://www.youtube.com/watch?v=AF1oHlUs0z8

          Here is the family of raspberry pi/arduino projects. Jukebox at the end
          https://youtu.be/elCitgHJhkA

          RussR 1 Reply Last reply Reply Quote 0
          • RussR
            Russ @legtod2
            last edited by

            @legtod2, if you can control it with a keyboard, you might be able to use this "keyboard" python module to make commands that simulate keyboard strokes.

            https://github.com/boppreh/keyboard

            Russell VanderMey

            L 1 Reply Last reply Reply Quote 0
            • L
              legtod2 @Russ
              last edited by

              @russ Very cool suggestion. Send the equivalent to pressing a local keyboard keypress.

              1 Reply Last reply Reply Quote 0
              • RussR Russ referenced this topic on
              • First post
                Last post