MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. mmmmh
    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 60
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: MMM-CalendarExt2

      @Sean
      Thanks for the constructive help. I was already using different positions. Stacking within the same position doesn’t really work:

      0_1574324822509_9fd17df8-d8a1-407c-9e9d-d93bade0fbe1-image.png

      Slot limiting (and two different positions) seems to be (closer to) what I want to accomplish:

      0_1574324906605_13d706dd-b35c-4e7c-8e2e-5920cbbd2b88-image.png

      Another workaround would probably be to work with separate instances of the module.

      posted in Utilities
      M
      mmmmh
    • RE: MMM-CalendarExt2

      @Sean said in MMM-CalendarExt2:

      @mmmmh
      can u tell me more details? even picture would be a help to understand your expect.

      Here’s an example (I disabled other modules).

      0_1574320720537_013b7d8a-aaaf-4511-bdf7-33935942e3f8-image.png

      posted in Utilities
      M
      mmmmh
    • RE: MMM-CalendarExt2

      @Sean That works nicely for skipping days without events, thanks.

      What can I do about the overlap of the content. I can’t limit the view height in the config file or in the class style.

      posted in Utilities
      M
      mmmmh
    • RE: MMM-CalendarExt2

      I have two views in one scene and need some layout/styling help. One row view shows the next 7 days and a column should show as many events as possible from 8 days onwards (a preview). For more precise placement, I created my own regions and added them to the index.html template.

      The next-7-days daily view is at the bottom of the screen and behaves nicely. The preview column is in the center of the screen and regrettably runs over the next-7-days view.

      In a daily column view, how can I skip days without events?

      Which style element do I need to modify in custom.css to have the column content to stop at precise coordinates and not spill over other modules?

      I tried limiting the region either with a bottom-margin or height value, both do not apply.

      Here’s the style that doesn’t work

      .region .preview {
          border: 1px #831e4d solid;
          position: absolute;
          left: 480px;
          width: 400px;
          top: 390px;
          height: 550px;
      }
      
      posted in Utilities
      M
      mmmmh
    • RE: Big 'core' file (1.3G)

      Thanks for the quick reply. I looked at the file details and the creation date. It’s from a while back and knowing now that its a core dump I’ll delete it.

      posted in Troubleshooting
      M
      mmmmh
    • Big 'core' file (1.3G)

      Why is this file so big? Can it be pruned?

      $ ls -hs MagicMirror/core
      1.3G MagicMirror/core
      
      posted in Troubleshooting
      M
      mmmmh
    • Official RPI Touchscreen, control screen blanking without disabling it

      The official Raspberry Pi touchscreen activates a screensaver without documented settings. The screen wakes up when touched. Generally, I would like to keep it that way but I also want to be able to wake up the screen programmatically. If possible, I would also like to tweak the activation time.

      I know how to turn the backlight on and off and how to dim the screen but does anyone know how to manage this screensaver?

      posted in Hardware
      M
      mmmmh
    • RE: Notification from iFrame? (MMM-Glance and ...?)

      OK, for posterity, here’s what I did.

      I used MMM-Remote-Control and created a button element that calls a function that issues a get request. Interestingly, when I put the URL in the button code the request was rejected (no cross-origin request allowed) but when after I put the URL in the function it worked.

      function toggleCal() {
                  var myUrl = "http://mypi.local:8080/remote?action=TOGGLE&module=MMM-CalendarExt";
                  console.log("getting " + myUrl)
                  var xmlHttp = new XMLHttpRequest();
                  xmlHttp.open("GET", myUrl, false); // false for synchronous request
                  xmlHttp.send(null);
                  return xmlHttp.responseText;
              };
      

      The button code gets mangled here. I had to add spaces

      < button onclick="toggleCal()">Calender on/off< /button>
      
      posted in Requests
      M
      mmmmh
    • RE: Notification from iFrame? (MMM-Glance and ...?)

      @sdetweil Thanks for the feedback. I thought so. I guess I’ll cook something up with MMM-Remote-Control.

      posted in Requests
      M
      mmmmh
    • Notification from iFrame? (MMM-Glance and ...?)

      I have a web page with some button elements. The web page is shown via MMM-iFrameReload. How can I generate a notification from that web page? I would like to use MMM-Glance to temporarily hide another module.

      posted in Requests
      M
      mmmmh
    • 1 / 1