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

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

General Discussion
2
5
530
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 Jan 17, 2022, 1:38 PM

    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 ?

    R 1 Reply Last reply Jan 17, 2022, 1:51 PM Reply Quote 0
    • R
      Russ @legtod2
      last edited by Jan 17, 2022, 1:51 PM

      @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 Jan 17, 2022, 4:28 PM Reply Quote 0
      • L
        legtod2 @Russ
        last edited by legtod2 Jan 17, 2022, 4:36 PM Jan 17, 2022, 4:28 PM

        @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

        R 1 Reply Last reply Jan 17, 2022, 10:36 PM Reply Quote 0
        • R
          Russ @legtod2
          last edited by Jan 17, 2022, 10:36 PM

          @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 Jan 18, 2022, 5:15 PM Reply Quote 0
          • L
            legtod2 @Russ
            last edited by Jan 18, 2022, 5:15 PM

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

            1 Reply Last reply Reply Quote 0
            • R Russ referenced this topic on Feb 20, 2022, 6:30 PM
            2 out of 5
            • First post
              2/5
              Last post