• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MMM-Jarvis-Voice-Control

Scheduled Pinned Locked Moved System
27 Posts 10 Posters 24.8k Views 13 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.
  • M Offline
    merceaemil
    last edited by yawns Jul 26, 2017, 10:18 AM Jul 26, 2017, 12:52 AM

    Description

    Hello guys,

    I’m new here and started playing around for 2 months now with MagicMirror, great product by the way, and i was searching for a nice solution for voice control that could work ok for me.

    I tried multiple modules but some of them were really hard to implement and some of them did not work as expected (mostly could not understand my poor language).

    A few days ago i have seen a post on this forum with an issue on some module and the guy said that he used OpenJarvis to control that module. Then i searched this forum regarding Jarvis but i could not find anything regarding this solution for Voice Control.

    So i started to look into it and i finally made a module for MagicMirror and a plugin for OpenJarvis which are really easy to install and easy to configure or integrate with other modules.

    Features:
    Displays what Jarvis is saying inside MagicMirror
    Shows an animated circle icon when Jarvis is listening (Similar to Siri, Cortana etc)
    Change circle color to orange when listening period expired
    Hides circle when Jarvis stops listening
    Offers the posibility to define custom voice commands which can be executed by saying: “PLEASE [YOUR COMMAND]”
    Thanks to OpenJarvis you can have really nice Voice AI features like asking what time is it, what is his name etc. etc.

    Please bare in mind that this is a project built in 5-6 days in my spare time. On my sistem it works now for 12 hours now and still ok.

    I would appreciate your feedback and suggestions for this module. Thanks

    Download

    [card:merceaemil/MMM-Jarvis-Voice-Control]

    M S N 3 Replies Last reply Jul 26, 2017, 1:11 AM Reply Quote 1
    • M Offline
      Mykle1 Project Sponsor Module Developer @merceaemil
      last edited by Jul 26, 2017, 1:11 AM

      @merceaemil

      I’ll give it a whirl when I have a chance.

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • C Offline
        cowboysdude Module Developer
        last edited by cowboysdude Jul 26, 2017, 2:15 AM Jul 26, 2017, 1:15 AM

        Looks good.

        1 Reply Last reply Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer @merceaemil
          last edited by Jul 26, 2017, 10:03 AM

          @merceaemil I looked into openjarvis, it’s basically an offline hotword detection with snowboy or pocketsphinx and then it uses online detection for commands with bing or google

          Please create a github issue if you need help, so I can keep track

          M 1 Reply Last reply Jul 26, 2017, 11:27 AM Reply Quote 1
          • Y Offline
            yawns Moderator
            last edited by Jul 26, 2017, 10:19 AM

            Sounds interesting. Would you mind adding some screenshots or even a video showing your module in action?

            M 1 Reply Last reply Jul 26, 2017, 11:28 AM Reply Quote 0
            • M Offline
              merceaemil @strawberry 3.141
              last edited by Jul 26, 2017, 11:27 AM

              @strawberry-3.141

              Yes you’re right. Default configuration for openjarvis is snowboy for hotword and bing for online detection. Bing offers 5,000 transactions free per month which seems enough for daily usage.
              Also OpenJarvis supports multi language and has a nice setup screen which i think it’s a plus.
              The down side is that their online documentation and tutorials are in french but with google translate works great :)

              1 Reply Last reply Reply Quote 0
              • M Offline
                merceaemil @yawns
                last edited by Jul 26, 2017, 11:28 AM

                @yawns
                I will try to make a video right now.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  merceaemil
                  last edited by merceaemil Jul 26, 2017, 11:59 AM Jul 26, 2017, 11:50 AM

                  Here is the video.

                  I integrated Jarvis with 3 of my installed modules: Camera, mm-music-player & one custom radio player.
                  There is no sound in this video because my voice is captured on the mirror and on my pc i have no microphone (because i used it when I built my mirror :) ).

                  BUT there will be two moments when you will here sound and that is when the music starts playing and when the radio starts playing :) because the video recorder also records sound played by my browser.

                  Also you can not here Jarvis in the video because his sound is not played via browser instead it is played directly from OpenJarvis.

                  https://youtu.be/EE8_pSKV54Q

                  OpenJarvis plugins I installed and are quite usefull:

                  • jarvis-magicmirror - This will send events to MMM-Jarvis-Voice-Control
                  • jarvis-riverscript - Gives jarvis the posibility for small talk
                  • jarvis-youtube-player - You can use commands like: play music from youtube or play video from youtube
                  • jarvis-wikipedia - You can get some answers with this one. Command: Give me the definition “of something”
                  • jarvis-ui - This gives you a nice interface where you can start chatting with Jarvis via writing.
                  • jarvis-system-startup - This will give you the posibility to setup Jarvis to start at boot time
                  1 Reply Last reply Reply Quote 1
                  • C Offline
                    cowboysdude Module Developer
                    last edited by cowboysdude Jul 27, 2017, 2:16 AM Jul 27, 2017, 2:08 AM

                    Well I reinstalled it following all the recommended settings. The instructions are lacking a lot. I understand this all and I can’t get it working at all. So the average user is going to be totally lost. The instructions here https://github.com/merceaemil/MMM-Jarvis-Voice-Control do not tell the user where to install them… in the MagicMirror directory… outside the directory…unclear. Same with the jarvis plugin… where is the user supposed to install it? It all loads without error but fails to work… I have installed a couple different ways and it fails to work without any errors.

                    M 1 Reply Last reply Jul 27, 2017, 6:53 AM Reply Quote 1
                    • M Offline
                      merceaemil @cowboysdude
                      last edited by merceaemil Jul 27, 2017, 7:08 AM Jul 27, 2017, 6:53 AM

                      @cowboysdude Does it give you any error in console log ? What exactly is not working, JARVIS or the MagicMirror plugin? Is jarvis responding to the wake word?

                      Can you start Jarvis is Troubleshooting mode and Magic mirror in dev mode and share screenshots of logs when you are trying to use it?

                      How to start Jarvis:
                      https://www.openjarvis.com/content/usage

                      If you can respond to this questions i can try to figure out what it’s missing on your enviroment and i can fix the code and documentation

                      C A A 3 Replies Last reply Jul 27, 2017, 11:05 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        1/27
                        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