MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. strawberry 3.141
    3. Best
    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: My Mirror - Pre-Final

      @FlorianRD really nice and clean build

      posted in Show your Mirror
      strawberry 3.141S
      strawberry 3.141
    • RE: Asus Tinker Board

      @Sean would be interesting to see the performance of cpu intensive tasks like offline voice recognition and face recognition and so on

      posted in Hardware
      strawberry 3.141S
      strawberry 3.141
    • RE: Tutorials or Overview for Module Dev?

      here is the documentation https://github.com/MichMich/MagicMirror/tree/master/modules

      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: NFL Score Module

      @Shawnsully can you post your config file

      posted in Sport
      strawberry 3.141S
      strawberry 3.141
    • RE: help with MovieInfo module

      @vicdilou

      {
          module: 'MMM-MovieInfo',
          position: 'top_right',
          config: {
              api_key: "PUTYOURAPIKEYINHERE"
          }
      }
      
      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: work in progress

      @cornusandu if you just turn off the electricity is not that good for the hardware in terms durability, but if you create a shut down routine e.g. 5min before, than it should be fine.

      posted in Show your Mirror
      strawberry 3.141S
      strawberry 3.141
    • RE: New Raspberry Pi 3+

      It’s only a minor upgrade to the 3, stuff like this I would expect for a major upgrade in a pi 4

      posted in Hardware
      strawberry 3.141S
      strawberry 3.141
    • RE: New Modul should react by more than one Hotword message (modul Voicecontrol/Hotword detection)

      @gismo2006 look out for the else if statement http://www.w3schools.com/js/js_if_else.asp

      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: NFL Score Module

      [card:fewieden/MMM-NFL]

      Changelog:

      Removed network column due to it’s not longer provided through the API
      Implemented voice commands to show passing, rushing, receiving, tackles, sacks and interceptions statistics
      Color and Logo type are also changeable through voice commands on the fly

      alt text

      posted in Sport
      strawberry 3.141S
      strawberry 3.141
    • RE: help with MovieInfo module

      It’s fixed now, was some date manipulation

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: Project overview - 09.02.2018 - revisited

      @schlachtkreuzer6 I was a bit shocked by the amount of cables :D

      posted in Show your Mirror
      strawberry 3.141S
      strawberry 3.141
    • RE: Survey: Decreased interest in my mirrors

      I think here in this forum most of the people are only active as long as they have a problem or question. As soon as the mirror is up and running the users disappear again. The users that stay active, mostly have a mirror already, so they also don’t fit in your range of customers.

      MagicMirror is also not the only project of it’s kind, so it’s probably worth it to post also in other forums about your product.

      I also remember that you planned once, to create a dedicated online shop for it, which in my opinion would also be more profitable for you, as a lot of people google for mirror shops and don’t look up the forum if someone is selling it there. With seo you can also attract more people that way.

      posted in Hardware
      strawberry 3.141S
      strawberry 3.141
    • RE: My first module

      @gismo2006 no worries, if you come up with more questions don’t hesitate to ask

      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: NFL Score Module

      Changelog:

      • Handling Bye Week for focus_on teams

      alt text

      [card:fewieden/MMM-NFL]

      posted in Sport
      strawberry 3.141S
      strawberry 3.141
    • RE: There is an error in my config file and I'm a newbie and do not know how to fix. Please Help

      @mclemens7 it’s like writing a shopping list

      you don’t write eggs cake fruits, but you do eggs, cake, fruits

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: Total Newbie 24" MagicMirror (Munich, Germany)

      @thedoorsfanatic Looks nice and clean. Good job on the build.

      Greetings from Munich

      posted in Show your Mirror
      strawberry 3.141S
      strawberry 3.141
    • RE: Email

      multiple adresses are currently not possible

      posted in Productivity
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-PIR - off delay

      @JamesMM

      1. If the pir watcher detects a change it will run the specified callback from line 55. https://github.com/paviro/MMM-PIR-Sensor/blob/master/node_helper.js#L55

      2. If you want to debug the node_helper put console.log(“message”) at the position you want and you will see the message in the terminal.

      3. If you change the config in the node_helper, you have to send the changes also to the main module by sending a socketnotification, as you did from the main loop to the node_helper.

      4. If you define a callback with function(){…} you switch the scope, so the reference of this is the callback and not longer the node_helper itself, that’s why the author saved this into the variable self upfront. I would personally define a callback as big arrow function () => {…}, the advantage of this is you will stay in the same scope and wouldn’t need a redundant variable.

      And I assume you want to use a timeout instead of an interval.

      this.pir.watch(function(err, value) {
              if (value == 1) {
                clearTimeout(self.timer);
                self.sendSocketNotification("USER_PRESENCE", true);
                if (self.config.powerSaving){
                  self.activateMonitor();
                }
               }
              else if (value == 0) {
                self.timer = setTimeout(function(){
                    self.sendSocketNotification("USER_PRESENCE", false);
                    if (self.config.powerSaving){
                      self.deactivateMonitor();
                    }
                }, self.config.offDelay);
              }
      });
      
      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: NFL Score Module

      Changelog:

      • possible fix for starting times of matches in london

      [card:fewieden/MMM-NFL]

      posted in Sport
      strawberry 3.141S
      strawberry 3.141
    • RE: Trying to add a background picture, {Body} doesnt work

      @oscarkindberg did you place the paper.gif file in the css directory?

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