MagicMirror² v2.5.0 is available! For more information about this release, check out this topic.

MMM-NFL


  • Module Developer

    Hi,

    I took and old laptop and installed MM on it today. It’s not going to be a mirror. It’s going to be a gift to my son-in-law who is an avid NFL football fan and he is totally into Fantasy Football as well. So, the only module running will be MMM-NFL (for now) and I have a question or two (for now). I already installed the module and it seems fine showing the last games of the post-season 2016 and the final of the SuperBowl.

    Do I have to install MMM-voice in order to show the windows below? Or is there a way to have multiple windows open without voice commands? For example, I’d like to have all the statistics windows open at the same time. If MMM-voice has to be installed then I hope the laptop microphone will work.
    0_1488423632327_example_statistic.jpg

    0_1488423648790_example_help.jpg

    Thank you for any help you can give me



  • @Mykle1 without any modifications this is only possible with mmm-voice


  • Module Developer

    @strawberry-3.141 said in MMM-NFL:

    without any modifications this is only possible with mmm-voice

    Ok, then I will give MMM-voice a try. Thanks


  • Module Developer

    @strawberry-3.141

    MM shows a little white microphone in the bottom left of the screen with the word ERROR next to it

    run bash dependencies.sh in ~/MagicMirror/modules/MMM-voice/installers directory, to install all dependencies.

    This command would not work for me on the laptop so I manually installed these dependencies in the /MagicMirror/modules/MMM-voice/installers directory:
    SphinxBase ✔
    PocketSphinx ✔
    A microphone - I tested the microphone of the laptop and it is working. I recorded a test file. ✔
    npm - already installed ✔
    PocketSphinx-continuous ✔
    lmtool ✔

    Do I have to also install these? If so, how would I find them? Google search?

    Packages: bison libasound2-dev autoconf automake libtool python-dev swig python-pip

    microphone REQUIRED Id of microphone shown in the installer.

    I did not see and Id for the microphone.


  • Module Developer

    @strawberry-3.141

    This was in my terminal when I closed MM

    MMM-voice: Checking files.
    MMM-voice: Generating dictionairy and language model.
    MMM-voice: Saved words.json successfully.
    MMM-voice: Starting pocketsphinx.
    (node:1892) DeprecationWarning: Calling an asynchronous function without callbac
    k is deprecated.
    (node:1892) DeprecationWarning: Calling an asynchronous function without callbac
    k is deprecated.
    (node:1892) DeprecationWarning: Calling an asynchronous function without callbac
    k is deprecated.
    (node:1892) DeprecationWarning: Calling an asynchronous function without callbac
    k is deprecated.
    (node:1892) DeprecationWarning: Calling an asynchronous function without callbac
    k is deprecated.
    (node:1892) DeprecationWarning: Calling an asynchronous function without callbac
    k is deprecated.



  • @Mykle1 never tried to install it on a non linux system


  • Module Developer

    @strawberry-3.141 said in MMM-NFL:

    never tried to install it on a non linux system

    Ok,then lets start off simply, if you don’t mind

    Are these part of the dependencies installed by the bash command?
    Packages: bison libasound2-dev autoconf automake libtool python-dev swig python-pip



  • @Mykle1 yes it’s the first step in the installer, when I remember correctly (half a year ago) those were needed to install pocketsphinx and sphinxbase


  • Module Developer

    @strawberry-3.141 said in MMM-NFL:

    yes it’s the first step in the installer, when I remember correctly (half a year ago) those were needed to install pocketsphinx and sphinxbase

    Ok, then theoretically, I should be able to find and install each one individually in the /MagicMirror/modules/MMM-voice/installers directory. I will follow the order of the installations from the dependencies.sh file.

    The problem is with sudo (I think) based on this:

    [STEP 1/6] Installing Packages
    dependencies.sh: line 36: sudo: command not found
    [STEP 1/6] Installing Packages | Failed
    
    Pop@Pop-CQ57-Laptop MINGW32 ~/MagicMirror/modules/MMM-voice/installers (master)
    

    Anyway, I’ll keep trying


  • Module Developer

    Oh well, I don’t think this is gonna happen. The libasound2-dev file, from what I can tell, is designed for the ALSA sound component that the Pi uses. My poor son-in-law. He doesn’t get a MMM-NFL laptop.