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

    Posts

    Recent Best Controversial
    • RE: VoiceControl module

      @claudia first thing first. Did you made a snowboy word ? then did you put the file in your MagicMirror folder ? Then did you put it in your configuration (you should probably delete their example since they didn’t provide the file to go with it. inside the config from the voicecontrol.js too).
      Then when you say the word, is the module picking it up and send the associate notification ?
      You can know if the notification is sended by runing the mirror in dev mode so you can see the console and use some module to print the notification they receive (I think some default module do it already).

      When you got this part to work, you can proceed to the next step, which is catch the notification in the Iframe module

      posted in Utilities
      romainR
      romain
    • RE: Button / modul

      How did you add your button ? if you added it by using the document.createElement(“button”) from a js file, I beleive you can use the following syntax to add an action to it

      var newButton = document.createElement("button");
      
      newButton.addEventListener("click", function (event) {
         //your instructions here      
       });
      

      But in order to press it, I guess you would have to show your mouse right ? or maybe you have a touchscreen.

      posted in Troubleshooting
      romainR
      romain
    • RE: MM does not boot when starting my raspberry

      @asquelo You need to follow the following instruction: Auto Starting MagicMirror

      posted in Troubleshooting
      romainR
      romain
    • RE: Is there a way to show specific compliments on specific dates?

      @CyanKali Great =D . I guess that for some reason your moment.js doesn’t print the same thing as mine x) (which is kinda weird but fine)

      posted in Troubleshooting
      romainR
      romain
    • RE: VoiceControl module

      The code look’s fine to me at first glance. (You don’t need to have the { keyword: "gotosleep", // keyword description: "Go To Sleep", file: "GoToSleep.pmdl", // trained model file name message: "gotosleep" // notification message that's broadcast in the MagicMirror app }, in both config file and the voice controle.js at the same time though. But that’s not an issue.)

      Maybe try to add a position for the voicecontrol module just to be sure the module itself doesn’t crash (If you add a position it should print the description of the words on screen. If nothing appear it probably mean something went wrong.)
      If nothing wrong and the cd ~/MagicMirror/ ; DISPLAY=:0 npm start dev didnt show an error, maybe the issue is with your mic configuration. If the module dosn’t hear you it might not work.

      Add a Log.log("Helloworld1 received " + notification); before the if in the helloword1.js . SO you print every single notification you receive and maybe add a Log in the socketNotificationReceive of voicecontrol.js to see if it spot your keywords at all.

      also, do you use your microphone with this module only or with multiple application ? Because by default, I think, a microphone can only be open by one thing at the time. So try toclose every application that use your microphone and run the mirror. If the that’s work you might to configure your microphone so it can be open in multiple application

      posted in Utilities
      romainR
      romain
    • RE: 3 different Alexa modules, which one is the best?

      @borrigan It happen to me as well. MMM-alexa seem a little faster but it’s a pain to use so I rather wait few second for an answer

      posted in General Discussion
      romainR
      romain
    • RE: Is there a way to show specific compliments on specific dates?

      @CyanKali I live in french so it should be pretty much the same date. Try debugging.
      add the following line just before the if
      console.log('The date is : "' + moment().format('MMM D , h:mm a')+'"')
      Then run the mirror in dev mode . (go into the MagicMirror folder and run DISPLAY=:0 npm start dev) choose the tab “console”. And wait to see the message “the date is blablabla” apear and copy past the message here so we know what your magic mirror think the date is. Maybe it think your on the united state or something
      If that the case I don’t know how to tell moments to check the date from another country. you might want to change the function then.

      Search “how to get the date from a specific country in jacascript” on google and you might find the right function to do it.
      The only thing you have to know is that the " == " mean “equal”. The if mean that if the left part of the operation is equal to the right part, then you do the line bellow.
      So you need to replace the moment thing by another function.

      Maybe someone in this forum now how to tell moment the timezone it have to use

      posted in Troubleshooting
      romainR
      romain
    • RE: 3 different Alexa modules, which one is the best?

      @borrigan you’r welcom =)

      posted in General Discussion
      romainR
      romain
    • RE: npm start error?

      @longod I’m using the v7.9.0 . try to install an higher version of node

      posted in Troubleshooting
      romainR
      romain
    • RE: npm start error?

      @longod what is your version of node ? node --version

      posted in Troubleshooting
      romainR
      romain
    • 1 / 1