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

    Posts

    Recent Best Controversial
    • RE: Change default module width

      @eqpaisley Technically yes. This is my top bar.

      5283c134-5d40-4378-8e79-a20b29ba2145-image.png

      To do this I made the following changes.

      in custom.css:

      /* adjust modules to display side by side */
      .MMM-FlipClock, .MMM-Worldclock, .MMM-Multimonth {
      	display: inline-flex;
      }
      

      in config.js I found that I had to have the modules in the same order and next to each other to function:

      		{
      			module: 'MMM-FlipClock', // https://github.com/MarcLandis/MMM-FlipClock
      			position: 'top_bar',
      			config: {
      				seperator: ":",
      				dateFormat: "dddd - LL",
      				displaySeconds: true,
      			},
      		},
      		{
      			module: "MMM-Worldclock", // https://github.com/bkeyport/MMM-Worldclock
      			position: "top_bar",
      			config: {
      				offsetTimezone: "UTC",
      				style: "bottom",
      				clocks: [
      					{
      						title: "Eastern<br>",
      						timezone: "America/New_York",
      						timeFormat: "hh:mma[<br>]Do",
      					},
      					{
      						title: "Sydney, AU<br>",
      						timezone: "Australia/Sydney",
      						timeFormat: "hh:mma[<br>]Do",
      					},
      					{ 
      						title: "World<br>",
      						timezone: "UTC",
      						timeFormat: "HHmm[<br>]Do",
      					},
      				]
      			},
      		},
      		
      		{
       			module: "MMM-Multimonth", // https://github.com/BKeyport/MMM-Multimonth
      			position: "top_bar",
      			config: {
      				startMonth: -1, // Define when you start from current month (negative is before current, zero is current, positive is in future)
      				monthCount: 3, //  How many months to display
      				monthsVertical: false, // Whether to arrange the months vertically (true) or horizontally (false).
      				//repeatWeekdaysVertical: true, // Whether to repeat the week days in each month in vertical mode. Ignored in horizontal mode.
      				weekNumbers: false, // Whether to display the week numbers in front of each week.
      				highlightWeekend: false,
      				startWeek: 0,
      				otherMonths: true,
      			}
      		},
      
      posted in Troubleshooting
      BKeyportB
      BKeyport
    • Petition to get Sdetweil his own group tag....

      So, I’ve decided that we need to make @sdetweil his own group so that he can have a badge that serves him well… I propose “MM God” – whatcha all think?
      🤣🤣🤣

      Seriously though, I’m shocked he’s not carrying all the badges, I can’t think of anyone that is more involved with the project other than MichMich himself.

      posted in General Discussion
      BKeyportB
      BKeyport
    • RE: MMM-CalendarExt3Agenda

      So, here’s my final config in CSS -

      * CalendarExtende3 Agenda */
        
      .CX3A .event .description {
        display: none;
      }
      
      .CX3A .event .headline .symbol.noSymbol::after {
        content: '';
      }
      
      .CX3A .cellBody .fullday {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
      }
      
      .CX3A .cellBody .fullday .event {
        color: var(--calendarColor);
        background-color: gray;
        max-width: 100%;
        padding: 0px 0px;
      }
      
      .CX3A .cellBody .fullday .event .title {
        color: inherit;
        overflow: unset;
        white-space: unset;
        text-overflow: unset;
      }
      
      .CX3A .cellBody .fullday .event .headline :not(.title) {
        display: inline-block;
      }
      
      .CX3A .cellBody .fullday .event .headline .time {
        display: none;
       }
      
      .CX3A .event .time {
        width: 55px; /* adjust for your entire CSS harmony */ 
        text-align: right;
      }
      
      .CX3A .event .location {
        display: none;
      }
      
      .CX3A::after {
        height: 0;
      }
      

      Results in:

      7cdfcb3f-ce93-45c6-a1ab-a3a193bd954d-image.png

      posted in Utilities
      BKeyportB
      BKeyport
    • RE: Do you need to list moment and moment-timezone as dependencies in modules?

      @KristjanESPERANTO I’ve noticed that it seems that most of the functions of moment is in vanilla javascript - at least in what we typically use.

      posted in Development
      BKeyportB
      BKeyport
    • RE: Brand New Install works until I enable PM2 Autostart

      @sdetweil Sam: Just to let you know, if PM2 is not running any tasks, it won’t save with a plain pm2 save - you have to use pm2 save --force to clear the list after deleting everything.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: Rotating Display again..

      @n6ng are you using bullseye?

      cat /etc/os-release

      PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
      NAME="Raspbian GNU/Linux"
      VERSION_ID="11"
      VERSION="11 (bullseye)"
      VERSION_CODENAME=bullseye
      ID=raspbian
      ID_LIKE=debian
      HOME_URL="http://www.raspbian.org/"
      SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
      BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
      

      If so, there appears to be a bug with legacy rotation. sudo apt-get update && sudo apt-get upgrade and try again.

      They’ve done all sorts of major switching around with the new OS.

      posted in General Discussion
      BKeyportB
      BKeyport
    • RE: MMM-CalendarExt3Agenda

      @sdetweil Found it, ended up being a special char, likely a tab or something stupid. cut and paste saves the day.

      posted in Utilities
      BKeyportB
      BKeyport
    • RE: Dynamic Module Chaining

      @haji6 Every module that supports this SHOULD have documentation that shows how they talk to each other.

      Imagine a room full of people. In that room - only one person can speak at a time.

      Person A (Calendar) will yell out “I have an Event at 8:30 called Appointment” and write it on it’s part of the whiteboard (Might be nowhere). Then Person B will hear it and write it on a whiteboard where it’s told to for all to see.

      This is a simplified version of how the notification system works.

      My module (MMM-Multimonth) and others uses the above concept to display data. Why rewrite work when you can use what’s provided?

      posted in Development
      BKeyportB
      BKeyport
    • RE: How do I get Times for events that happen today instead of "in 3 hours"?

      looked back in my archives, and found it:

      // Force Absolute to Absolute all the time, michmich *really* hates solid dates, apparently. 
      timeformat: "absolute",
      getRelative: 0,
      urgency: 0,
      
      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: Rotating Display again..

      @sdetweil Right. Buster. My mind is a version behind. 🤣

      posted in General Discussion
      BKeyportB
      BKeyport
    • 1 / 1