MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. mvrlogins
    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 0
    • Topics 9
    • Posts 35
    • Groups 0

    Posts

    Recent Best Controversial
    • 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
    • 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
    • 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
    • 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
    • change pages using webhook (POST or GET)?

      I have MMM-pages setup with 2 pages

      1 page shows all the time.

      I’d like to show the second page only when called using a HTTP POST or GET from another device. (doorbell camera video , when someone rings the doorbell)

      And then only show page 2 for a short, fixed amount of time before reverting back to page 1

      Any help/suggestions will be most gratefully received.

      Thanks

      posted in Troubleshooting
      M
      mvrlogins
    • RE: 4k Dashboard

      @N6NG

      Sorry for the late reply - missed your post

      Following is my calendar config in config.sys

            module: 'calendar',
            position: 'top_right',
            header: 'CALENDAR',
            config: {
             
              maximumEntries: 21,
              maxTitleLength: 25,
              fade: false,
              displaySymbol: false,
              timeFormat: 'relative',
              nextDaysRelative: true,
              dateFormat: 'ddd MMM DD HH:mm',
              fullDayEventDateFormat: 'ddd MMM DD',
              calendars: [
                {
               
                  symbol: 'home',
                  url: 'webcal://p49-caldav.icloud.com/published/2/abcdefghijkl......mnopqrs',
                  maximumEntries: 19
                },
      
      

      Hope that helps

      posted in Show your Mirror
      M
      mvrlogins
    • RE: Monitor not awaking from sleep

      @sdetweil said in Monitor not awaking from sleep:

      @mvrlogins I had a display like that, if no input, it would turn off, even if I was hiding modules.

      I had to make a change to one of my modules to wake up mm for 1 second every 14 minutes to keep it from going into shutdown

      May I ask how you did that?

      Thanks

      posted in Troubleshooting
      M
      mvrlogins
    • Monitor not awaking from sleep

      I’m running a RPi4 with the latest MM release and using MMM-Screen-Powersave-Notification and MMM-GPIO-Notifications along with a motion sensor.

       {                   
      	module: 'MMM-Screen-Powersave-Notification',
      	config: {                 
              delay: 60
      	}
          },
      
      
          { 
      	module: 'MMM-GPIO-Notifications',
      	config: {
      	    '4': {
      		    gpio_state: 1,
      		    gpio_debounce: 0,
                  delay: 30000,
      		    notifications: [
      		        { 
      				    notification: 'SCREEN_ON', 
      		            payload: { 'forced': false }
      		        },
                      {
      
                      }
      		    ]
      	    }
      	}
          },
      

      I had this setup on a Dell monitor and it worked perfectly.

      I just installed a new monitor - a Lenovo Thinkvision P32p-20

      After starting the sensor works as it’s supposed to, waking the monitor when someone passes by and sleeping after 60 seconds of inactivity.

      But after a while, the monitor does not wake from sleep. The MM instance is running fine (I can look at the dispaly from a remote browser).

      The monitor is in powersave mode (amber LED)

      The only way to wake the monitor is to touch a button on the monitor’s control panel.

      The monitor has no configuration options for powersave or sleep.

      Any suggestions on how to fix this?

      posted in Troubleshooting
      M
      mvrlogins
    • RE: 4k Dashboard

      @python

      I have a Model X and also use Teslamate

      I’ve incorporated that into my mirror as below:

      alt text

      Using this module -
      https://github.com/spitzlbergerj/MMM-TeslaLogger

      And a little node script within an iframe to get the map

      posted in Show your Mirror
      M
      mvrlogins
    • RE: How to show actual times for todays events?

      @sdetweil

      Thanks

      I couldn’t see any options either - but this chap seems to have managed something like it

      https://forum.magicmirror.builders/topic/16139/4th-magic-mirror-complete

      posted in Troubleshooting
      M
      mvrlogins
    • RE: 4th Magic Mirror Complete!

      @sifuhall

      Looks great.

      Any chance you could post the options you’ve used for the calendar module?

      I’m trying to get the same date/time display as you

      see here for my question - https://forum.magicmirror.builders/topic/16171/how-to-show-actual-times-for-todays-events

      posted in Show your Mirror
      M
      mvrlogins
    • How to show actual times for todays events?

      The current options for the default calendar module are as follows

      module: 'calendar',
            position: 'top_right',
            header: 'CALENDAR',
            config: {
              timeFormat: 'absolute',
              maximumEntries: 21,
              maxTitleLength: 25,
              getRelative: 0,
              urgency: 1,
              nextDaysRelative: false,
              fade: false,
              displaySymbol: false,
              dateFormat: 'ddd MMM DD HH:mm',
              calendars: [
                {
      

      For today’s events the calendar shows times as “In 2 hours” or “In 45 Minutes” or “In a day”

      If I change “urgency” to 0 It shows the dates in full, but, I’d like to show today’s entry as “Today hh:mm” / “Tomorrow hh:mm” or just show “hh:mm” without the date for today

      How do I go about this? Is it even possible?

      Thanks

      posted in Troubleshooting
      M
      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
    • Module to display Tesla car information

      Tesla have an API for their cars - can be used to access info about the car and to set/start functions in the car.

      Here is a thorough description of the what the API can do - https://timdorr.docs.apiary.io/#
      My programming skills are not good enought to write a module to use that APi to display information about the car.

      A module that displayed lock status, location, charge level, location… would be very nice.

      I presume it would be quite trivial for a good programmer. The Nest API used for the NEST module seems quite similar.

      Cheers

      posted in Requests
      M
      mvrlogins
    • MMM-Traffic not hiding itself out of hours

      Hello,

      I’ve got it working fine, except for the part where it is supposed to hide during off hours (hideOffHours config). It doesn’t. It shows with a “–” for the time for the drive outside the start and end hours.

      Config is as follows.

       {
          module: 'MMM-Traffic',
          position: 'bottom_bar',
          classes: 'dimmed medium', 
          config: {
              api_key: 'xxxxxxxxxxxx',
              mode: 'driving',
              origin: 'xxxxxx',
              destination: 'xxxxx',
              route_name: 'Home to  office',
              prependText: 'Current drive time to  office is',
              changeColor: true,
              limitYellow: 5, //Greater than 5% of journey time due to traffic
              limitRed: 20, //Greater than 20% of journey time due to traffic
              interval: 120000, //2 minutes
              showWeekend: false,
              allTime: false,
              startHr: 6,
              endHr: 10,
              hideOffHours: true
          }
      

      Thanks for any help

      posted in Troubleshooting
      M
      mvrlogins
    • 1 / 1