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

    Posts

    Recent Best Controversial
    • RE: MMM-HomeAssistant-Sensors (Development) - Show your HA Sensors on your Mirror

      @Karlberg Hi, the module should be working. It sounds like you have something wrong with the token if HA reports failed logins…

      posted in Utilities
      SnilleS
      Snille
    • RE: MMM-Videoplayer - Play video files on your mirror

      Added a new function in v0.4. See first post…

      posted in Entertainment
      SnilleS
      Snille
    • RE: MMM-Videoplayer - Play video files on your mirror

      @BKeyport Oh! Good point! I’ll fix that. Thank you! :)

      posted in Entertainment
      SnilleS
      Snille
    • RE: MMM-Videoplayer - Play video files on your mirror

      @feigi Yes, as @sdetweil said, I’m not using a “node_helper” at all. It’s not needed for the player. It looks like it’s loading as it should. If you don’t see the video, try putting it in another region just to see if it plays. I have only tested the player on my mirror (Ubuntu server with XFCE desktop on a Intel NUC machine) and on a Ubuntu server (running in a container (LXC) then accessing the mirror from a Windows 10 machine in Chrome). And both of them are working… But I can imagine that the RPi may struggle…

      posted in Entertainment
      SnilleS
      Snille
    • RE: MMM-Videoplayer - Play video files on your mirror

      @dherl0623 Hm… I’m using the player in the region “fullscreen_below”. I have this player first in the config of all things that “can” show in the same region (that way it will always end up above the other things in the same region):

      {
      	disabled: false,
      	module: 'MMM-Videoplayer',
      	position: "fullscreen_below",
      	classes: "scheduler turn90",
      	config: {
      		random: true,
      		loop: true,
      		notification: "VIDEOPLAYER1",
      		videolist: ["http://your.site.com/video/clip1.mp4", 
      					"http://your.site.com/video/clip1.mp4", 
      					"http://your.site.com/video/clip2.mp4", 
      					"http://your.site.com/video/clip3.mp4", 
      					"http://your.site.com/video/clip4.mp4", 
      					"http://your.site.com/video/clip5.mp4", 
      					"http://your.site.com/video/clip6.mp4", 
      					"http://your.site.com/video/clip7.mp4", 
      					"http://your.site.com/video/clip8.mp4", 
      					"http://your.site.com/video/clip9.mp4", 
      					"http://your.site.com/video/clip10.mp4", 
      					"http://your.site.com/video/clip11.mp4"],
      		module_schedule: [
      			{from: '0 6 31 9 *', to: '5 6 31 9 *'},
      			{from: '2 7 31 9 *', to: '7 7 31 9 *'},
      			{from: '4 8 31 9 *', to: '9 8 31 9 *'},
      			{from: '6 9 31 9 *', to: '11 9 31 9 *'},
      			{from: '8 10 31 9 *', to: '13 10 31 9 *'},
      			{from: '10 11 31 9 *', to: '15 11 31 9 *'},
      			{from: '12 12 31 9 *', to: '17 12 31 9 *'},
      			{from: '14 13 31 9 *', to: '19 13 31 9 *'},
      			{from: '16 14 31 9 *', to: '21 14 31 9 *'},
      			{from: '18 15 31 9 *', to: '23 15 31 9 *'},
      			{from: '20 16 31 9 *', to: '25 16 31 9 *'},
      			{from: '22 17 31 9 *', to: '27 17 31 9 *'},
      			{from: '24 18 31 9 *', to: '29 18 31 9 *'},
      			{from: '26 19 31 9 *', to: '31 19 31 9 *'},
      			{from: '28 20 31 9 *', to: '33 20 31 9 *'},
      			{from: '30 21 31 9 *', to: '35 21 31 9 *'},
      			{from: '32 22 31 9 *', to: '37 22 31 9 *'},
      			{from: '34 23 31 9 *', to: '39 23 31 9 *'},
      		]
      	}
      },
      

      Then I have set the “classes” on this player to “scheduler turn90”, the first class is for the MMM-ModuleScheduler to work and the second is for the player to be turned 90 degrees and set to full screen.
      My CSS entry for this player looks like this:

      /* MMM-Videoplayer ----------------------------------*/
      .MMM-Videoplayer video {
          width: 1080px;
          height: 1920px;
      }
      
      .turn90 video {
          position: absolute;
          transform:rotate(90deg);
          transform-origin: bottom left;
          width: 100vh;
          height: 100vw;
          margin-top: -100vw;
          object-fit: cover;
      }
      /*****************************************************/
      

      That’s it. :)

      posted in Entertainment
      SnilleS
      Snille
    • RE: MMM-Videoplayer - Play video files on your mirror

      @dherl0623 Thank you! :) I’m going to use it soon to play spooky stuff from AtmosFX on Halloween, It’s going to be timed with module scheduler over whole day. Suddenly a ghost appear in the background… :)

      posted in Entertainment
      SnilleS
      Snille
    • RE: MMM-Videoplayer - Play video files on your mirror

      Added some new stuff again in v0.3. See first post…

      posted in Entertainment
      SnilleS
      Snille
    • RE: MMM-Videoplayer - Play video files on your mirror

      Added some new stuff in v0.2. See first post… :)

      posted in Entertainment
      SnilleS
      Snille
    • RE: Basic Text on Magic Mirror

      Hi!
      Try one of these:
      https://github.com/SaltyRiver/MMM-SimpleText
      https://github.com/martinmeinke/MMM-display-text-file
      https://github.com/SkogDev/MMM-Text

      Depending on how you want it… :)

      posted in General Discussion
      SnilleS
      Snille
    • RE: MMM-Videoplayer - Play video files on your mirror

      @feigi Hmm… I found that I had forgotten a comma in the example configs… But It looks like you have that comma in your config. I tried it on a “clean” install (on both development and master branch) and with your config and it works. What does the log say? (pm2 log).

      posted in Entertainment
      SnilleS
      Snille
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 26
    • 27
    • 6 / 27