MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    ?Volume control?

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 1.4k Views 2 Watching
    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.
    • J Offline
      Jmh474
      last edited by

      I’m in the middle of building my first MagicMirror2, and yes it’s a fun project.

      I’m just wondering if there is a way to control the volume using voice control??

      Eg saying volume up or down

      I’m running from usb sound card to a little 50w x 2 to two speakers.

      Any ideas would be grate full

      1 Reply Last reply Reply Quote 0
      • Y Offline
        yep_DD
        last edited by

        That is how I do it, I use a HUE Dimmer Switch and FHEM to control it.

        elif self.path=='/down':
                    status='Volume down'
                    subprocess.Popen(["amixer", "set", "Master", "8%-"], preexec_fn=os.setsid)
        elif self.path=='/up':
                    status='Volume up'
                    subprocess.Popen(["amixer", "set", "Master", "8%+"], preexec_fn=os.setsid)
        
        1 Reply Last reply Reply Quote 0
        • J Offline
          Jmh474
          last edited by

          I was wondering if it could be controlled by the raspberry pi itself, when you set up the MagicMirror2, you run through the audio settings for the mic and sound out put…

          Is there any way to control volume from here??

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy