MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. dmwilsonkc
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 25
    • Groups 0

    Posts

    Recent Best Controversial
    • Yet another AI for MagicMirror: This time it's Mycroft.

      Hello everyone! I just thought I’d share what I’ve been working on. Thanks to @strawberry-3-141 and @Mykle1 for pointing me in the right direction from the very beginning. And of course thanks to @Jopyth for the great work on the MMM-Remote-Control module that I’m using to communicate commands to the MagicMirror’s modules from Mycroft.

      Here’s a little video:
      https://www.youtube.com/watch?v=wshzsd5hOMA

      And here’s the complete history of how I got here, and a roadmap of how you can use Mycroft to control your MagicMirror.

      I got the idea from seeing the really cool MMM-voice module @strawberry-3-141 created with the Hello-Lucy modifications @Mykle1 created. And while I like the idea of having the voice recognition on board (not sending it off to Google or Alexa), I wanted the ability to do more than control the Mirror. You know, an AI that could do other things. So that’s how I found Mycroft, an open source AI that I’m more comfortable with using.

      Let me know what you think. I would love suggestions or ideas to improve on the combination of MagicMirror and Mycroft.

      Cheers!

      posted in Show your Mirror
      D
      dmwilsonkc
    • RE: Yet another AI for MagicMirror: This time it's Mycroft.

      @cyberphox Yes to the RPi. It’s a RPi 3b. Both the MagicMirror and the Mycroft-core fit onto a 16gb sd card with loads of room to spare. It’s running Debian Jesse (not lite) with the Pixel desktop. For the most part, it’s pretty responsive. Occasionally it takes a few seconds like you see in the video. Part of the lag is my hardware is not put together and the video was done by using RealVNC and remoting into the RPi. All of the history is in the link above, including links to all the software.

      posted in Show your Mirror
      D
      dmwilsonkc
    • RE: [Remote-Control] Shutdown, Configure and Update your MagicMirror

      @jopyth I just want to thank you again for your work on this module! Your module rocks!

      BTW - It doesn’t have to be a mobile/tablet, I wrote an AI skill for Mycroft that uses your MMM-Remote-Control module to pass verbal commands to the MagicMirror.

      If you’d like, check out the 2 min. video here.

      And here’s a link to the repo if anyone would like to check out the Python code that interacts with the MMM-Remote-Control module.

      Thanks again!
      Cheers!

      posted in System
      D
      dmwilsonkc
    • RE: MMM-voice

      So I must say the MMM-voice module (also with Mykle’s Hello-Lucy enhancements) works perfectly on my mirror… when I don’t have my Mycroft AI running at start as well. It’s an Error: resource busy/unavailable referring to the Microphone. When I stop Mycroft/restart mirror it works perfectly, but then Mycroft gets the same error. Any suggestions?

      I am thinking about building a MagicMirror skill for Mycroft, but Mycroft is Python not Java, and not a module. Would it be possible to send the same commands as Hello-Lucy (i.e. ‘HIDE_CLOCK’ for example) only use Websocket-client for Mycroft and send commands to the MagicMirror via socket.io?

      If so, what would handle the socketmessage? Would it be communicated to the right module/s. Would I also need to create a fork of the MMM-voice module with code to handle the socketmessages from Mycroft?

      Any guidance would be much appreciated!

      Sorry, I should have also said my mirror is running on a RPi 3b running Debian Jessie on a 16gb sd.

      posted in Utilities
      D
      dmwilsonkc
    • RE: Kalliope assistant + MM

      @sispheor @sdetweil Hey guys, thanks for your help! I got things working over the weekend.

      Here’s a short video.

      Cheers!

      posted in Fun & Games
      D
      dmwilsonkc
    • RE: Yet another AI for MagicMirror: This time it's Mycroft.

      @cowboysdude Yes! Once I get the code worked into a skill instead of the current hack. I will require installing Mycroft on the same pi/ or another pi on the same network. Could be used just about anywhere you can use Mycroft. I will keep the forum posted. I’m going to be out of town for the next week so… maybe in a couple of weeks.:slightly_smiling_face:

      posted in Show your Mirror
      D
      dmwilsonkc
    • RE: MMM-Assistant (updated) -- Your voice to the world!

      @richland007 If all you want to do is control the modules I would recommend using MMM-voice with the Hello-Lucy modifications. You may run into the same problem that I had though. Two services cannot use the same resource at the same time (microphone). In the end, I wrote a skill for Mycroft and just decided to use the open-source AI Mycroft to also control the mirror.

      Here’s a short video.

      Here’s a thread on the Mycroft forum that covers the history of how I got there.

      I have not used the MMM-assistant, but my guess is you will run into the same Error: Resource busy that I had with Mycroft and the MMM-voice module.

      I hope this post helps.

      posted in Utilities
      D
      dmwilsonkc
    • 1 / 1