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

    Posts

    Recent Best Controversial
    • RE: Blu tooth on Pi 3

      Sorry I didn’t use Bluetooth. But there is an other module which displayed information about new calls, email, SMS, Facebook, what’s app. … I used it too. It works great. Maybe it will something for you. The module use phuchbellet. Look for “phone notification”

      Greets gismo

      posted in Requests
      G
      gismo2006
    • RE: [Remote-Control] Shutdown, Configure and Update your MagicMirror

      @Jopyth Don’t worry, no more questions. ;-) I like only to say thank you :-)

      posted in System
      G
      gismo2006
    • RE: My first module

      Thank you I have looked in the notification Node_helper.js code which was posted in the Voicecontrol post from @tyho. And it works now fine. Now I can learning something new. To grow up my modul and finding a really reason for my module :-D

      But I like to say Thank you. You helped me a lot. :-)

      greets gismo

      posted in Development
      G
      gismo2006
    • RE: My first module

      Ok, Thank you for your help. I will try myself to go this next step…

      posted in Development
      G
      gismo2006
    • RE: My first module

      Ok I will do what you say.

      Ok I have done

      I have found the Problem. the dev consoles says

      Sounds.js:15 Uncaught ReferenceError: exec is not defined.

      Can i delete the word exec? But I think I have to use it to run the script, right?

      greets gismo

      posted in Development
      G
      gismo2006
    • RE: My first module

      @strawberry-3-141 Thank you for your help. but it didn’t change anything. The problem is the same. Everythink started fine but they didn’t play the Sounds.sh…

      posted in Development
      G
      gismo2006
    • My first module

      Hi guys,

      I like to write my first modul. Its a fun modul and didn’t have a reason for anyone. I like to learn to write a module. So I can leaerning a lot I think.

      I have create a folder in modules. Called Sounds I have put it into the config file andy the Mirror stats correctly Juhuuuu! :-) First step reached. :-D But now the Problem… Th module didn’t work. For a first test the only think the modul should do is react on a Message which is send by the Voicecontrolmodul by @alexyak. I have creste for this test a new Hotword calles test. I copy the pmdl file and paste the rigt things into my config file. So far, so good. I think the Problem was the Sounds.js file in my own modul folder Sounds. OHH, before I forget. The Sounds.sh skript is only a shell script and worked fine too. I habe write chmod +x Sounds.sh to create a runable file.

      Here the code, maybe someone can look a this and whre my misstake is :-)

      /* global Module */

      /* Magic Mirror

      • Module: HelloWorld
      • By Michael Teeuw http://michaelteeuw.nl
      • MIT Licensed.
        */

      Module.register(“Sounds”,{

      notificationReceived: function(notification, payload, sender) {
          if (notification === "test"){ 
              exec("sudo /home/pi/MagicMirror/modules/Sounds/Sounds.sh")
      }; 
      
      // Override dom generator.
      getDom: function() {
      	var wrapper = document.createElement("div");
      	wrapper.innerHTML = this.config.text;
      	return wrapper;
      }
      

      });

      greets gismo

      posted in Development
      G
      gismo2006
    • New Modul should react by more than one Hotword message (modul Voicecontrol/Hotword detection)

      Hi,

      I have a little question.

      If you use @alexyak Voice modul whit using snowboy Hotword detection, you have to put a message which will send tot other modules, if a Hotword will detected. Like Play, Stop or whatever.

      In the readme file is written:

                          keyword: "playMusic",   // keyword 
                          description: "Say 'Play Music' to start playing",
                          file: "playMusic.pmdl", // trained model file name
                          message: "PLAY_MUSIC"   // notification message that's broadcast in the MagicMirror app
      

      Now I like to code my first module for learning, just a fun modul. And for my Idea it is recommend that my module hear of the message from any hotword. Now my Problem how I write this in module code? For one hotword message I can for example write (copied from the Voicecontrol post by @tyho ):

      if (notification === ‘go_to_sleep’){
      exec(“sudo /home/pi/aus.sh”, null);

      But for more than one? Have I to use “,” or “&&” or only a space between the Messages?

      Maybe someone can help me

      greets gismo

      posted in Development
      G
      gismo2006
    • RE: Th old Magic Mirror project

      @strawberry-3-141

      Thank you. i looked today on MichMichs Github page but I can’t found it… :-D

      greets gismo

      posted in General Discussion
      G
      gismo2006
    • Th old Magic Mirror project

      Hi,

      i didn’t know where I have to post this, so I post here. I like to ask, is anywhere a webpage or a githubpage or something else about the first Magic Mirror project?

      greets gismo

      posted in General Discussion
      G
      gismo2006
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 6 / 10