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

    Posts

    Recent Best Controversial
    • RE: How can I inject some CSS styles in a block of text in Javascript so I can differentiate two different blocks of text

      @mediathreat you have different possibilities, e.g.

      add a class

      in your td tag add a class attribute class='MyFancyTitle', the forum don't want to render it. Then in your css you can style this class
      

      or add inline styling

      in your td tag add a style attribute style='font-weight: bold'
      
      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-voice

      @dogfeet try to set some logs, to see if you get the desired data or not,

      notificationReceived: function (notification, payload, sender) {
          console.log(notification, payload)
      

      then see if you get notification === "VOICE_HOW DO" and the payload contains look

      posted in Utilities
      strawberry 3.141S
      strawberry 3.141
    • RE: Attempt to Rebuild MMM-Slack with media handling, includes dont seem to load

      @mediathreat dou you have it in your local node_modules folder?

      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: Attempt to Rebuild MMM-Slack with media handling, includes dont seem to load

      @mediathreat just from looking at the code there is something missing (this should result in an error)

      rtm.on('message', function(message) {
        this.sendSocketNotifcation('SLACK_DATA' , message);
      });
      
        this.sendSocketNotifcation('SLACK_DATA' , event);
      });
      

      it should be, look at slack event and use arrow functions to keep your scope to be able to call the notification method

      rtm.on('message', (message) => {
        this.sendSocketNotifcation('SLACK_DATA' , message);
      });
      rtm.on('slack_event', (event) => {
        this.sendSocketNotifcation('SLACK_DATA' , event);
      });
      
      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-voice setup but MagicMirror wont display

      @shazglass maybe you want to explain here what solved your issue, so people that experience the same issue can see the solution :)

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-voice setup but MagicMirror wont display

      @shazglass

      {
        module: 'MMM-voice',
        position: 'bottom_bar',
        config: {
          microphone: 1,
          debug: true
        }
      },
      

      post your error and debug log, it’s huge so maybe on pastebin

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-voice setup but MagicMirror wont display

      @shazglass There is a error log in the module. Also there is a hidden debug option for for informations debug: true

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: Valentine's Day on your MagicMirror

      @TS77UK you could do that with the mmm-modulescheduler

      posted in Fun & Games
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-voice

      @cyberphox never put it on an ubuntu machine @cowboysdude and @Mykle1 did, maybe they can assist you here.

      If the error log is empty, you can also set debug: true in the config and check the debug log file

      posted in Utilities
      strawberry 3.141S
      strawberry 3.141
    • RE: How to update the master branch?

      if you are using mm as supposed to you only need to backup the config.js and custom.css

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: Can i search for my own created Topics?

      @cruunnerr hmm i can see it on my profile, i just replaced it with your user name

      posted in Forum
      strawberry 3.141S
      strawberry 3.141
    • RE: Can i search for my own created Topics?

      @cruunnerr here you go https://forum.magicmirror.builders/user/cruunnerr/topics

      posted in Forum
      strawberry 3.141S
      strawberry 3.141
    • RE: Changing units from 'metric' to 'imperial' breaks currentweather module

      @dplawrance its fixed on the develop branch

      https://github.com/MichMich/MagicMirror/commit/10eb41d31943a4495bf4c4674d52d0b9631a7446

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-voice

      @dogfeet cannot tell if it is an easy task for you, it depends on your knowledge about JS and MagicMirror

      I assume you read the documentation here

      1. in your compliments module you need to register your commands
      2. then you need to check for your command
      notificationReceived: function (notification, payload, sender) {
          // 1. register module
          if(notification === "ALL_MODULES_STARTED"){
              this.sendNotification("REGISTER_VOICE_MODULE", {
                  mode: "HOW DO",
                  sentences: [
                      "I LOOK"
                  ]
              });
          }
      
          // 2. react on command
          if(notification === "VOICE_HOW DO" && sender.name === "MMM-voice"){
              if(/(LOOK)/g.test(payload)){
                  // unhide the module,
                  // set a 10 sec timeout
                  // hide your module
              }
          }
      }
      

      That’s all you need to connect your module to MMM-voice. Now you have to implement the comments

      posted in Utilities
      strawberry 3.141S
      strawberry 3.141
    • RE: default newsfeed and prohibitedWords

      @twosquirrels it has to be an array, see the documentation

      {
                      module: "newsfeed",
                      position: "bottom_bar",
                      config: {
                              prohibitedWords: ['trump'],
                              feeds: [
                                      {
                                              title: "New York Times",
                                              url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml",
                                      },
                                      {
                                              title: "The Verge",
                                              url: "https://www.theverge.com/rss/index.xml",
                                      },
                              ],
                      }
              },
      
      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: Looking for Beta-testers!

      @justjim1220 did you clone or downloaded magicmirror?

      posted in MagicMirror
      strawberry 3.141S
      strawberry 3.141
    • RE: [German only] Umfrage zu Smart Mirror Systemen

      done! :)

      posted in General Discussion
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-Api - port specifics

      @chef it is the same port your magicmirror is running on, it’s only extending the server from magicmirror not setting up a new one

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: Separate Date from Time?

      @KairosZenith defaultmodules are also listed in this file https://github.com/MichMich/MagicMirror/blob/master/modules/default/defaultmodules.js, but i wouldn’t add your new one here, as it will give you problms in the future on updates, especially as there is ongoing work on a new default module.

      You rather take your dateclock out of the default directory and place it in the directory where all the 3rd party modules are.

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      @fabbr it doesn’t work out of the box, what you could do however is a workaround described in here https://forum.magicmirror.builders/post/19432

      posted in Sport
      strawberry 3.141S
      strawberry 3.141
    • 1 / 1