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

    Posts

    Recent Best Controversial
    • RE: Library error after full reinstallation (full version Raspbian and MagicMirror version 2.5.0)

      @jevanha Getting the same error on my second MM, haven’t fiddled around with it much yet though. Will let you know when I have looked at it. 😄

      posted in Troubleshooting
      M
      mdhenriksen
    • RE: Survey: Decreased interest in my mirrors

      Maybe due to systems like Amazon Echo and Google Home. They are very affordable and have integrated screens that can do pretty much the same as the Magic Mirrors. Sure Magic Mirrors might look better, but they are harder to maintain and limited of you can’t do upgrades to them yourself. 🤔

      posted in Hardware
      M
      mdhenriksen
    • RE: First time build, looking for suggestions, tips, and hardware recomendations.

      @j33p4meplz As far as on/off functions go, I think turning it on and off by voice is preferred in most cases. It’s really easy to do with MMM-voice, and then it won’t turn on everytime you walk past it ;-)

      posted in Hardware
      M
      mdhenriksen
    • RE: 24 Hour clock problem

      Hey Rasmus! Have you restarted MM after changing the config? Also is it on purpose you have changed the symbol to “min kalender”?

      posted in Bug Hunt
      M
      mdhenriksen
    • RE: MagicMirror Ideas for Retail Application

      @solelo Maybe some photo rotation of items you sell? Or something humorous that make customers remember your store?

      posted in General Discussion
      M
      mdhenriksen
    • RE: Little voice testing.....

      @dazza120 Then it’s probably because it doesn’t load in properly. Why don’t you just let it be active on all pages? You can just make the module invisible if you don’t like the icon and text being there.

      posted in Show your Mirror
      M
      mdhenriksen
    • RE: MMM-voice & MMM-pages integration

      @xclasher-0 What is it you want to hide? 😄

      posted in Troubleshooting
      M
      mdhenriksen
    • RE: Turn monitor on/off with MMM-voice

      SOLVED

      This is not really a solution, but my error was that I was logged in on “Ubuntu on Wayland” which doesn’t have DPMS.

      On the login screen of Ubuntu you can click the little gear-icon and choose what kind of Ubuntu you want to login to. Wayland is a bit restricted, so just go with “Ubuntu” and not “Ubuntu on Wayland”

      posted in Troubleshooting
      M
      mdhenriksen
    • RE: Hello-Lucy

      @xclasher-0 said in Hello-Lucy:

      The modules I have included in the MMM-voice pages does not hide when I go to the specific page of the MMM-pages where the MMM-voice is. Any idea how i can hide the modules?

      Hey there! I’m not 100% what you mean, but you can easily hide modules in MMM-pages. The ones that keep showing up might be in your “exclude” section of MMM-pages in your config.js. Anything in “exclude” will show up on every page you have, so you have to remove the modules from that.

      posted in Fun & Games
      M
      mdhenriksen
    • RE: Little voice testing.....

      @dazza120 Hey Dazza! I’ve encountered the “ERROR” message with MMM-voice a couple of times as well. I’m not sure what’s going on in your case, but I’ve noticed two things:

      1. The voice recognition still works (at least for me). You just have to say your keyword (Magic Mirror) and the ERROR message will disappear and you will be able to use it as normal.

      2. For me it happens when I close down the window for Magic Mirror without closing the terminal connected to it. Then it will re-open with the error - Probably because it doesn’t get to load in properly.

      posted in Show your Mirror
      M
      mdhenriksen
    • RE: Turn monitor on/off with MMM-voice

      @sean Yeah, I’m trying to look into that right now, but without much luck at the moment :D

      posted in Troubleshooting
      M
      mdhenriksen
    • RE: Turn monitor on/off with MMM-voice

      @sean Hey again Sean,

      So here’s the output of xset -q:

      I noticed the following: Server does not have the DPMS Extension :expressionless_face: Figured that’s why it’s not working. So I’m not sure about this whole DPMS thing. Is it an extension I can install or is it something native to a computer, e.g. hardware?

      Keyboard Control:
        auto repeat:  on    key click percent:  0    LED mask:  00000000
        XKB indicators:
          00: Caps Lock:   off    01: Num Lock:    off    02: Scroll Lock: off
          03: Compose:     off    04: Kana:        off    05: Sleep:       off
          06: Suspend:     off    07: Mute:        off    08: Misc:        off
          09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
          12: Group 2:     off    13: Mouse Keys:  off
        auto repeat delay:  500    repeat rate:  33
        auto repeating keys:  00ffffffdffffbbf
                              fadfffefffedffff
                              9fffffffffffffff
                              fff7ffffffffffff
        bell percent:  50    bell pitch:  400    bell duration:  100
      Pointer Control:
        acceleration:  2/1    threshold:  4
      Screen Saver:
        prefer blanking:  yes    allow exposures:  yes
        timeout:  0    cycle:  0
      Colors:
        default colormap:  0x23    BlackPixel:  0x0    WhitePixel:  0xffffff
      Font Path:
        /usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins
      DPMS (Energy Star):
        Server does not have the DPMS Extension
      
      posted in Troubleshooting
      M
      mdhenriksen
    • RE: Turn monitor on/off with MMM-voice

      @sean So you’re saying there might be a setting that allows for the DPMS being turned on and off, right?

      posted in Troubleshooting
      M
      mdhenriksen
    • RE: Turn monitor on/off with MMM-voice

      @sean said in Turn monitor on/off with MMM-voice:

      @mdhenriksen
      Your laptop works with xset dpms force off on a shell? See your energy-saving setting in your environment.

      Hey Sean! I’m on Ubuntu 18.10, so I guess it should work. I’m pretty sure Mykle1 is on Ubuntu 16.04.

      As far as I know there is no energy-saving settings really. Could you elaborate you answer maybe? :D

      posted in Troubleshooting
      M
      mdhenriksen
    • Turn monitor on/off with MMM-voice

      Re: Want to turn off my monitor

      Hey guys! I’ve been reading some old threads and trying to make my monitor turn off and on with a voice command via MMM-voice.

      I’m NOT using a Pi, but a laptop. I’ve tried @Mykle1’s following commands: (from Hello-Lucy - which works)

      exec('xset dpms force off', null);
      exec('xset dpms force on', null);
      

      I’ve implemented the code in the node_helper.js that executes a command when a voice command is detected:

      } else if (/(CUSTOM)/g.test(data)) {
      	    exec('xset dpms force off', null);
                  this.sendSocketNotification('CUSTOM');
      

      The above code is executed when my mirror register the word “custom”.

      this.sendSocketNotification(‘CUSTOM’); is there just so I can see if the command is recognized.

      Problem: As it is right now, I can see that my mirror registers and executes the this.sendSocketNotification(‘CUSTOM’); however the exec(‘xset dpms force off’, null); does nothing. Any ideas?

      Thanks in advance!

      posted in Troubleshooting
      M
      mdhenriksen
    • RE: Default weather module refactoring

      @strawberry-3-141 Amazing! I couldn’t find my home town with openweather, so I had to switch even though I liked the GUI better in the original one! Will check it out tomorrow for sure!

      posted in Upcoming Features
      M
      mdhenriksen
    • RE: Hello-Lucy

      @dazza120 It’s the small things that make the difference :grinning_face_with_smiling_eyes:

      posted in Fun & Games
      M
      mdhenriksen
    • RE: My Magic Mirror, Melbourne Australia

      Nice work! Looks really good!

      posted in Show your Mirror
      M
      mdhenriksen
    • RE: Hello-Lucy

      @dazza120 said in Hello-Lucy:

      @mdhenriksen works a treat but I don’t know how to make a third page. Not sure what I’ll put on it? But I’m sure I’ll find something to install if I figure out how to add more pages it’s stuck on two at the mo 😢

      Hey Dazza!

      It’s pretty easy actually. Now first you should install MMM-page-indicator as well. That makes it easier to see what page you are on.

      Making several pages:

      {
             module: 'MMM-pages',
             config: {
             modules:
                         	[[ "weatherforecast", "newsfeed", "compliments"],
                           	[ "calendar", "compliments", "calendar2"], ["MMM-CalendarWeek"]],
                      	excludes: ["clock", "currentweather", "MMM-page-indicator", "MMM-voice"],
              	}
          		},
      

      The pages are made in an 2D-array, which is basically a line of elements separated by the brackets “[” and “]”.

      Your array starts at the double bracket, “[[” right before “weatherforecast” and ends at the “]]” right after “MMM-CalendarWeek”. Inside the array the pages are separated by one bracket.

      So this is a page: (remember the comma at the end)

      [ "weatherforecast", "newsfeed", "compliments"],         
      

      And this is a page:

      [ "calendar", "compliments", "calendar2"],
      

      And lastly this is a page as well:

      ["MMM-CalendarWeek"]
      

      Remember that the array is zero-based which means that the first page will be number 0. The second will be number 1 and the third will be number 2.

      Hope it helps! :grinning_face_with_smiling_eyes:

      posted in Fun & Games
      M
      mdhenriksen
    • RE: Hello-Lucy

      @mykle1 You’re right, guess I was too fast ;-)

      posted in Fun & Games
      M
      mdhenriksen
    • 1 / 1