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

mvrlogins

@mvrlogins

2
Reputation
369
Profile views
21
Posts
0
Followers
0
Following
Joined Mar 6, 2017, 12:42 PM
Last Online a day ago

mvrlogins Unfollow Follow

Best posts made by mvrlogins

  • Not a mirror - a 27" Dell Monitor on the wall in the kitchen

    I decided against the use of a reflective surface

    MM Screenshot.jpg
    Includes

    MMM-PIR-Sensor
    MMM-Nest
    MMM-Remote-Control
    MMM-Teslalogger
    worldclock
    MM-DarkSkyForecast
    iFrame

    3 iFrame modules to display Roon, the car location Map and the house power display

    These 3 use homemade Javascript modules to grab data from the Roon API, Teslamate and EmonCMS respectively

    posted in Show your Mirror
    M
    mvrlogins
    Nov 26, 2020, 3:00 PM

Latest posts made by mvrlogins

  • RE: MMM-pages - how to know which page index my module has?

    @sdetweil

    Thanks for your help with this, Much appreciated

    I’m now away from the mirror for the weekend. I’ll give it a shot when I return on Tuesday

    posted in Development
    M
    mvrlogins
    Feb 21, 2025, 6:31 AM
  • RE: MMM-pages - how to know which page index my module has?

    @sdetweil

    The video appears on both pages.

    The page with index 0 and the hidden page

    posted in Development
    M
    mvrlogins
    Feb 20, 2025, 5:33 PM
  • RE: MMM-pages - how to know which page index my module has?

    @sdetweil

    Yes, using your fork

    posted in Development
    M
    mvrlogins
    Feb 20, 2025, 5:11 PM
  • RE: MMM-pages - how to know which page index my module has?

    @evroom said in MMM-pages - how to know which page index my module has?:

    As a workaround, I will make it a requirement to put the MMM-Player on the first page (page index 0).
    When I receive 0, then I will start streaming, otherwise I will stop streaming.
    That seems to work.

    @sdetweil Maybe something to do with this?

    posted in Development
    M
    mvrlogins
    Feb 20, 2025, 5:06 PM
  • RE: MMM-pages - how to know which page index my module has?

    @sdetweil said in MMM-pages - how to know which page index my module has?:

    git clone https://github.com/sdetweil/MMM-MPlayer

    Did as you suggested

    The video appears only on page index 0 and not on the hidden page

    See the 2 video images on the attached screenshot - both are over the weather module

    The header for the MPlayer appears on the hidden page

    I can change to the hidden page with Remote Control, no problem

        {
            module: "MMM-pages",
            config: {
                rotationTime: 1000 * 86400, // rotate every 20 seconds
                modules: [
    	
                    ["page1"],           // class name for page 1
             //       ["page2"],           // class name for page 2
            //        ["page3"],           // class name for page 3
                ],
                fixed: ["fixed_page"],
                hiddenPages: {
                    "Doorbell": ["doorbell_page"],
               
                }
            }
        },
    
    {
    	module: 'MMM-MPlayer',
            classes: "doorbell_page",
            disabled: false,
            position: "top_left",
            header: "MPlayer",
    	config: {
    	  useTwoWindows: true,
    	  layout: 'column',
    	  monitorAspect: 0,
    	  rotate: -1,
    	  windowSize: { width: 640, height: 360 },
    	  windowPosition: { x: 5, y: 225 },
    	  streamInterval: 30000,
    	  streams: {
    		window1: [
    		  'rtsp://10.0.1.1:7447/gv9eHrB9yZyPhgvN',
    		],
    		window2: [
    		  'rtsp://10.0.1.1:7447/D89zTJyDwN8YtKix',
    		  
    		]
    	  }
    	}
    },
    

    ScreenFloat Shot of Preview at 20 Feb 2025 at 16_57_07.jpg

    posted in Development
    M
    mvrlogins
    Feb 20, 2025, 5:00 PM
  • RE: MMM-pages - how to know which page index my module has?

    @sdetweil said in MMM-pages - how to know which page index my module has?:

    @mvrlogins hm, that makes no sense as the MagicMirror operations are the same

    Maybe something to do with mplayer itself, not the module MMM-Mplayer?

    posted in Development
    M
    mvrlogins
    Feb 20, 2025, 4:52 PM
  • RE: MMM-pages - how to know which page index my module has?

    @sdetweil said in MMM-pages - how to know which page index my module has?:

    @mvrlogins i believe so. but you should have been able to send the notification for the named hidden page

    “SHOW_HIDDEN_PAGE”, “Doorbell”

    right?!

    Yes, the notification works fine.

    But mplayer does not show up on the hidden page, only on the main page

    posted in Development
    M
    mvrlogins
    Feb 20, 2025, 8:10 AM
  • RE: MMM-pages - how to know which page index my module has?

    Only thing I can think of right now is to put the video on page0 and the rest on page1

    and then use a combination of the PAGE_CHANGED and PAUSE_ROTATION notifications to get what I want

    Or is there a way to permanently pause rotation?

    Then I can only use the PAGE_CHANGED call to get to the page I want

    would the below disable rotation?

    rotationTime: 1000 * 0,

    posted in Development
    M
    mvrlogins
    Feb 19, 2025, 6:10 PM
  • RE: MMM-pages - how to know which page index my module has?

    @sdetweil

    I’m using MMM-Remote Control

    The issue is that the video is shown all the time on page0.

    I have 2 pages set up with MMM-Pages

    • 1 page to be shown all the time
    • 1 hidden page to be shown only when called.

    The video needs to be on the hidden page. If I put classes : “hidden_page” under MMM-Player, the video feed shows on the page0 regardless.

    The hidden page, when called, shows only the header fro MMM-Player and is otherwise blank

    The page calling works fine with MMM-RemoteControl

     {
            module: "MMM-pages",
            config: {
                rotationTime: 1000 * 20, // rotate every 20 seconds
                modules: [
                    ["page1"],           // class name for page 1
                ],
                fixed: ["fixed_page"],
                hiddenPages: {
                    "Doorbell": ["doorbell_page"],
               
                }
            }
        },
    
    

    and

    {
    	module: 'MMM-MPlayer',
            classes: "doorbell_page",
            disabled: false,
            position: "top_left",
            header: "MPlayer",
    	config: {
    	  useTwoWindows: true,
    	  layout: 'column',
    	  monitorAspect: 0,
    	  rotate: -1,
    	  windowSize: { width: 640, height: 480 },
    	  windowPosition: { x: 5, y: 225 },
    	  streamInterval: 30000,
    	  streams: {
    		window1: [
    		  'rtsp://10.0.1.1:7447/gv9eHrB9yZyPhgvN',
    		],
    		window2: [
    		  'rtsp://10.0.1.1:7447/D89zTJyDwN8YtKix',
    		  
    		]
    	  }
    	}
    },
    
    posted in Development
    M
    mvrlogins
    Feb 19, 2025, 6:01 PM
  • RE: MMM-pages - how to know which page index my module has?

    @evroom said in MMM-pages - how to know which page index my module has?:

    As a workaround, I will make it a requirement to put the MMM-Player on the first page (page index 0).
    When I receive 0, then I will start streaming, otherwise I will stop streaming.
    That seems to work.

    Hi

    Trying to use the mmm-mplayer module with mmm-pages, and it works fine, as you say, when the page index is 0.

    However, I’d like to use it to only show video when called via notification

    I have a single main page (without mplayer) - that shows all the time - and a single hidden page (with mplayer) to be shown when called via notification and then return the the main page with another notification.

    I can’t currently implement this. Any ideas?

    Thanks very much

    posted in Development
    M
    mvrlogins
    Feb 19, 2025, 4:16 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy